Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Interpretting the result of TOP command Post 7246 by sanjay92 on Friday 21st of September 2001 03:32:12 PM
Old 09-21-2001
Question Interpretting the result of TOP command

I want to find out how much memory is used by one unix process. I guess I can use unix top command. I have seen the SIZE and RES column in the TOP command. For Oracle client connections these values are too high about 700M , My system does not have that much pysical memory. Here is few Oracle processes listing. I don't believe that Oracle will use about 650M for a client connection. Can anybody help me understanding it.

Thanks for you help.
Sanjay

PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
21156 sanjay 1 10 0 2264K 1824K cpu0 0:02 4.71% top
18843 oracle 1 30 0 653M 619M sleep 0:14 1.18% oracle
20470 oracle 11 30 0 655M 623M sleep 34:40 0.30% oracle
18709 oracle 1 30 0 653M 619M sleep 2:56 0.08% oracle
11889 oracle 11 53 0 657M 622M sleep 25:35 0.05% oracle
11903 oracle 11 58 0 655M 622M sleep 0:19 0.04% oracle
11909 oracle 13 50 0 655M 622M sleep 3:55 0.03% oracle
11879 oracle 12 59 0 655M 621M sleep 16:15 0.02% oracle
3678 oracle 1 58 0 654M 621M sleep 2:09 0.02% oracle
18711 oracle 1 59 0 652M 618M sleep 0:16 0.02% oracle
11883 oracle 11 50 0 657M 623M sleep 18:40 0.01% oracle
597 root 7 59 -16 3576K 2208K sleep 5:27 0.01% VolumeAgent
20522 sanjay 1 48 0 2056K 1616K sleep 0:00 0.01% bash
11873 oracle 11 55 0 655M 625M sleep 14:20 0.00% oracle
11 root 4 58 0 2960K 1072K sleep 12:57 0.00% vxconfigd
19619 oracle 1 58 0 653M 620M sleep 8:18 0.00% oracle
3555 root 1 51 0 86M 2872K sleep 61:07 0.00% snmpd
1666 oracle 11 58 0 654M 609M sleep 43:50 0.00% oracle
11897 oracle 11 58 0 658M 623M sleep 34:20 0.00% oracle
14793 oracle 11 59 0 657M 622M sleep 30:41 0.00% oracle
11899 oracle 11 58 0 656M 622M sleep 24:13 0.00% oracle
10517 oracle 11 28 0 656M 623M sleep 22:22 0.00% oracle
10527 oracle 11 58 0 656M 623M sleep 18:34 0.00% oracle
1668 oracle 113 58 0 655M 611M sleep 17:25 0.00% oracle
10523 oracle 11 58 0 656M 622M sleep 17:00 0.00% oracle
11905 oracle 11 13 0 655M 623M sleep 14:06 0.00% oracle
11891 oracle 1 48 0 654M 620M sleep 13:32 0.00% oracle
sanjay92
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Top command

Hey, Using one single line of command i am trying to show the CPU usage for 4 processors and then filter it out and write it to a text file. Everything seams ok except that i am not able to switch from having the top command show me all CPU processes seperate opposed to showing me the average of... (8 Replies)
Discussion started by: Georgesaa
8 Replies

2. Shell Programming and Scripting

Top command

Hi , can some one please assist me in using top command im facing following after using top: # top -hv UX:sh (top): ERROR: top: syntax error at line 1: `(' unexpected # top -p UX:sh (top): ERROR: top: syntax error at line 1: `(' unexpected thanks in advance (3 Replies)
Discussion started by: NIMISH AGARWAL
3 Replies

3. AIX

Top command in AIX 4.2 (no topas, no nmon, no top)?

Is there a 'top' command equivalent in AIX 4.2 ? I already checked and I do not see the following ones anywhere: top nmon topas (1 Reply)
Discussion started by: Browser_ice
1 Replies

4. 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

5. Shell Programming and Scripting

awk top not getting the "k" result

Hi all, I have the script : top -n 1 | awk '{ if (NR==4) print $5 }' It will return me with one memory usage : for instance 3134720k However, I need to be returned only the number : 3134720 Does anyone knows how to fix the script that return the number (without k) thank you (3 Replies)
Discussion started by: peuceul
3 Replies

6. UNIX for Dummies Questions & Answers

Preserving the format of top command result

hi, I have tried the below command in RHEL5: top|mailx -s "test" "abc@cvf.com" But in the mail the content was not in proper format. Is there any way to preserve the format ? Thanks (2 Replies)
Discussion started by: pandeesh
2 Replies

7. UNIX for Advanced & Expert Users

Analyzing Linux's top command's result

RHEL 5.4 What are the first things you would look for when analyzing Linux's top command output? Below is a top output from one of our Linux machines; Do you see anything wrong? top - 15:56:01 up 133 days, 5:55, 5 users, load average: 2.94, 2.93, 6.58 Tasks: 178 total, 2 running,... (2 Replies)
Discussion started by: John K
2 Replies

8. Shell Programming and Scripting

Grep command giving different result for different users for same command

Hello, I am running below command as root user #nodetool cfstats tests | grep "Memtable switch count" Memtable switch count: 12 Where as when I try to run same command as another user it gives different result. #su -l zabbix -s /bin/bash -c "nodetool cfstats tests | grep "Memtable switch... (10 Replies)
Discussion started by: Pushpraj
10 Replies

9. Shell Programming and Scripting

Top command

Hi All, i am using the below command and once get the output and i need to keep the first batch only.in this case how to do this one. please help me on thistop -b -n 5 >top.txt Thanks, (3 Replies)
Discussion started by: bmk
3 Replies

10. Shell Programming and Scripting

Linux find command seems to not transmit all the result to the '-exec command'

Hello. From a script, a command for a test is use : find /home/user_install -maxdepth 1 -type f -newer /tmp/000_skel_file_deb ! -newer /tmp/000_skel_file_end -name '.bashrc' -o -name '.profile' -o -name '.gtkrc-2.0' -o -name '.i18n' -o -name '.inputrc' Tha command... (3 Replies)
Discussion started by: jcdole
3 Replies
PMAP(1) 							Linux User's Manual							   PMAP(1)

NAME
pmap - display information about process memory mappings SYNOPSIS
pmap [ -d | -q | -h | -V | -A low,high ] pid DESCRIPTION
pmap(1) displays information about a process's memory mappings, such as its stack, data segment, mapped files, and so on. The pmap(1) utility will show, for each mapping of a given process, the starting byte address in the process's address space, the size, the RSS (size of the mapping in physical memory), the amount of dirty pages, the permission, the device node, the offset, and the file backing the mapping, if any. As the last line of output, the pmap(1) utility will tally up the total size of all mappings as well as show the total size of writable/private mappings and of shared mappings. OPTIONS
d, --device Display major and minor device numbers. A, --limit=low,high Limit results to the given range. q, --quiet Hide header and memory statistics. h, --help Show pmap usage. V, --version Display version information. FILES
/proc/pid/maps and /proc/pid/smaps -- memory mapping information SEE ALSO
ps(1), top(1), free(1), vmstat(1) AUTHORS
Written by Chris Rivera. The procps package is maintained by Albert Calahan. Please send bug reports to <albert@users.sf.net>. Linux 12 Oct 2005 PMAP(1)
All times are GMT -4. The time now is 09:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy