![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9 | 0ktalmagik | Filesystems, Disks and Memory | 2 | 07-21-2008 04:38 AM |
| c language + simple question regarding memory addresses and ASCII characters | JamesGoh | High Level Programming | 7 | 01-30-2008 01:00 PM |
| Memory utilization question | skotapal | UNIX for Dummies Questions & Answers | 1 | 06-29-2007 03:33 AM |
| how to round up a memory address(memory alignment problem) | nj302 | High Level Programming | 6 | 09-21-2005 05:57 PM |
| Shared memory shortage but lots of unused memory | cjcamaro | UNIX for Advanced & Expert Users | 1 | 10-13-2004 02:10 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
memory question
Following is the result of commands vmstat and free, on a linux machine:
$ vmstat procs -----------memory---------- ---swap-- -----io---- -system-- -----cpu------ r b swpd free buff cache si so bi bo in cs us sy id wa st 0 0 40 207344 135724 3234048 0 0 1 1 5 4 0 0 100 0 0 $ free total used free shared buffers cached Mem: 4023072 3815500 207572 0 135724 3234048 -/+ buffers/cache: 445728 3577344 Swap: 2104472 40 2104432 My question is: I am not running any memory consuming programs, why 3.8G of the toal 4G memory is used right now? Is it going to run out of memory shortly? Thanks! |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
As you can see, 3Gb of your memory is "cached" and will be released by the kernel if it's required.
Cheers ZB |
||||
| Google The UNIX and Linux Forums |