Sponsored Content
Full Discussion: how to get server statistics
Operating Systems Solaris how to get server statistics Post 302189953 by shalua on Monday 28th of April 2008 08:54:03 AM
Old 04-28-2008
how to get server statistics

Hello

What commands can give following type of information about the server:

Time: 20080331.12:10:39
Current CPU: 97.0%
Current Memory: 3.7%
Current Disk Space: 76%
The resources on server is currently not available.
Current CPU, Memory, or Disk Space is exceeding threshold
Waiting for 30 seconds

Thanks!
 

8 More Discussions You Might Find Interesting

1. Programming

system statistics

i am currently using c functions such as getprocs and statsfs to obtain process information and filesystem information on machines running aix 4.3.3.0. (soon to be running aix5.1) is there a function available to access information similar to the information provided by a vmstat command? i also... (1 Reply)
Discussion started by: briansmith40
1 Replies

2. Programming

Server Statistics ?

I'm trying to write a C program to view server statistics such as: - server general information - CPU usage - memory usage - running processes Cany anybody gives me hints on those system calls ?? ps: I'm using Tru64 unix (6 Replies)
Discussion started by: Agent007
6 Replies

3. UNIX for Dummies Questions & Answers

file statistics??

Is there any command in Unix (HP-UX) which will give me the file statistics .. e.g I have a file called r001 if I created that file on 2nd of aug 2005 and till now I changed that file contents 10 times. So how will I get the history statistic(time & date) of file modification. (1 Reply)
Discussion started by: zing_foru
1 Replies

4. HP-UX

packets statistics

Hi there, are there any functions that can get the packets statistics on UNIX ? thanks. (2 Replies)
Discussion started by: Frank2004
2 Replies

5. Solaris

Server uptime statistics

Hello, I would like to create a report every month about the working hours of some servers. I need to get results such as how long are the servers up every month, which hours/days are up. Do you know any tool which will help me? Thanks in advance (2 Replies)
Discussion started by: @dagio
2 Replies

6. Solaris

Anyone help to interpretate os statistics

Hi, Can anyone help me to explain following statistics of my unix box. /usr/sbin/swap -l swapfile dev swaplo blocks free /dev/dsk/c4 118,771 16 33560432 33319776 /dev/dsk/c4 118,763 16 33560432 33327184 /usr/sbin/swap -s total: 13429368k bytes allocated + 9830880k reserved =... (9 Replies)
Discussion started by: giteshtrivedi
9 Replies

7. UNIX for Dummies Questions & Answers

Any way to get process statistics?

Hi, Can someone advise what "generic" command can I use to show statistics of a process or a running script/process? For example, I want to know how many hours/minutes it's taken to run or has been running, how much CPU it used and how much memory it used or uses. I want to be able to... (2 Replies)
Discussion started by: newbie_01
2 Replies

8. Shell Programming and Scripting

Text statistics

Hello every body if I want to get the following statistics from a text file 1- sorted the n frequent words 2- sorted the n frequent characters 3- sorted the n frequent diagrams (tow letter together like th OR he) 4- sorted frequent n trigrams like (the OR all etc. ) 5- any character... (10 Replies)
Discussion started by: khaled79
10 Replies
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)
All times are GMT -4. The time now is 01:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy