This gives NFS calls - anyone know anything that counts lock/unlock calls too?
Regards,
Edward Hibbert Internet Applications Group Data Connection Ltd Tel: +44 131 662 1212 Fax: +44 131 662 1345 Email: eh@dataconnection.com Web: http://www.dataconnection.com
-----Original Message----- From: Steve Losen [mailto:scl@sasha.acc.virginia.edu] Sent: Monday, June 09, 2003 1:00 PM To: Brian Tao Cc: toasters@mathworks.com Subject: Re: NFS/snapshot activity log
You can use nfsstat like this:
options nfs.per_client_stats.enable on nfsstat -z
This causes the filer to accumulate per client nfs statistics and nfsstat -z zeroes all counters. Now let the filer run for a little while and run
nfsstat -l
This will give you a summary of total nfs ops by each client since the nfsstat -z. This will allow you to determine which clients are "hot".
To see detailed counts for a particular client, use
nfsstat -h hostname
This will show if the client is doing any writes. You still won't know which files are being written, though.
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support
Using SNMP you can get all kinds of stats on reads/writes/creates/renames/ mkdirs/rmdirs/symlinks etc. Not sure if there's one in there for locks or not.
Frank
--On Monday, June 09, 2003 13:40:12 +0100 Edward Hibbert EH@dataconnection.com wrote:
-- Frank Smith fsmith@hoovers.com Systems Administrator Voice: 512-374-4673 Hoover's Online Fax: 512-374-4501