08-11-2010
Please use just 'ps auxf' without the -
This User Gave Thanks to rajamadhavan For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how can i do that in a script withough havin the script halt at the section where the top command is located. am writign a script that will send me the out put of unx commands if the load average of a machine goes beyond the recommended number.
top -n 20
i want to save this output to a file... (1 Reply)
Discussion started by: TRUEST
1 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 All,
Can anyone send me a command to find TOP 5 Memory consuming process.
It would be lelpful if I get output something like below
processname - pid - memory(in MB) - command
I tried few commands from the internet but the result only give the real memory usage or pagging, I want total... (4 Replies)
Discussion started by: bce_groups
4 Replies
4. 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
5. UNIX for Dummies Questions & Answers
I'm using top to view processes. But, I do not know how to scroll down the list to view what is not showed in the terminal window. Anyone know how to do this? (1 Reply)
Discussion started by: keenansnews
1 Replies
6. Shell Programming and Scripting
ps -eo pid,comm,%cpu lists all processes (in increasing PID number).
How to get only the top-10 most CPU intensive ones? I know about top: this is BASH exercise.
I tried redirecting above code to cut ps -eo pid,comm,%cpu | cut -f2but ps' output isn't TAB delimited. How can I otherwise use... (5 Replies)
Discussion started by: courteous
5 Replies
7. Shell Programming and Scripting
When I run 'top' command,I see the following
Memory: 32G real, 12G free, 96G swap free
Though it shows as 12G free,I am not able to account for processes that consume the rest 20G.
In my understanding some process should be consuming atleast 15-16 G but I am not able to find them.
Is... (1 Reply)
Discussion started by: prasperl
1 Replies
8. Shell Programming and Scripting
Hi All,
O/S: Linux 86x64 Red Hat
I have a sql script that queries top consuming processes of Linux using TOP commnd.
Now I need to automate this task and pass the top processes i.e., PID to the sql script through unix shell script.
Could anyone please let me know how to achieve this.
... (2 Replies)
Discussion started by: a1_win
2 Replies
9. UNIX for Dummies Questions & Answers
Platform: Oracle Linux 6.4
To find the most memory consuming processes, I tried the following 2 methods
1. Method1
# ps aux | head -1 ; ps aux | sort -nk +4 | tail -7
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 95 0.0 0.0 0 0 ? ... (2 Replies)
Discussion started by: kraljic
2 Replies
10. UNIX for Beginners Questions & Answers
I am middle of writing health check scripts, can you pls share commands on how I can get cpu and Mem of top consuming process info at the moment?
Also can u suggest ideas on what all I can look for as a part do health check on red hat Linux server?
I searched on site before posting, but... (2 Replies)
Discussion started by: Varja
2 Replies
LEARN ABOUT DEBIAN
drawterm
DRAWTERM(1) General Commands Manual DRAWTERM(1)
NAME
drawterm - connect to Plan 9 CPU servers from other operating systems
SYNOPSIS
drawterm [-d] [-a authserver] [-c cpuserver] [-e encription_hash_algs] [-k keyspec] [-s secstoreserver] [-u username] [-C command args ...]
DESCRIPTION
drawterm is not a Plan 9 program. It is a program that users of non-Plan 9 systems can use to establish graphical cpu(1) connections with
Plan 9 CPU servers. Just as a real Plan 9 terminal does, a drawterm serves its local name space as well as some devices (the keyboard,
mouse, and screen) to a remote CPU server, which mounts this name space on /mnt/term and starts a shell. Typically, either explicitly or
via the profile, one uses the shell to start rio(1).
By default, drawterm uses the CPU server $cpu or cpu, and the authentication server $auth or auth,
OPTIONS
This program follows the syntax of the cpu(1) Plan 9 command.
A summary of options is included below.
-h Show summary of options.
-a Specifies the authentication server to use. If not present uses the $auth environment variable, if present, or tries with a host
name of auth.
-c Specifies the cpu server to use. If not present uses the $cpu environment variable, if present, or tries with a host name of cpu.
-u Specifies the username to authenticate with. If not present uses the $USER environment variable, if present, or asks interactively
for an username.
-s Specifies the secstore server to use.
-C Specifies a command to be executed remotely.
-e,-k Allow for selecting the hash algorithm and keys used, they have the same meaning as in cpu(1).
SOURCE
In Plan 9 distributions, /sys/src/cmd/unix/drawterm.
DIAGNOSTICS
Drawterm prints most diagnostics in its own window.
BUGS
Although at first drawterm may seem like a Plan 9 terminal, in fact it is just a way to provide a CPU server with some terminal devices.
The difference is important because one cannot run terminal-resident programs when using drawterm. The illusion can be improved by deli-
cate adjustments in /usr/$user/lib/profile.
Should import latest /dev/draw to allow resize of window
Should copy 9term code and make console window a real 9term window instead.
Should implement /dev/label.
SEE ALSO
cpu(1), rio(1) in the Plan 9 documentation
AUTHOR
drawterm was written by Russ Cox <rsc@swtch.com>.
This manual page was written by Russ Cox <rsc@swtch.com>, with modifications by Martin Ferrari <tincho@debian.org> for the Debian project.
October 16, 2008 DRAWTERM(1)