Editing Sar -F

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{lowercase}}
 
 
Display [[filesystems usage]] statistics for currently mounted filesystems. Pseudo-filesystems are ignored. At the end of the report, sar will display a summary of all those filesystems.  Use of the MOUNT parameter  keyword  indicates  that mountpoint will be reported instead of filesystem device.  Note that filesystems statistics depend on sadc option -S XDISK to be collected.
 
Display [[filesystems usage]] statistics for currently mounted filesystems. Pseudo-filesystems are ignored. At the end of the report, sar will display a summary of all those filesystems.  Use of the MOUNT parameter  keyword  indicates  that mountpoint will be reported instead of filesystem device.  Note that filesystems statistics depend on sadc option -S XDISK to be collected.
  
Line 6: Line 5:
 
* <code>[[for i in]] `ls /var/log/sysstat/sa??`; do sar -f $i -F --human; done</code>
 
* <code>[[for i in]] `ls /var/log/sysstat/sa??`; do sar -f $i -F --human; done</code>
  
Usage filesystem <code>[[/dev/root]]</code> at the end of the day:
 
for i in `ls [[/var/log/sysstat/]]sa??`; do echo "DAY:$i"; sar -f $i -F --human; done | egrep "/dev/root|DAY" | awk '{print $1" "$3}' | egrep "DAY|00:10"
 
  
  
 
+
To activate it: <code>sadc</code> option in <code>[[/etc/sysstat/sysstat]]</code> <code>-S [[XDISK]]</code> or <code>-S XALL</code> activated.
To activate it: <code>[[sadc]]</code> option in <code>[[/etc/sysstat/sysstat]]</code> <code>[[-S]] [[XDISK]]</code> or <code>-S [[XALL]]</code> activated.
 
  
 
  [[Filesystems]] statistics, disk and [[inodes]] usage
 
  [[Filesystems]] statistics, disk and [[inodes]] usage
Line 37: Line 33:
  
 
  sar -F
 
  sar -F
  [[Requested activities not available in file]] /var/log/sysstat/sa16
+
  Requested activities not available in file /var/log/sysstat/sa16
 
 
Solution: configure disk collection <code>-S [[XDISK]]</code> information in <code>[[/etc/sysstat/sysstat]]</code>
 
  
  
Line 48: Line 42:
 
* <code>[[docker system df]]</code>
 
* <code>[[docker system df]]</code>
 
* <code>[[sar -d]]</code> [[disk activity]]
 
* <code>[[sar -d]]</code> [[disk activity]]
* <code>[[df -kh]]</code>
 
* <code>[[/var/log/sysstat/]]</code>
 
* [[Prometheus node exporter]]: <code>[[--collector.diskstats]]</code>
 
* [[Ubuntu]]: [[/etc/sysstat/sysstat]]
 
* [[Amazon Linux]]: [[/etc/sysconfig/sysstat]]
 
  
 
== See also ==
 
== See also ==

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page:

Advertising: