11-14-2011
ps shows the usage over time since start where topas/nmon shows the current usage.
10 More Discussions You Might Find Interesting
1. AIX
Hello All,
I wanna find the CPU utilization of a specific process running on AIX OS. I have its pid, but not sure about the command.
iostat
sar 5 5
vmstat
All the above give me system CPU utilization. Is there a way to find for a specific pid???
Thanks,
Ankita (11 Replies)
Discussion started by: Ankita
11 Replies
2. UNIX for Dummies Questions & Answers
hi,
i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Discussion started by: pankajd
3 Replies
3. AIX
Hi.
I am looking for a command that will return me the amount of CPU used by a specific process in AIX environment.
I know there is TOPAS - but it is interactive and I need to get this information from system that connects remotely via SSH.
Using writing to files and than reading them is also... (1 Reply)
Discussion started by: yamsin789
1 Replies
4. Programming
Hi,
may be this is an AIX noob question:
my current C++ application runs on Linux and is quite memory consuming. Therefore, the application writes a logfile after it has finished containing memory information, CPU information, information on the running other processes besides my application... (0 Replies)
Discussion started by: DarthVader77
0 Replies
5. AIX
Hi,
may be this is an AIX noob question:
my current C++ application runs on Linux and is quite memory consuming. Therefore, the application writes a logfile after it has finished containing memory information, CPU information, information on the running other processes besides my application... (5 Replies)
Discussion started by: DarthVader77
5 Replies
6. UNIX for Dummies Questions & Answers
I've been more used to Solaris, but am now working on an IBM AIX box, P650
Certain commands like "top" are no longer available. Any ideas on where I can find help on this matter?
Christopher Freville
Alberquerque, NM (6 Replies)
Discussion started by: Solariums
6 Replies
7. Shell Programming and Scripting
Hi
Hope you are having a great weeknd !! I had a question and need your expertise for this :
I have 2 files File1 & File2(of same structure) which I need to compare on some columns. I need to find the values which are there in File2 but not in File 1 and put the Differences in another file... (5 Replies)
Discussion started by: newbie_8398
5 Replies
8. UNIX for Advanced & Expert Users
I have started a new job which requires AIX admin skills, which I have, and RHEL skills. Does anyone have a cheat sheet that if I know how to solve the problem in AIX how would I do that in RHEL? I was an IBM pre-sales technical trying to keep sales guys honest - not possible. Any other links to... (5 Replies)
Discussion started by: SpenceSnyder
5 Replies
9. Shell Programming and Scripting
i am using the below command in order to find the cpu utilization by a user..now i want to mail if the cpu utilization goes beyond 5%....can someone please help me ?
ps auxw | sort -r +2 | awk '{ print $3,$1 }' | head -6 | egrep "USER|#anonymous#"
%CPU USER
2.0 anonymous
Regards,... (6 Replies)
Discussion started by: arorap
6 Replies
10. Shell Programming and Scripting
OS: AIX
so we frequently receive a lot of cpu related alerts. all types of checks have been created to keep an eye on the cpu but a lot of these checks make too much noise as the CPU is always being seen as high. the system and application owners say there's no issue with the cpu.
so now,... (6 Replies)
Discussion started by: SkySmart
6 Replies
LEARN ABOUT OPENDARWIN
memusagestat
MEMUSAGESTAT(1) Linux programmer's manual MEMUSAGESTAT(1)
NAME
memusagestat - generate graphic from memory profiling data
SYNOPSIS
memusagestat [option]... datafile [outfile]
DESCRIPTION
memusagestat creates a PNG file containing a graphical representation of the memory profiling data in the file datafile; that file is gen-
erated via the -d (or --data) option of memusage(1).
The red line in the graph shows the heap usage (allocated memory) and the green line shows the stack usage. The x-scale is either the num-
ber of memory-handling function calls or (if the -t option is specified) time.
OPTIONS
-o file, --output=file
Name of the output file.
-s string, --string=string
Use string as the title inside the output graph.
-t, --time
Use time (rather than number of function calls) as the scale for the X axis.
-T, --total
Also draw a graph of total memory consumption.
-x size, --x-size=size
Make the output graph size pixels wide.
-y size, --y-size=size
Make the output graph size pixels high.
-?, --help
Print a help message and exit.
--usage
Print a short usage message and exit.
-V, --version
Print version information and exit.
BUGS
To report bugs, see <http://www.gnu.org/software/libc/bugs.html>
EXAMPLE
See memusage(1).
SEE ALSO
memusage(1), mtrace(1)
COLOPHON
This page is part of release 4.15 of the Linux man-pages project. A description of the project, information about reporting bugs, and the
latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
GNU
2017-09-15 MEMUSAGESTAT(1)