Sponsored Content
Operating Systems Linux Red Hat How to find memory taken by a process using top command? Post 302772664 by nixsavy on Tuesday 26th of February 2013 11:02:51 AM
Old 02-26-2013
For top command

To sort process as per swap page usage

Capital O followed by p (small p) andthen Enter key

not this is wat or something other u look
 

10 More Discussions You Might Find Interesting

1. HP-UX

How to find memory used by a process

Hi, Can anyone help me out in writing the shell scrip which monitors a process which is running and gives me the output of the memory being used by the process, I have the requirement of monitorig the memory usage of the process when it is running. Please help me out (3 Replies)
Discussion started by: vijayagiri
3 Replies

2. UNIX for Advanced & Expert Users

unix top command (memory usage)

in unix when i use top i get an output like this: load averages: 0.64, 0.57, 0.53 14:04:42 347 processes: 1 running, 1 waiting, 169 sleeping, 172 idle, 4 stopped CPU states: 16.4% user, 2.8% nice, 7.6%... (2 Replies)
Discussion started by: gfhgfnhhn
2 Replies

3. Shell Programming and Scripting

how can i extract only the Memory line from top command ?

Hello all i need in csh to extract only the Memory line from the out put of the top command how can it easily done (1 Reply)
Discussion started by: umen
1 Replies

4. AIX

Command to find TOP 5 Memory consuming process

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

5. AIX

Need a list of top 10 CPU using processes (also top 10 memory hogs, separately)

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

6. Shell Programming and Scripting

Command to find the Memory and CPU utilization using 'top' command

Hi all, I found like top command could be used to find the Memory and CPU utilization. But i want to know how to find the Memory and CPU utilization for a particular user using top command. Thanks in advance. Thanks, Ananthi.U (2 Replies)
Discussion started by: ananthi_ku
2 Replies

7. Solaris

Free memory in top and prstat command

Hi Export, i execute 'top' command to show the free memory in Solaris host, but the read is much lower than the RSS value shown in prstat command. Which one can reflect the real status and it is possible the difference caused by any patch of OS? Top command (only 883 memory is free)... (3 Replies)
Discussion started by: eiga
3 Replies

8. Shell Programming and Scripting

How to find which process consumes more memory

in our Oracle DB server, the free RAM is very low. we would like to know which process consumes more RAM what is the comand I can use ? (1 Reply)
Discussion started by: johnveslin
1 Replies

9. HP-UX

Find out most memory consumption process in HP UX

Dear All, I want to find out top 15 memory consumption processes in HP UX. Can anyone give me any idea about it? Kauser (2 Replies)
Discussion started by: makauser
2 Replies

10. Shell Programming and Scripting

Kill top 5 memory uses process

Hi All, how to kill 5 top memory used process in my hp-ux. Thanks, Kki (9 Replies)
Discussion started by: kki
9 Replies
htop(1) 							       Utils								   htop(1)

NAME
htop - interactive process viewer SYNTAX
htop DESCRIPTION
This program is a free (GPL) ncurses-based process viewer. It is similar to top, but allows to scroll the list vertically and horizontally to see all processes and their full command lines. Tasks related to processes (killing, renicing) can be done without entering their PIDs. COMMAND-LINE OPTIONS The following flags are supported: -d DELAY Delay between updates, in tenths of seconds -u USERNAME Show only processes of a given user --sort-key COLUMN Sort by this column (use --sort-key help for a column list) INTERACTIVE COMMANDS
The following commands are supported: Arrows, PgUP, PgDn, Home, End Scroll process list. Space "Tag": mark a process. Commands that can operate on multiple processes, like "kill", will then apply over the list of tagged pro- cesses, instead of the currently highlighted one. U "Untag" all processes (remove all tags added with the Space key). s Trace process system calls: if strace(1) is installed, pressing this key will attach it to the currently selected process, presenting a live update of system calls issued by the process. l Display open files for a process: if lsof(1) is installed, pressing this key will display the list of file descriptors opened by the process. F1, h Help screen F2, S Setup screen. There you can configure meters displayed on the top side of the screen, as well as set various display options, choose among color schemes and select the layout of the displayed columns. F3, / Incremental process search: type in part of a process command line and the selection highlight will be moved to it. While in search mode, pressing this key will cycle through matching occurrences. F4, I Invert sort order: if sort order is increasing, switch to decreasing, and vice-versa. F5, t Tree view: organize processes by parenthood, and layout the relations between them as a tree. Toggling the key will switch between tree and your previously selected sort view. Selecting a sort view will exit tree view. F6, > Select field for sorting. The sort field is indicated by a highlight in the header. F7, ], - Increase selected process priority (subtract from 'nice' value). This can be done by the superuser only. F8, [, + Decrease selected process priority (add to 'nice' value) F9, k "Kill" process: sends a signal which is selected in a menu, to one or a group of processes. If processes were tagged, sends the signal to all tagged processes. If none is tagged, sends to the currently selected process. F10, q Quit +, - When in tree view mode, expand or collapse subtree. When a subtree is collapsed a "+" sign shows to the left of the process name. a (on multiprocessor machines) Set CPU affinity: mark which CPUs a process is allowed to use. u Show only processes owned by a specified user. M Sort by memory usage (top compatibility key). P Sort by processor usage (top compatibility key). T Sort by time (top compatibility key). F "Follow" process: if the sort order causes the currently selected process to move in the list, make the selection bar follow it. This is useful for monitoring a process: this way, you can keep a process always visible on screen. When a movement key is used, "follow" loses effect. K Hide kernel threads: prevent the threads belonging the kernel to be displayed in the process list. (This is a toggle key.) H Hide user threads: on systems that represent them differently than ordinary processes (such as recent NPTL-based systems), this can hide threads from userspace processes in the process list. (This is a toggle key.) Ctrl-L Refresh: redraw screen and recalculate values. Numbers PID search: type in process ID and the selection highlight will be moved to it. AUTHORS
htop is developed by Hisham Muhammad <loderunner@users.sourceforge.net>. This man page was written by Bartosz Fenski <fenio@o2.pl> for the Debian GNU/Linux distribution (but it may be used by others), and updated by Hisham Muhammad. Bartosz Fenski <;fenio@o2.pl> 0.9 htop(1)
All times are GMT -4. The time now is 03:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy