Operating System - HP-UX
1829068 Members
2637 Online
109986 Solutions
New Discussion

How to check which client is using the nfsktcpd or nfsd?

 
Erich Z
Occasional Advisor

How to check which client is using the nfsktcpd or nfsd?

Hello,
For samba I use /opt/samba/smbstatus -S | grep PID and I know who is consuming my cpu power.

How can I do this with nfskcpd or nfsd?

during the last weeks I often had performance Problems and all my CPU were used by the nfsktpcd and the nfsd processes.
[HP-UX11.11 L1000 Server]
thx for your help
mfg Erich
Alle Problem sind loesbar
3 REPLIES 3
RAC_1
Honored Contributor

Re: How to check which client is using the nfsktcpd or nfsd?

Just doing a glance/top and looking at nfs processes will tell you how they are using the CPU.

For NFS, always mkae sure that you are up to date on patches.

There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: How to check which client is using the nfsktcpd or nfsd?

There is a nfsstat command, perhaps that will provide you with some information.

You will need to write a custom script to actually get anything useful out of there.

see nfsstat -c

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Erich Z
Occasional Advisor

Re: How to check which client is using the nfsktcpd or nfsd?

Hi
thanks.
With top I saw the problem.
I read Mr. Olkers nfs "book" and found nfsstat -s, but I found no other usefull options for me.
Maybe my nfsstat -s is telling you more than me:
no badcalls and only Version 3 entries:
Version 3: (35503683 calls)
null getattr setattr
650 0% 5531650 15% 106439 0%
lookup access readlink
14421119 40% 870798 2% 27596 0%
read write create
11085075 31% 2723049 7% 21010 0%
mkdir symlink mknod
374 0% 62 0% 0 0%
remove rmdir rename
20463 0% 167 0% 13083 0%
link readdir readdir+
2871 0% 1230 0% 565846 1%
fsstat fsinfo pathconf
17206 0% 597 0% 426 0%
commit
93972 0%

Uptime 6 days. Is this excessive - are there any eye catching differences? (I have only one Server - I cant match [Patch level HP recomended last year, got support]).

thx
mfg Erich

Alle Problem sind loesbar