|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Understand output of "free" command
Hi Friends, I am really confused with the output of "free" command on redhat linux. I can see caching and buffer output on two different areas on the output. Please let me know whats the difference of these two different outputs. Here I am pasting the command output of my server. Code:
[root@ww-vl-ora06 ~]# free -m
total used free shared buffers cached
Mem: 12011 9825 2186 0 243 5829
-/+ buffers/cache: 3752 8259
Swap: 16378 313 16065Regards, arumon :-) Last edited by pludi; 12-30-2009 at 07:41 AM.. Reason: added code tags |
| Sponsored Links | ||
|
|
|
#2
|
|||
|
|||
|
Hi, if you add buffers and cache together, you get: 6072. If you subtract 6072 from used you get 3752 used and if you add it to free you get 8259 free.
|
|
#3
|
|||
|
|||
|
You may be interested in running this instead: Code:
vmstat -s -S M | grep mem you can alias that if you like. Something like this works well: Code:
alias meminfo='vmstat -s -S M | grep mem' Last edited by mark54g; 01-05-2010 at 07:49 AM.. |
|
#4
|
|||
|
|||
|
Thank you everybody for the replys.
I understood it more clearly. Regs, Arumon |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Output of Free command in unix? | govindts | UNIX for Advanced & Expert Users | 2 | 12-16-2009 11:25 AM |
| Unable to understand disk layout and where are the free space | kumarmani | Solaris | 9 | 09-09-2009 08:05 AM |
| Sed command - help me understand | niks | Shell Programming and Scripting | 2 | 05-19-2009 12:13 PM |
| Need help to understand chatr command | kprasanna_79 | HP-UX | 1 | 10-03-2008 06:36 AM |
| Can't understand sar command | shaan_dmp | UNIX for Dummies Questions & Answers | 1 | 10-23-2007 07:04 AM |