tubs agent "little bug" scotty-2.0.2

Serge ROBINSON (serge@hugo.int-evry.fr)
Thu, 18 Jul 1996 11:47:32 +0200 (MET DST)

Hello,

I don't know if it has been fixed in tubs agent 2.1.0 but I've changed
a litte bit my tubs.tcl 2.0.2 in order to make the nfsstat agent work
on Solaris2.4 and solaris2.5

1) nfsstat in under /usr/bin/nfsstat on Solaris2.x

2) nfsstat outputs are different

SunOS4.1.x and Solaris2.3 nfsstat -cn output:
Client nfs:
calls badcalls nclget nclsleep
16429425 6 16429592 0
null getattr setattr root lookup readlink read
0 0% 2183075 13% 83396 0% 0 0% 10393285 63% 1269822 7% 124394 0%
wrcache write create remove rename link symlink
0 0% 132800 0% 15397 0% 5684 0% 2070 0% 402 0% 46 0%
mkdir rmdir readdir fsstat
288 0% 442 0% 2137599 13% 80725 0%

Solaris2.4 nfsstat -cn output:
Client nfs:
calls badcalls clgets cltoomany
112574 627 112574 0
Version 2: (110497 calls)
null getattr setattr root lookup readlink read
0 0% 35318 31% 1178 1% 0 0% 49744 45% 1317 1% 13399 12%
wrcache write create remove rename link symlink
0 0% 4550 4% 898 0% 793 0% 804 0% 14 0% 6 0%
mkdir rmdir readdir statfs
7 0% 0 0% 1776 1% 693 0%

Solaris2.5 nfsstat -cn output:
Client nfs:
calls badcalls clgets cltoomany
112574 627 112574 0
Version 2: (110497 calls)
null getattr setattr root lookup readlink read
0 0% 35318 31% 1178 1% 0 0% 49744 45% 1317 1% 13399 12%
wrcache write create remove rename link symlink
0 0% 4550 4% 898 0% 793 0% 804 0% 14 0% 6 0%
mkdir rmdir readdir statfs
7 0% 0 0% 1776 1% 693 0%
Version 3: (0 calls)
null getattr setattr lookup access readlink read
0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
write create mkdir symlink mknod remove rmdir
0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
rename link readdir readdir+ fsstat fsinfo pathconf
0 0% 0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
commit
0 0%

I decided that my Solaris2.5 machine use NFS version 2

I can send my tubs.tcl if could help...

Serge.