nfsstat v4 layout
Subsystems (2)
I made a patch to nfsstat to display v4 stats. I am having a problem with some of the names being so long setclientid_confirm for instance.
Is the format below too confusing? Anyone have a better idea?
Client nfs v4:
null read write commit open *_confirm 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% *_noattr *_downgrade close setattr fsinfo renew 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% setclientid *_confirm lock lockt locku access 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% getattr lookup lookup_root remove rename link 0 0% 0 0% 0 0% 0 0% 0 0% 0 0% symlink create pathconf statfs readlink readdir 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
server_caps delegreturn
0 0% 0 0%
Allen Morris <[email protected]>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 7 lines · G. Allen Morris III
I made a patch to nfsstat to display v4 stats. I am having a problem with some of the names being so long
setclientid_confirmfor instance.Is the format below too confusing? Anyone have a better idea?
I increased the count to `-8d' and the rows are now 76 charaters wide. To make them wider I would think about reducing to 5 columns or making it dynamic (like ls).
I also changed the v4 names to abbreviations.
Allen
--
Server packet stats:
packets udp tcp tcpconn 0 3727 0 0
Server rpc stats:
calls badcalls badauth badclnt xdrcall 3730 0 0 0 0
Server reply cache:
hits misses nocache 0 0 3730
Server file handle cache:
lookup anon ncachedir ncachedir stale 0 0 0 0 1242
Server nfs v2:
null getattr setattr root lookup readlink
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
read wrcache write create remove rename
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
link symlink mkdir rmdir readdir fsstat
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
Server nfs v3:
null getattr setattr lookup access readlink
1 0% 0 0% 0 0% 0 0% 0 0% 0 0%
read write create mkdir symlink mknod
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
remove rmdir rename link readdir readdirplus
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
fsstat fsinfo pathconf commit
3729 99% 0 0% 0 0% 0 0%
Server nfs v4:
null compound
0 0% 0 0%
Client packet stats:
packets udp tcp tcpconn 0 0 0 0
Client rpc stats:
calls retrans authrefrsh 2 0 0
Client nfs v2:
null getattr setattr root lookup readlink
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
read wrcache write create remove rename
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
link symlink mkdir rmdir readdir fsstat
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
Client nfs v3:
null getattr setattr lookup access readlink
0 0% 1 50% 0 0% 0 0% 0 0% 0 0%
read write create mkdir symlink mknod
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
remove rmdir rename link readdir readdirplus
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
fsstat fsinfo pathconf commit
0 0% 1 50% 0 0% 0 0%
Client nfs v4:
null read write commit open open_conf
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%open_noat open_dgrd close setattr fsinfo renew
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
setclntid confirm lock lockt locku access
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
getattr lookup lookup_root remove rename link
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
symlink create pathconf statfs readlink readdir
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%server_caps delegreturn
0 0% 0 0%
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs