10-11-2009
What OS version, patch level? Both NFS server and client..
netstat -i -> any collisions?
# nfsstat -rc ?
There might be problem with the auto-negotiation. Pls check.
Is it supposed to be connected with autonegociation
or are you forcing it to FULL-DUPLEX or HALF-DUPLEX. If you see
collisions, it's not connected at FULL-DUPLEX
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
For vertitas netbackup 6.0
I have media server :Solaris
Client server: Windows
I want to restart the netbackup service on the media server .
plz suggest ASAP. (1 Reply)
Discussion started by: saurabh84g
1 Replies
2. Shell Programming and Scripting
Hello, I am trying to write a script which will monitor few processes(winbind) for cpu utilization, If the process consumes more than say 99% cpu for 3 minutes, I want to run a script to restart the service which forks the process.
---------- Post updated at 11:21 AM ---------- Previous update... (5 Replies)
Discussion started by: linuxaddict7
5 Replies
3. Solaris
Hi all
in my server all nfs dependices are online but nfs client is offline
root@BIWAPP1 # svcs -a|grep nfs
disabled Sep_05 svc:/network/nfs/server:default
online Sep_05 svc:/network/nfs/rquota:default
online Sep_05 svc:/network/nfs/mapid:default
online ... (9 Replies)
Discussion started by: spandhan
9 Replies
4. HP-UX
Hi All,
May i please know if it is possible to write a script to check the log messages and automatically restart a service if it is failed or it is stopped.
Appreciate your suggestions.
Thanks in advance.
regards,
Eajaz (2 Replies)
Discussion started by: ajazshariff
2 Replies
5. Solaris
Hello,
I have a centos as nfs server, its name is centos_A.
After I finish the setup of the nfs server, the other linux can access this nfs server immediately via /net/centos_A/*
But,
My solaris 9 can not access /net/centos_A/* immediately. I have to leave /net/centos_A, and wait for about... (1 Reply)
Discussion started by: bruceharbin
1 Replies
6. Shell Programming and Scripting
Hi All,
Requirement : I need to check for some services in my environment and restart the service if its not running.
I have written script to check the script if its running or not. While if its not running i need to restart it using ./start command. But it will ask for password prompt and i... (4 Replies)
Discussion started by: pradeepbaliga
4 Replies
7. Shell Programming and Scripting
Hello,
Currently i am handling admin activity of wasserver, its parts of teamcenter,
wasserver is used to maintain IDSM service which is involved in data transfer activity. due to some reason IDSM service gets down and have to restart this service manually. ... (0 Replies)
Discussion started by: chetan0412
0 Replies
8. SuSE
Hi,
Beside using crontab, what is other application we can set it? Normally I check using command crontab -l.
Any other path I need to check? Please guide me.
Thanks. (2 Replies)
Discussion started by: mzainal
2 Replies
9. AIX
Hi 2 ALL,
try to run NFS Server in AIX 7.1 :
1. Step by step on NFS Server node
mkdir /tmp/test
chgrp staff /tmp/test
chmod 775 /tmp/test-- create export directory (fs)
mknfsexp -d /tmp/test -t ro
exportfs -va
show mount -e
:/# exportfs -av
exports: 1831-187 re-exported /tmp/test... (4 Replies)
Discussion started by: penchev
4 Replies
10. Shell Programming and Scripting
I need a help of good people with effective bash script to mount nfs shared,
By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people.
The scenario as follow:
An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies
LEARN ABOUT CENTOS
nfsstat
nfsstat(8) System Manager's Manual nfsstat(8)
NAME
nfsstat - list NFS statistics
SYNOPSIS
nfsstat [OPTION]...
DESCRIPTION
The nfsstat displays statistics kept about NFS client and server activity.
OPTIONS
-s, --server
Print only server-side statistics. The default is to print both server and client statistics.
-c, --client
Print only client-side statistics.
-n, --nfs
Print only NFS statistics. The default is to print both NFS and RPC information.
-2 Print only NFS v2 statistics. The default is to only print information about the versions of NFS that have non-zero counts.
-3 Print only NFS v3 statistics. The default is to only print information about the versions of NFS that have non-zero counts.
-4 Print only NFS v4 statistics. The default is to only print information about the versions of NFS that have non-zero counts.
-m, --mounts
Print information about each of the mounted NFS file systems.
If this option is used, all other options are ignored.
-r, --rpc
Print only RPC statistics.
-o facility
Display statistics for the specified facility, which must be one of:
nfs NFS protocol information, split up by RPC call.
rpc General RPC information.
net Network layer statistics, such as the number of received packets, number of TCP connections, etc.
fh Usage information on the server's file handle cache, including the total number of lookups, and the number of hits and
misses.
rc Usage information on the server's request reply cache, including the total number of lookups, and the number of hits and
misses.
all Display all of the above facilities.
-v, --verbose
This is equivalent to -o all.
-l, --list
Print information in list form.
-S, --since file
Instead of printing current statistics, nfsstat imports statistics from file and displays the difference between those and the cur-
rent statistics. Valid input files may be in the form of /proc/net/rpc/nfs (raw client stats), /proc/net/rpc/nfsd (raw server
stats), or saved output from nfsstat itself (client and/or server stats). Any statistics missing from a saved nfsstat output file
are treated as zeroes.
-Z[interval], --sleep=[interval]
Instead of printing current statistics and immediately exiting, nfsstat takes a snapshot of the current statistics and pauses until
it receives SIGINT (typically from Ctrl-C), at which point it takes another snapshot and displays the difference between the two.
If interval is specified, nfsstat will print the number of NFS calls made since the previous report. Stats will be printed repeat-
edly every interval seconds.
EXAMPLES
nfsstat -o all -234
Show all information about all versions of NFS.
nfsstat --verbose -234
Same as above.
nfsstat -o all
Show all information about active versions of NFS.
nfsstat --nfs --server -3
Show statistics for NFS version 3 server.
nfsstat -m
Show information about mounted NFS filesystems.
DISPLAY
The Flags output from the -m option is the same as the flags give to the mount command.
FILES
/proc/net/rpc/nfsd
procfs-based interface to kernel NFS server statistics.
/proc/net/rpc/nfs
procfs-based interface to kernel NFS client statistics.
/proc/mounts
procfs-based interface to the mounted filesystems.
SEE ALSO
rpc.nfsd(8). nfs(5).
BUGS
The default output has been changed. To get the old default output you must run nfsstat --auto -2.
The function of the -v and -a options have changed. The -a option is now reserved for future use. The -v does what the -a option used to
do, and the new -[234] options replace the -v option.
The Display section should be more complete.
Further bugs can be found or reported at http://nfs.sf.net/.
AUTHOR
Olaf Kirch, <okir@suse.de>
7 Aug 2007 nfsstat(8)