8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
i'm trying to write a script sh to convert the rights of a folder or file in a number.
Explain:
ls -l = rwxrwxrwx
so i must display 777.
Do you known where i can find so convert script
Thanks
Use code tags, thanks. (11 Replies)
Discussion started by: steiner
11 Replies
2. Solaris
A simple question about nfs and jumpstart
,i setup server (all on linux)
tftp ok # boot and reach menu grub,and start
nfs not ok
i did
/export/solaris 192.168.0.0/24(ro,no_root_squash,anonuid=0,anongid=0)
and on solaris i put config with sysidcfg,profile,etc
When solaris boot from net it... (1 Reply)
Discussion started by: Linusolaradm1
1 Replies
3. UNIX for Dummies Questions & Answers
Hello experts,
i am a Unix beginner and to test the rules of file rights (rwx)
i created the file
/root/testdir/subdir/test.sh
and set the rights of testdir,subdir, test.sh (using chmod) to various configurations in order to get an idea
in which case you need which rights. Test commands... (5 Replies)
Discussion started by: mike_bn
5 Replies
4. Shell Programming and Scripting
good evening .. I have a plea, who I can help me with a management application user rights on the files in a Unix / Linux
I need for college .. .. and not told us no clue .. thank you (1 Reply)
Discussion started by: alex90
1 Replies
5. HP-UX
I have an HP Unix server with Oracle DB and want to write Datapumo export files across the network to IMB/Linux NFS. Will that work? (3 Replies)
Discussion started by: Duane McDonough
3 Replies
6. Red Hat
Hi everyone,
The last two days I'm researching results of NFS operations on Linux, and I noticed some time difference when read and write.
cat /proc/version : Linux version 2.6.9-42.ELsmp (bhcompile@hs20-bc1-1.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-2)) #1 SMP Wed Jul 12... (1 Reply)
Discussion started by: sysgate
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Is it true that if I am not the root I can not select access permissions to a file that I own so that my friend (who also isn't the root) can access that file?
And is it true that the only way to accomplish it is to ask the root to "put" my friend into "my" group? Then I could simply set... (1 Reply)
Discussion started by: rudo
1 Replies
8. Red Hat
*** I also posted this in the Unix general forum, but would like to get the Linux point of view. ***
Hello all -
I've searched this forum, but was unable to find out the info I need.
I'm trying to mount (nfs mount) a directory on another box from my Linux machine.
The mount point... (1 Reply)
Discussion started by: Heron
1 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