Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-06-2011, 03:45 AM   #1
Registered: Feb 2009
Posts: 37

Rep: Reputation: 15
Using top, difference between RES, SHR, VIRT


Fedora 15 Alpha

 3861 user     20   0  904m 128m  33m S  0.7  6.4   1:11.52 xulrunner-bin                                     
 1323 user     20   0 1555m  95m  31m S 13.5  4.8   4:06.87 gnome-shell                                       
 3494 user     20   0 1028m  50m  21m S 12.8  2.5   1:43.32 evolution
I just wondering what is the difference between RES, SHR, and VIRT.

1) The VIRT always seems to be higher. Is this using the paging file system. (virtual memory on the harddisk, the swap memory)
2) Is the RES memory the actual physical RAM memory?
3) Is shared memory sharing memory with other processes?
4) Just a final question. As I am running on a HP Mini 210, memory and CPU is a resource I don't have a abundence of. So if was to compare for example 2 difference browsers i.e. firefox and midora. What should I brench mark between to 2 to find what one uses less resources?

Many thanks for any suggestions,
Old 04-06-2011, 04:11 AM   #2
Registered: Nov 2010
Posts: 87

Rep: Reputation: 1
ps -eAf|grep firefox and other

look for RSS whatever process took less RSS that will be your hit.

RSS is (real memory size or resident set size in 1024 byte units).

Hope this helps


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why Are VIRT Size and RES Size Different When There is No Swapping? forbin Linux - Newbie 1 06-22-2010 02:44 PM
LXer: Hacking libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 on top of Ubunt LXer Syndicated Linux News 0 05-06-2010 03:50 PM
LXer: Getting virt-install to work with Xen 4.0 guests on top of Ubuntu 10.04 Server LXer Syndicated Linux News 0 05-03-2010 05:40 PM
LXer: Virt-install&Virt-manager at Xen 4.0-rc8 ( pvops) Dom0 on top Ubuntu K LXer Syndicated Linux News 0 03-26-2010 10:41 PM
top virt column value BobGratton Linux - General 1 12-09-2009 07:55 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration