unix top command (memory usage) | Unix Linux Forums | UNIX for Advanced & Expert Users

  Go Back    

UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

unix top command (memory usage)

UNIX for Advanced & Expert Users

Closed Thread    
Thread Tools Search this Thread Display Modes
Old 03-16-2006
gfhgfnhhn gfhgfnhhn is offline
Registered User
Join Date: Mar 2006
Last Activity: 16 April 2007, 6:07 AM EDT
Posts: 77
Thanks: 0
Thanked 0 Times in 0 Posts
Error 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% system, 73.0% idle
Memory: Real: 1532M/3964M act/tot Virtual: 7767M/45341M use/tot Free: 75M

my question is why we dont get the total memory when we add Free memory
to actual memory?

1532(act)+75(free)!=3964 (total)

and my second question is:
what kind of information we can get from the first line
(load averages: 0.64, 0.57, 0.53 )

and lastly:
i have a system>> Compaq Tru64 UNIX V5.1B

how can i get information about swap activity?
Sponsored Links
Old 03-16-2006
Nemesis Nemesis is offline
Registered User
Join Date: Mar 2006
Last Activity: 31 March 2006, 1:29 PM EST
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Tools RE: memory usage

Top isn't showing you info on wired pages (pages in use that can't be used for paging).

Use "vmstat -P" to get a breakdown on memory usage.

Total memory = (Active Pages + UBC Pages + Wired Pages + Free Pages) * 8192/1048576

Top's act = (Active Pages + UBC PAges) * 8192/1048576
Top's Free = Free Pages * 8192/1048576

Use "swapon -s" for swap used/total, and "vmstat -s" for detailed info about swap activity.
Sponsored Links
Old 03-17-2006
buffoonix buffoonix is offline
Registered User
Join Date: Mar 2006
Last Activity: 26 January 2009, 11:26 AM EST
Posts: 145
Thanks: 0
Thanked 1 Time in 1 Post
In response to your second question.
The load is usually the averaged number of processes in the run queue
waiting for a context switch for the last minute, five minutes, and quater of an hour.
So the longer the queue the poorer your processing performance.
But I would say that the manpage of top or uptime should tell what is displayed.
The Following User Says Thank You to buffoonix For This Useful Post:
nikhil.g (09-10-2012)
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Command to display the space usage (memory usage) of a specific directory. abhisheksunkari UNIX for Dummies Questions & Answers 2 11-12-2010 04:26 AM
How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..? laknar AIX 3 07-16-2009 06:35 AM
Memory usage in Solaris - memory not freed? gewurtz Solaris 3 01-06-2009 12:06 PM
current CPU usage, memory usage, disk I/O oid(snmp) S_venkatesh Solaris 2 12-13-2008 06:19 AM
how can I find cpu usage memory usage swap usage and logical volume usage alert0919 HP-UX 3 12-02-2008 02:38 PM

All times are GMT -4. The time now is 08:22 AM.