I'm trying to incorporate a status check on any/all NFS mounts on my system into a script. Is there a simple command that does this? I tried Google-ing up an answer but found nothing helpful. I suck. Anyone have any ideas?
Quote:I'm trying to incorporate a status check on any/all NFS mounts on my system into a script. Is there a simple command that does this? I tried Google-ing up an answer but found nothing helpful. I suck. Anyone have any ideas?
at work... (sol systems).. i simply do a quick check on these services
Code:
pgrep portmap
pgrep rpc.statd
pgrep nfsd
pgrep rpc.mounted
pgrep rpc.rquotad
pgrep lockd
rpcinfo
if they aint running somethings wrong... although i aint sure what linux uses.. never bothered with nfs mounts in my home net..