Sponsored Content
Full Discussion: Server Statistics ?
Top Forums Programming Server Statistics ? Post 44725 by Perderabo on Wednesday 10th of December 2003 08:04:25 AM
Old 12-10-2003
I see two solutions to your problem....

1. Acquire the expertise to reverse engineer the shell commands.

2. Write code to run the shell commands and parse the output.

I like option 1 myself. But I recognize the option 2 may be needed as a stopgap.
 

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. 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

3. Solaris

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... (2 Replies)
Discussion started by: shalua
2 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
PROCMETER3(1)						      General Commands Manual						     PROCMETER3(1)

NAME
procmeter3, procmeter3-xaw - A user friendly system monitoring program. SYNOPSIS
procmeter3|procmeter3-xaw [-w <hint1>[,<hint2>]] [-h|--help] [--rc=<filename>] [--...] [...] [X windows options] DESCRIPTION
ProcMeter Displays one or more pieces of information about the operating system and other resources. Most of the information that is dis- played comes from the /proc filesystem. The program is modular and very configurable. OPTIONS
The command line options are described below. -h Provides a help message listing the available outputs. This will be different for different computers depending on the Linux kernel version that is being used and the hardware/software that is configured. -w Gives Extended Window Manager hints (EWMH) to change the way that the Window Manager treats the ProcMeter3 window. Implemented hints are: above, below, skip_pager, skip_taskbar, sticky. You can give more than one hint separated by commas (e. g. -w above,skip_taskbar,sticky), or use -w multiple times (e. g. -w above -w sticky). --rc=<filename> Load the specified .procmeterrc file in stead of the searching in the usual places. --... A list of configuration file options that will override the values in the .procmeterrc file. The format of these options is (for example) --resources.background=grey50 which is equivalent to the entry in the .procmeterrc file of [resources] background = grey50 All spaces around the equal sign must be removed and if spaces are required in the value on the right hand side then quotes must be used around the entire command line option. ... A list of names of outputs that are to be displayed. This can include any of the outputs that are available (see the -h option). For the CPU usage is in a module named Statistics with an output named CPU and there are graph (-g), text (-t) and bar (-b) options. To display the CPU usage graph you would use the command line option Statistics.CPU-g X windows options The standard set of X Windows program options, see X(1) for information. These include -geometry to set the size of the window, -display to set the display and other general X window options. USAGE
When started the program will display all of the requested information in a set of output panels (vertically aligned by default). Each output can be either a graph, text or bar, and can have a label indicating what it represents. The outputs that are displayed are those from the command line and those from the .procmeterrc configuration file. The left mouse button will produce a menu of options that are specific to the output that is selected. The Properties option on this menu will give more detailed information about the origin and meaning of the information that is displayed. When the properties information window is displayed, clicking on another output will change the displayed information. The Move to Above and Move to Below options allow the output to be moved around in the window. Selecting one of these options will change the mouse cursor to a hand, use this to select another output. The output that was selected first will be moved to above or below the output that was selected second. The Run option on the menu (which may not be available on all outputs) will run the specified command. This may be to display a list of running processes, show the amount of free memory or disk space for example. This menu option is configurable in the .procmeterrc file. The right mouse button will produce a set of menus that list the modules that are available and for each of them the available set of out- puts. There are three types of output, text and two graphical outputs, these are indicated in the sub-menus by icons. Selecting one of the outputs from a sub-menu will cause that output to be displayed if it is not already visible. If it is currently displayed then it will be disabled. Those that are currently displayed are indicated by a marker to the left in the sub-menu. When the output is added to the window it will be placed at the bottom, use the left mouse button to move it if required. The middle mouse button will display the sub-menu that is associated with the module for the output that is selected. This is one of sub- menus that are found with the right mouse button. MODULES
The modules that are available for procmeter3 and procmeter3-xaw are described in the procmeter3_modules(1) manual page. X RESOURCES
As with all X Window programs X resources can be used. For this version of ProcMeter (compared to previous versions) this is not the default method of configuring the program. The file $HOME/.procmeterrc contains the configuration information. SEE ALSO
X(1) procmeterrc(5) procmeter3_modules(1) AUTHOR
Andrew M. Bishop 1998-2008 July 3, 2010 PROCMETER3(1)
All times are GMT -4. The time now is 08:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy