Alberto Treviño wrote: > Here is the memory usage on my laptop as reported by top: > > Mem: 1036484k total, 456952k used, 579532k free, 396k buffers > Swap: 0k total, 0k used, 0k free, 184456k cached > > On my 1 GB laptop, I am using 450 MB of memory. However, about 180 MB > are being used by the system (file) cache, which is easily reclaimable > in case of a memory crunch. If you really want to know how much you > are using, you need to take the amounts used by the buffers and the > cache and subtract them from the total used value. I'm sure that's > what System Monitor is reporting. > > You are right > A better way to see memory usage from the command prompt is "free." > This is the output I get: > > $ free -m > total used free shared buffers cached > Mem: 1012 447 564 0 0 180 > -/+ buffers/cache: 266 745 > Swap: 0 0 0 > > Here free reports both the total usage and the usage without buffers and > cache. > > Thanks for the hint and explanation. -------------------- BYU Unix Users Group http://uug.byu.edu/
The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/newbies
