09-20-2010
For a given process it varies by OS. If you have a /proc filesystem then those are used, for example in Solaris - pfiles, ptime - etc to get a per process look at things.
vmstat, iostat, and possibly sar are all standard choices, pick any or all of them.
The problem comes down to: learning to read and interpret the output of them. If you stick with sar, expect to read a lot of documentation
10 More Discussions You Might Find Interesting
1. Programming
how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries
through a c program or java program
i want to store that data into database so i can show it graphically
thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies
2. Gentoo
I am trying to write a small (and rather simple) script to gather some info about the system and piping it to dzen2
first, i want to explain some things.
I know i could have used conky, but my intention was to expand my knowledge of bash, pipes and redirections inside a script, and to have fun... (14 Replies)
Discussion started by: broli
14 Replies
3. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
4. Solaris
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies
5. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
6. AIX
Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold
I use top on other... (5 Replies)
Discussion started by: thenomad
5 Replies
7. Shell Programming and Scripting
Hi,
How can I find total CPU usage in percentage? e.g. if my system has 8 CPUs and I want to list total usage for all of them, is it possible through a command?
I have tried some of the commands like top, mpstat, sar. The output of those commands has to be manipulated to derive the percentage... (14 Replies)
Discussion started by: jal_capri
14 Replies
8. UNIX for Dummies Questions & Answers
How to determine the total percentage cpu usage of a server having 4 cpu cores(quad core)? (3 Replies)
Discussion started by: proactiveaditya
3 Replies
9. Linux
Hi,
I want to calculate the total cpu usage from the sar report. Say for example,
Linux 2.6.24-21-generic (blade10) 09/10/2012
04:54:36 PM CPU %user %nice %system %iowait %steal %idle
04:54:37 PM all 0.00 0.00 0.00 0.00 ... (1 Reply)
Discussion started by: rohitmd
1 Replies
10. Solaris
hi, i am using solaris server. I want to find the total CPU usage on a server. Top command will give that result, but here that command is not working. So anyone can help me to find the total CPU usage. (2 Replies)
Discussion started by: Arasu123
2 Replies
FREE(1) Linux User's Manual FREE(1)
NAME
free - display information about free and used memory on the system
SYNOPSIS
free [-b|-k|-m|-g] [-l] [-o] [-t] [-s delay ] [-c count ]
DESCRIPTION
free(1) displays the total amount of free and used physical memory and swap space in the system, as well as the buffers and cache consumed
by the kernel.
OPTIONS
Normal invocation of free(1) does not require any options. The output, however, can be fine-tuned by specifying one or more of the follow-
ing flags:
-b, --bytes
Display output in bytes.
-k, --kb
Display output in kilobytes (KB). This is the default.
-m, --mb
Display output in megabytes (MB).
-g, --gb
Display output in gigabytes (GB).
-l, --lowhigh
Display detailed information about low vs. high memory usage.
-o, --old
Use old format. Specifically, do not display -/+ buffers/cache.
-t, --total
Display total summary for physical memory + swap space.
-c n, --count=n
Display statistics n times, then exit. Used in conjunction with the -s flag. Default is to display only once, unless -s was speci-
fied, in which case default is to repeat until interrupted.
-s n, --repeat=n
Repeat, pausing every n seconds in-between.
-V, --version
Display version information and exit.
--help Display usage information and exit
FILES
/proc/meminfo -- memory information
SEE ALSO
ps(1), top(1), vmstat(1)
AUTHORS
Written by Robert Love.
The procps package is maintained by Rik van Riel and Robert Love and was created by Michael Johnson.
Send bug reports to <procps-list@redhat.com>.
Linux 18 Nov 2002 FREE(1)