09-21-2001
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
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
omega-rpg
omega(6) Games Manual omega(6)
NAME
omega - a hack-style game with quests.
SYNOPSIS
omega [save file]
DESCRIPTION
omega is a complex rogue-style game of dungeon exploration. Unlike other such games, there are a number of ways to "win", depending on
various actions taken during play. The ways you can get your name on the hiscore board include becoming the highest ranked head of a guild,
sect, college, etc., as well as gaining the most points figured from possessions and experience. The game (via the oracle) may impose some
structure on your exploration, but you need not follow all of the oracle's advice. There *is* a "total winner" status, by the way.
If the save file is not specified, omega gives the player the choice of generating a random character, or playing themselves, doing a short
quiz to determine an approximation of their abilities. If the save file is given, omega will restore that save file, and if successful,
the save file is deleted. Note that some installations of omega compress the save file, using either compress(1) or gzip(1) - if this is
the case, and you have a save file that is uncompressed (such files are generated by omega if it receives a signal during play, for exam-
ple), you can compress it (with compress(1) or gzip(1)) and remove the .Z or .gz extension. Alternatively, you may simply run with the
uncompressed save file - this will not affect the game in any way, but takes more disk space between games.
omega offers a richness of playing detail that goes beyond a simple game like rogue. However, the majority of gameplay is very similar to
rogue, hack, ultrarogue, larn, and other such games. The player is represented by the highlighted "@" symbol, objects and terrain features
are represented by non-alphabetic symbols, monsters are represented by the various upper and lower case letters, and other humans are rep-
resented by a non-highlighted "@".
omega currently consists of a countryside in which are sited a city, various villages, several dungeons, and some "special" sites, such as
the temples of the various priesthoods. The game starts in the city of Rampart, where all the guilds have headquarters. As a dungeon is
explored, all generated levels are saved in memory. However, only one dungeon is "remembered" at a time, so if you enter two dungeons, the
first will be forgotten (it will be regenerated should you wish to enter it again). However, if a dungeon is "completed", this fact will be
remembered, basically meaning that the unique monster at the bottom will not be regenerated if you've killed it already.
SEE ALSO
compress(1), gzip(1), nethack(6)
AUTHOR
Laurence Brothers
omega(6)