12-12-2003
Thanks kduffin for your reply ...
I'm using compaq c compiler (cc) .. and collect seems to generate all the needed information .. however i couldn't find the system calls that it uses ...
I'm not trying to invoke any shell commands like collect inside my program rather to invoke system calls directly because its doesn't have shell commands overhead (the developed program will be deployed on our production servers so effiency is critical)
right now I'm looking at the documentation to see if any would help
8 More Discussions You Might Find Interesting
1. Programming
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
saidar
saidar(1) General Commands Manual saidar(1)
NAME
saidar - a curses-based tool for viewing system statistics
SYNOPSIS
saidar [-d delay] [-c] [-v] [-h]
DESCRIPTION
saidar is a curses-based tool for viewing the system statistics available through libstatgrab. Statistics include CPU, processes, load,
memory, swap, network I/O, disk I/O, and file system information.
OPTIONS
The following options are supported.
-d DELAY
Wait DELAY seconds between updates (default 3)
-c Enables coloured output
-v Prints the version number
-h Display help and exits
COLOURED OUTPUT
When the -c option is used saidar uses colours to display the data. Each area has a different colour to distinguish it from the nearby
fields. Bold and reverse video effects are used to emphasis fields where necessary.
The load average figures are displayed in bold when they're notably (greater that 1) different to each other. This purely shows that a
change in the load is occurring.
When CPU usage goes over 60% it will be displayed in bold. At 90% the field is displayed using reverse video. Likewise for memory, swap
and disk usage at 75% and 90%. Zombie processes are also highlighted.
Other values (paging, disk I/O and network I/O) are not highlighted due to the nature of the values; it's not easy to determine what
thresholds are significant.
SEE ALSO
statgrab(1) statgrab(3)
AUTHORS
This man page was written by Bartosz Fenski for the Debian GNU/Linux distribution.
WEBSITE
http://www.i-scream.org/libstatgrab/
i-scream $Date: 2006/11/30 23:42:42 $ saidar(1)