Output of Free command in unix?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Output of Free command in unix?
# 1  
Old 12-15-2009
Output of Free command in unix?

Hello, I need some help to interpret the below output...
What is -/+ buffers/cache?

My understanding is, total RAM is 3986152 Bytes, used RAM is 3950904 bytes.
What is buffers and cached?? Can any one please interpret this output? It would be great help if some one can help me on this?


Code:
oracle:/home/oracle/db/imp>free
             total          used          free        shared    buffers     cached
Mem:       3986152    3950904      35248          0       3428    3092364
-/+ buffers/cache:     855112    3131040
Swap:      8323056      35596    8287460
oracle:/home/oracle/db/imp>


Last edited by pludi; 12-15-2009 at 04:17 PM.. Reason: code tags, please...
# 2  
Old 12-16-2009
The second line is the important one, i.e.

3950904 - 3428 - 3092364 = 855112
3986152 - 855112 = 3131040
# 3  
Old 12-16-2009
Fpmurphy : Thank you for the reply!!. It is more clear now. Thank you again
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Interpreting Linux's free command output

I have two questions on Linux's free command. Below, I have provided output from my home laptop (fedora 26 ) which has 16GB Physical RAM and a production server (RHEL 7.4) which has 24GB RAM. Question1. What exactly does the buffer/cache column say in free command's output ? buffer/cache is... (9 Replies)
Discussion started by: omega3
9 Replies

2. Shell Programming and Scripting

UNIX command output format in email is not same as on the system

Hi I have script to collect file system usage statistics from few remote unix hosts and email . On the UNIX system the column spacing is fine but the email output is not aligned properly. Any tips to fix this ? (1 Reply)
Discussion started by: new2prog
1 Replies

3. Shell Programming and Scripting

Expect - assigning UNIX command output to a variable

Hi, I'm writing a script that connects through ssh (using "expect") and then is supposed to find whether a process on that remote machine is running or not. Here's my code (user, host and password are obviously replaced with real values in actual script): #!/usr/bin/expect set timeout 1... (3 Replies)
Discussion started by: oseri
3 Replies

4. Shell Programming and Scripting

How to echo output of a UNIX command (like ls -l ) using shell script.?

How do i echo the output of a unix command using shell script??? Like: echo /etc/ ls -l (2 Replies)
Discussion started by: sunny2802
2 Replies

5. Shell Programming and Scripting

UNIX command output in csv format

I'm just wondering is there any way to capture the output of a unix command in a csv format. df -h gives the result of filesystem,free space,Used space, use %,mounted on. Is there a way to capture the command output and format it as comma sparated or fixed length file. (3 Replies)
Discussion started by: anita81
3 Replies

6. UNIX for Dummies Questions & Answers

UNIX command output format

how can I get the df -h command output into excel format or csv file. df -k | tr -s " " | sed 's/ /, /g' | sed '1 s/, / /g' | column -t df -h | column -t I have tried as above but the format is not right. I'm not able to load the format into a excel or a table. ... (2 Replies)
Discussion started by: anita81
2 Replies

7. Shell Programming and Scripting

Unix shell command output to a sql statement

Can i do this Say one command sed 's/:*/ /g' $summf is returning C1234 C2345 C3434 some no of rows, now this ouput i have to insert it into a DB table how do i do this?? (2 Replies)
Discussion started by: depakjan
2 Replies

8. Red Hat

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. # free... (3 Replies)
Discussion started by: arumon
3 Replies

9. UNIX for Dummies Questions & Answers

Logging Command Line and Output in Unix

Hi, This might be a bit stupid question, but what command to use to create like a session which logs the command line, and output on to the screen? Basically, a log to a file, where I can review what I had install, uninstall, etc. Thank you (4 Replies)
Discussion started by: kittoinc
4 Replies

10. UNIX for Dummies Questions & Answers

Indent output of an UNIX command

Hi, How do I indent 4 spaces for standard UNIX commands like ls -ltr (or grep)? For example, I want ls -ltra to output as: <<spaces here>>-rw-r----- 1 a345696 rtkdevel 455 Dec 6 14:52 file1 <<spaces here>>-rw-r----- 1 a345696 rtkdevel 455 Dec 6 14:52 file2 <<spaces... (2 Replies)
Discussion started by: ssray23
2 Replies
Login or Register to Ask a Question