Sponsored Content
Top Forums Shell Programming and Scripting how to check that nfsmounted filesystem on nfsclient is accessible or not Post 302331925 by vbe on Tuesday 7th of July 2009 02:10:02 PM
Old 07-07-2009
man nfsstat
 

10 More Discussions You Might Find Interesting

1. AIX

Creating a shell script to check filesystem space

I need to create a simple shell script to check filesystems space in a file system called "/arch_nb" then based on the percentage use either run another script or exit. I was thinking of something simple along the lines of: df -k | then some action to pipe for percentage used ...place... (10 Replies)
Discussion started by: heprox
10 Replies

2. Shell Programming and Scripting

Urgent:FileSystem Check Script

This script monitors a FileSystem named /Monthly and send a page; works great but I need to monitor /Daily/All ....Im getting Syntax Error MSG=`df -Ik|awk '$6~/Monthly$/{gsub("%"," "); if ($5>20){print "FS:Monthly filesystem is "$5"%"}}'` if then echo $MSG | mail 2149724690@mobilecomm.net... (1 Reply)
Discussion started by: Openware
1 Replies

3. Solaris

Unable to check / filesystem

Hi buddies, I have T1000 and Solaris 10 installed on it. After a power failure system shut down improperly. Error Message is WARNING - Unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c0t0d0s0). Jul 18 10:16:09 svc.startd:... (6 Replies)
Discussion started by: ahsen
6 Replies

4. Solaris

Check if an application is accessible when trying to use http://localhost in Unix

Hm am the perfect newbie:o I handle an application on a production servers having a SunOS 5.8 and iplanet webserver instance. Users trying to access it on https are getting "Cannot find the server". I checked with the n/w and secuirty and they said traffic is allowed to the server. Everything... (6 Replies)
Discussion started by: JimmyJ
6 Replies

5. AIX

Basic Filesystem / Physical Volume / Logical Volume Check

Hi! Can anyone help me on how I can do a basic check on the Unix filesystems / physical volumes and logical volumes? What items should I check, like where do I look at in smit? Or are there commands that I should execute? I need to do this as I was informed by IBM that there seems to be... (1 Reply)
Discussion started by: chipahoys
1 Replies

6. UNIX for Dummies Questions & Answers

How can I check if I have raw filesystem on unix/linux

Hello again. Please can someone tell me how can i check if my filesystem is raw on unix/linux ? Is there some file to check or something like that to be sure ? also , when i do : $ ls -l /dev/rdisk i get among other things , this also(there resides are oracle related files) : ... (2 Replies)
Discussion started by: tonijel
2 Replies

7. AIX

How to check if a filesystem is part of a cluster

Hello, - How do I know if a filesystem is part of a cluster? - Or do I have to check if the vg related to the fs is part of a cluster instead? if so, how do I check it? - I would also need to check if there are vxfs type inside aix machines and if there are, how do I know if that type of... (2 Replies)
Discussion started by: asanchez
2 Replies

8. Solaris

How to check Utilization of single filesystem

Hi all I am facing high utilization of my root partition. below is the output of df -h bash-3.00# df -h Filesystem size used avail capacity Mounted on /dev/md/dsk/d10 9.9G 9.4G 406M 96% / /devices 0K 0K 0K 0% /devices ctfs ... (13 Replies)
Discussion started by: waqasahsan
13 Replies

9. Shell Programming and Scripting

Check if NAS filesystem is mounted

Anyone know the best way to check and see if a NAS filesystem is mounted on a linux box. I have no idea where to start :wall:. (2 Replies)
Discussion started by: d3mon_spawn
2 Replies

10. AIX

Command to check on which vg filesystem resides

Hi, I need to know on which volume group filesystem resides. TIA (5 Replies)
Discussion started by: sumanthupar
5 Replies
NFSSTAT(1)						    BSD General Commands Manual 						NFSSTAT(1)

NAME
nfsstat -- display NFS statistics SYNOPSIS
nfsstat [-cseuv] [-w wait] [-n net|user] [-m [mountpath]] DESCRIPTION
nfsstat displays statistics kept about NFS client and server activity, active user activity, exported directories, and mount information. In the absence of any options, nfsstat displays NFS client and server statistics. The options are as follows: -c Show NFS client statistics. -e Show NFS server exported directory statistics. -m [mountpath] Show NFS mount information. -s Show NFS server statistics. -u Show NFS server active user statistics. -w wait Display a shorter summary at wait second intervals. -n net|user Show network addresses as numbers, or show users as uid numbers. This option can appear multiple times. -v Show additional information (if available). OUTPUT
The data fields that nfsstat displays for each set of statistics are: Client Information: Statistics for NFS file system mounts. RPC Counts Counts of the RPC calls made to each of the NFS protocol procedures. RPC Info Statistics for NFS RPC calls: TimedOut RPC calls that timed out, perhaps to a slow or dead server. Invalid Invalid RPC replies. X Replies RPC replies received that did not have calls pending. Retries RPC calls that were retried. Requests Total number of RPC calls made. Cache Info Statistics on NFS client-side cache performance: Attr Hits/Misses Performance of the NFS file attribute cache. Lkup Hits/Misses Performance of the directory name lookup cache. BioR Hits/Misses Performance of block cache for reads. BioW Hits/Misses Performance of block cache for writes. BioRL Hits/Misses Performance of symbolic link cache. BioD Hits/Misses Performance of directory cache. DirE Hits/Misses Performance of directory offset cache. Server Information: Statistics for the NFS server. RPC Counts Counts of RPC calls on each of the NFS server's procedures are recorded here. Server Ret-Failed RPC errors returned by the server. Server Faults Errors in the NFS server. Server Cache Stats Statistics from the NFS server's RPC duplicate request cache: Inprog Calls already in progress. Idem Cache hits for idempotent procedures. Non-idem Cache hits for non-idempotent procedures. Misses Cache Misses. Server Write Gathering These statistics describe the efficiency of the NFS server's write gathering feature. WriteOps Write operations to disk. WriteRPC Write operations received by the server. Opsaved Write operations that were gathered (WriteRPC - WriteOps) NFS Server Exported Directory Information: Statistics for each exported directory on the NFS server. NFS Requests Count of NFS requests processed by an exported directory. Bytes Read Count of bytes read from an exported directory. Bytes Written Count of bytes written to an exported directory. NFS Server Active User Information: List of active NFS users and statistics on the NFS server. NFS Requests Count of NFS requests received from an active user. Bytes Read Count of bytes read by an active user. Bytes Written Count of bytes written by an active user. Idle Amount of time an active user has been idle. User Name (or uid if -n user was given) of active user. IP Address Host name (or network address if -n net was given) of client machine. NFS Mount Information: Information about the given NFS mount (or all NFS mounts). The path mounted on and the server:/path that is mounted. Mount arguments originally passed in to the mount. Current mount parameter values and status information. SEE ALSO
netstat(1), iostat(8), mount_nfs(8), nfsd(8) HISTORY
The nfsstat command appears in 4.4BSD. 4.4BSD January 11, 2011 4.4BSD
All times are GMT -4. The time now is 01:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy