Difference between revisions of "Sar"

From wiki
Jump to navigation Jump to search
 
Line 2: Line 2:
 
Performance measurement tool together with [[sa]] an [[acct]]  
 
Performance measurement tool together with [[sa]] an [[acct]]  
  
;sar -b 10 -f <location of sa-file>
+
;sar -b 10  
:Show the IO statistics from the sa-file. If the file is omitted the measurement will be real-time
+
:Show the current IO statistics with 10 seconds interval
;sar -d 10 -f <location of sa-file>
+
;sar -b -f <location of sa-file>
 +
:Show the IO statistics from the sa-file. If the file is omitted the last file (today) will be used
 +
 
 +
;sar -d  
 
:Statistics per block device
 
:Statistics per block device
 
+
;sar -u  
;sar -u 10 -f <location of sa-file>
 
 
:CPU statistics
 
:CPU statistics
 
+
;sar -r
;sar -r 10 -f <location of sa-file>
 
 
:Memory utilization  
 
:Memory utilization  
;sar -B 10 -f <location of sa-file>
+
;sar -B
 
:Paging (swapping) activity  
 
:Paging (swapping) activity  
;sar -S 10 -f <location of sa-file>
+
;sar -S
 
:Swap space utilization
 
:Swap space utilization

Latest revision as of 09:25, 31 March 2022

Performance measurement tool together with sa an acct

sar -b 10
Show the current IO statistics with 10 seconds interval
sar -b -f <location of sa-file>
Show the IO statistics from the sa-file. If the file is omitted the last file (today) will be used
sar -d
Statistics per block device
sar -u
CPU statistics
sar -r
Memory utilization
sar -B
Paging (swapping) activity
sar -S
Swap space utilization