monnfs(8) CLIX monnfs(8)
NAME
monnfs - Runs the CRM utility for displaying NFS statistics
SYNOPSIS
/etc/ip32/crm/monnfs [-U boot_image] [-I interval] [-S snap_file] [-s] [-
c] [-l] [-i input_file] [-o output_file]
FLAGS
-U boot_image Lists the file specification of the CLIX image which was
booted. This flag is required only if the boot image has
been moved since the system was booted. (The default boot
image used is set on the Operating System Parameters menu
of the workstation Utility Pages; usually, the image is
the /unix file. However, if the user moves the boot image
to a different directory, the -U flag must be used to tell
the CRM utilities where to find the boot image.)
-I interval Specifies how frequently the monitor samples and displays
information. The interval is the number of seconds. The
default interval is 2 seconds.
-i input_file Reads the data from input_file every interval seconds.
The input_file must have been created as an output_file
using the -o flag. A hyphen (-) for input_file reads
input from stdin.
-o output_file Directs output to output_file. A hyphen (-) for
output_file directs output to stdout.
-S snap_file Specifies a name for the snapshot file. (The default
filename is /tmp/CRM.snapshot.)
-c Displays client information. Only the client side NFS and
RPC information is displayed.
-s Displays server information. Only the server side NFS and
RPC information is displayed.
-l Displays lockd process information.
DESCRIPTION
The monnfs command displays statistical information about the Network File
System (NFS) and Remote Procedure Call (RPC) interfaces to the kernel.
To take a snapshot of the statistics, type S (press <Shift> <S> ). The
statistics shown at that instant are saved to the file /tmp/CRM.snapshot,
or to the file specified with the -S flag.
2/94 - Intergraph Corporation 1
monnfs(8) CLIX monnfs(8)
EXAMPLES
1. This example displays updated NFS information every five seconds:
/usr/ip32/crm/monnfs -I 5
2. This example shows information for the server, client, and lockd
processes:
/usr/ip32/crm/monnfs
The following is an example of output produced by this command:
Sample rate: 2 Thu Jan 7 14:06:42 1993
Server rpc:
calls badcalls nullrecv badlen xdrcall
3628 0 0 0 0
Server nfs:
calls badcalls
3624 0
null getattr setattr root lookup readlink
12 0% 89 2% 0 0% 0 0% 3360 92% 0 0%
read writecache write create remove rename
11 0% 0 0% 0 0% 0 0% 0 0% 0 0%
link symlink mkdir rmdir readdir statfs
0 0% 0 0% 0 0% 0 0% 143 3% 9 0%
Client rpc:
calls badcalls retrans badxids timeouts waits
270 0 1 0 1 0
newcreds peekerrs badresponses
0 0 0
Client nfs:
calls badcalls nclgets nclsleeps
270 0 270 0
null getattr setattr root lookup readlink
0 0% 85 31% 0 0% 0 0% 0 0% 0 0%
read writecache write create remove rename
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
link symlink mkdir rmdir readdir statfs
0 0% 0 0% 0 0% 0 0% 0 0% 185 68%
Lockd: loaded, no init, not open, not locking
nlm_calls lockhandles activeprocs busyopers local_fsops remote_fsops
0 0 0 0 0 0
klm_errors
2 Intergraph Corporation - 2/94
monnfs(8) CLIX monnfs(8)
0
null test lock cancel unlock
0 0 0 0 0
granted denied nolocks working interrupted nolink
0 0 0 0 0 0
timedout
0
3. This example shows only the client side NFS and RPC information:
/usr/ip32/crm/monnfs -c
The following is an example of output produced by this command:
Sample rate: 2 Thu Jan 7 14:06:57 1993
Client rpc:
calls badcalls retrans badxids timeouts waits
270 0 1 0 1 0
newcreds peekerrs badresponses
0 0 0
Client nfs:
calls badcalls nclgets nclsleeps
270 0 270 0
null getattr setattr root lookup readlink
0 0% 85 31% 0 0% 0 0% 0 0% 0 0%
read writecache write create remove rename
0 0% 0 0% 0 0% 0 0% 0 0% 0 0%
link symlink mkdir rmdir readdir statfs
0 0% 0 0% 0 0% 0 0% 0 0% 185 68%
FILES
/dev/kmem Allows monnfs access to kernel virtual memory space.
/dev/mem Allows monnfs access to kernel physical memory space.
/unix The default CLIX image. The monnfs command looks up offsets
into the kernel using symbols from the boot_image.
/tmp/CRM.snapshot
The default filename of a snapshot.
NOTES
Read permission is required to access some files used by this command. If
the user is denied permission to access the required files, then superuser
privileges are required to run this command.
2/94 - Intergraph Corporation 3
monnfs(8) CLIX monnfs(8)
EXIT VALUES
The exit values are not valid.
RELATED INFORMATION
Commands: crm(1), nfsstat(8)
4 Intergraph Corporation - 2/94