[Lustre-discuss] lustre dstat plugin

Kilian CAVALOTTI kilian at stanford.edu
Fri Mar 7 15:58:37 PST 2008


Hi Brock,

On Wednesday 05 March 2008 05:21:51 pm Brock Palen wrote:
> I have wrote a lustre dstat plugin.  You can find it on my blog:

That's cool! Very useful for my daily work, thanks!

> It only works on clients, and has not been tested on multiple mounts,
> Its very simple just reads /proc/

It indeed doesn't read stats for multiple mounts. I slightly modified it 
so it can display read/write numbers for all the mounts it founds (see 
the attached patch).

Here's a typical output for a rsync transfer from scrath to home:

-- 8< ---------------------------------------------------------------
$ dstat -M lustre

Module dstat_lustre is still experimental.
--scratch-------home---
 read write: read write
 110M    0 :   0   110M
 183M    0 :   0   183M
 184M    0 :   0   184M
-- 8< ---------------------------------------------------------------

Maybe it could be useful to also add the other metrics from the stat 
file, but I'm not sure which ones would be the more relevant. And it 
would probably be wise to do that in a separate module, like 
lustre_stats, to avoid clutter.

Anyway, great job, and thanks for sharing it!
Cheers,
-- 
Kilian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dstat_lustre.diff
Type: text/x-diff
Size: 1844 bytes
Desc: not available
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20080307/3fcd0167/attachment.diff>


More information about the lustre-discuss mailing list