Operating System - HP-UX
1834608 Members
3323 Online
110069 Solutions
New Discussion

Monitoring NFS exported fs

 
SOLVED
Go to solution
thewho?
Frequent Advisor

Monitoring NFS exported fs

Hello,
N4000, 11.0
We're exporting several fs (-anon) and I'd like to know id there is a way to monitor who is mounting these dirs on their PCs. showmount shows the mounted files as (anon).
We're migrating to Samba and like to turn off NFS.
Thanks,
Luis
We'll get through this together.
5 REPLIES 5
harry d brown jr
Honored Contributor

Re: Monitoring NFS exported fs

Luis,

get "lsof":

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.55/

live free or die
harry
Live Free or Die
Eric Ladner
Trusted Contributor

Re: Monitoring NFS exported fs

That depot won't work on a 64 bit system (it didn't work for me anyway). I had to grab the source and compile it myself.

Get the latest source from:

ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/
harry d brown jr
Honored Contributor
Solution

Re: Monitoring NFS exported fs

I loaded it just fine on my 11i machines. And we have it running on all of our 10.20 and 11.00/32&64 machines.

live free or die
harry
Live Free or Die
harry d brown jr
Honored Contributor

Re: Monitoring NFS exported fs

I loaded it just fine on my 11i machines. And we have it installed and running on all of our 10.20 and 11.00/32&64 machines.

live free or die
harry
Live Free or Die
thewho?
Frequent Advisor

Re: Monitoring NFS exported fs

Thanks for the replies. I downloaded the depot for lsof and it didn't work on mine (I have 64-bit too). Got the following error when trying to run lsof:

lsof: FATAL: lsof was built for a 32 bit kernel, but this
is a 64 bit kernel.

WIll compile the source code . Thanks.
Luis
We'll get through this together.