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.
 
 
* <code>sar -F</code>
 
* <code>sar -F --human</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.
 
 
[[Filesystems]] statistics, disk and [[inodes]] usage
 
 
 
  Linux 4.15.0-74-generic (gitlab-runner-2) 01/19/2020 _x86_64_ (4 CPU)
 
  Linux 4.15.0-74-generic (gitlab-runner-2) 01/19/2020 _x86_64_ (4 CPU)
  
Line 27: Line 11:
 
  Summary:        10276    90003    89.75    94.87  4456522  2097078    32.00 /dev/vdb1
 
  Summary:        10276    90003    89.75    94.87  4456522  2097078    32.00 /dev/vdb1
  
              %fsused
 
                    Percentage of filesystem space used, as seen by a [[privileged]] user.
 
 
              %ufsused
 
                    Percentage of filesystem space used, as seen by an unprivileged user.
 
 
 
 
 
sar -F
 
[[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>
 
  
  
 
== Related terms ==
 
== Related terms ==
* <code>/usr/lib/sysstat/[[debian-sa1]]</code>
 
 
* <code>[[journalctl --disk-usage]]</code>
 
* <code>[[journalctl --disk-usage]]</code>
* [[No space left on device]]
 
* <code>[[docker system df]]</code>
 
* <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: