Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display statistics for mounted filesystems #191

Open
gitqlt opened this issue Dec 7, 2019 · 3 comments
Open

Display statistics for mounted filesystems #191

gitqlt opened this issue Dec 7, 2019 · 3 comments

Comments

@gitqlt
Copy link

gitqlt commented Dec 7, 2019

Using sar -F (sadc option -S XDISK) we can get filesystem usage statistics. It would be nice to graph them too. Many thanks.

@Pitterling
Copy link
Collaborator

It seems data is already parsed, but there is no graph definition

<Stat name="misci_mountedfs">
   <headerstr>MBfsfree MBfsused %fsused %ufsused Ifree Iused %Iused FILESYSTEM</headerstr>
   <graphname>IGNORE</graphname>
</Stat>

I have never seen output for this and doubt this would be really meaningful to plot a graph over time.
Nevertheless, please provide some ouput ..

thx

@gitqlt
Copy link
Author

gitqlt commented Dec 10, 2019

sar -F | head produces this output:

Linux 5.0.0-37-generic (workstation01)  12/10/2019  _x86_64_    (2 CPU)

12:00:01 AM  MBfsfree  MBfsused   %fsused  %ufsused     Ifree     Iused    %Iused FILESYSTEM
12:05:01 AM      5492      2507     31.34     36.66    493580     30708      5.86 /dev/sda5
12:05:01 AM      3364     12699     79.06     84.26    687301    361275     34.45 /dev/sda6
12:05:01 AM     63827    311522     83.00     88.08  24001704    418648      1.71 /dev/mapper/home
12:05:01 AM     28397      3729     11.61     16.76   2052540     44612      2.13 /dev/sda7
12:05:01 AM      8045        18      0.22      5.30    524259        29      0.01 /dev/mapper/vtmp
12:05:01 AM     11287      4775     29.73     34.93   1046667      1909      0.18 /dev/sda8
12:05:01 AM     16083        44      0.27      5.35   1048532        44      0.00 /dev/mapper/tmp

The daily graphics can occasionally be useful. This is for example a normal daily chart, produced by rrdtool. Conversely, if an anomaly occurs during the day (for example, when a new software version begins to occupy disk space), the onset and expiration of the anomaly can help locate the root-cause. rrdtool or any other monitoring do not always work. sadc monitoring however is active all the time, on all our systems.
dailyFS

@Pitterling
Copy link
Collaborator

Problem: FILESYSTEM is last column instead of first column. kSAR expects the instance as first column after date/time ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants