> > I think we will be changing that, and there already is a program to display
> > this stuff, the performance copilot at http://oss.sgi.com/projects/pcp/
> > the Irix version can understand all these numbers, hooking up the linux
> > one should not be too hard.
> We'll do this today & I'll send mail to linux-xfs@oss and pcp@oss
> once we have an updated pcp rpm (I'm not sure how long that process
> takes though).
> Mark's (markgw) comments on file format etc (having done all the
> existing pcp metrics which come from /proc on Linux) are that the
> interface should be ascii-only - he suggests using /proc/stat as
> a reference.
> My 2c on the file name - I prefer /proc/fs/xfs/stat for both
> consistency with nfs (/proc/fs/nfs/* subdir) and the option to
> add new files to the subdir later, and the "stat" file name for
> consistency with most of the other statistics files in procfs.
I have a change to checkin shortly, changes the path to:
The 'stats' file is easy on the eyes, the 'stats.raw' is simple, easy
to grok ascii, i.e:
one per line..
Was able to do this by using the same read routine with just a few
more 'if's thrown in..