Top header says 50% free, but table shows 100% used

Thread Tools Search this Thread
Operating Systems Linux Top header says 50% free, but table shows 100% used
# 1  
Old 03-22-2011
Top header says 50% free, but table shows 100% used


Can anyone explain this?
top - 04:21:04 up 23 days,  2:35,  1 user,  load average: 0.02, 0.02, 0.00
Tasks:  37 total,   1 running,  36 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,100.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:    524288k total,   253084k used,   271204k free,        0k buffers
Swap:        0k total,        0k used,        0k free,        0k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND          
12212 root      18   0  270m 106m 7320 S  0.0 20.8   0:36.63 httpd             
18037 nobody    18   0  270m 100m 1284 S  0.0 19.6   0:00.00 httpd             
18041 nobody    18   0  270m 100m 1248 S  0.0 19.6   0:00.00 httpd             
18042 nobody    18   0  270m  99m  688 S  0.0 19.5   0:00.00 httpd             
18035 root      19   0  220m  97m  124 S  0.0 19.0   0:00.00 httpd

There are many more lines of top results, adding up to well over 100%. Due to decent performance, I'm assuming the values in the header section are correct, but why the discrepancy? It is a VPS, if that's relevant.

# 2  
Old 03-23-2011
Originally Posted by varontron
Due to decent performance, I'm assuming the values in the header section are correct, but why the discrepancy?
That probably includes any shared memory, i.e. things like libc that get loaded into memory once but used in umpteen different processes.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Insert date/time header at top of file

I'm trying to take mrt output and put it at the top of a file along with the date and time. I was able to do it at the bottom of the file with the following printf "********** $(date) **********\n\n" >> $OUTPUT_PATH/$HOSTNAME mtr -r -w -c 10 $HOSTADDRESS >> $OUTPUT_PATH/$HOSTNAME printf... (2 Replies)
Discussion started by: kramer65
2 Replies

2. Red Hat

Need help on top and free command.

Hi, from below output.How to read or relate one marked in bold. $ free -m total used free shared buffers cached Mem: 129176 92753 36423 0 2268 39973 -/+ buffers/cache: 50511 78664 Swap: 31996 ... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

3. Solaris

Physical and Free mem on TOP command

Hi, When I run the free command on solaris, I get the following: "Memory: 60G phys mem, 69G free mem" Q: how cna the free mem be higher then the physical mem?:confused: Amit (3 Replies)
Discussion started by: amitlib
3 Replies

4. Shell Programming and Scripting

How to Add Table with Header for Shell Output

I have a Script that generates 3 columns of the result. The line script is /usr/xpg4/bin/awk -F' ' '{print $1 /t $2}' File_Name | awk -F'>' '{print $2}' | cut -d'<' -f1 | sort -rn | uniq -c The output of the Command is : Code.500 4 Input Error Code.404 ... (4 Replies)
Discussion started by: raghunsi
4 Replies

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

6. Shell Programming and Scripting

Extract header from top command output

hi, I want to extract and save the cpu(s) information from top command output, but individual cpu statistics separately on a multi-processor machine. In command line, top will show this statistics when we press the switch "1". any ideas? thanks, meharo (3 Replies)
Discussion started by: meharo
3 Replies

7. Solaris

df ľk shows 100% used for a slice even after min free has been decreased from 10% to

Hi Gurus, For a particular slice I have change the minfree from 10% to 1% with tunefs -m and its allowing the creation of file on that slice, however when I am seeing the same with df -k it says that the slice is 100% full. What could be reason for this? Thanks (2 Replies)
Discussion started by: kumarmani
2 Replies

8. BSD

How to create IP table at Free BSD

Now, I had installed free bsd at my office. Unfortunitely, Email server have been using Local PoP3 and SMTP to our ISP with outlook. but my unix firewall sever ( free bsd ) didn't allow these port ( 110 & 25 ). How can i create the IP table to pass at server. If u have any experience about obvious... (4 Replies)
Discussion started by: Ashraff Ali
4 Replies

9. UNIX for Dummies Questions & Answers

top shows stopped process

When I run the top command, it shows 1 process as being Stopped. This is not a zombie, but simply a stopped process. Unfortunately, I can't figure out how to tell which process this is, nor why it is in a stopped state? Any way of finding this out? (7 Replies)
Discussion started by: IrishRogue
7 Replies
Login or Register to Ask a Question

Featured Tech Videos