[MUD-Dev] Text Parsing

Katrina McClelan kitkat at marcus.pants.nu
Fri Jun 11 11:33:21 CEST 1999


On Fri, 11 Jun 1999, Petri Virkkula wrote:

> >>>>> "Matthew" == Matthew Mihaly <diablo at best.com> writes:
> 
> Matthew> Hmm! So TOP isn't particularly accurate then? I was wondering
> 
> 	It is accurately showing how much a process is _directly_
> 	using memory. In my example there was 443M missing. My
> 	_guess_ was that it was mostly used by a disk cache, 

If this is a linux system that is very likely:

[kitkat at marcus kitkat]$ free
             total       used       free     shared    buffers     cached
Mem:         30760      27456       3304      25452      10532       7456
-/+ buffers/cache:       9468      21292
Swap:        72288          4      72284

30760k availible, 27456k used, 3304 "free", but of that, 21292k is set
aside as buffers (9468k of these buffers in use), so only about 6000k
actually in use by programs.  (note that if I start a compile or
something, the buffer space will disappear as memory is needed for the
user process.


If you are using FreeBSD this is also likely:

bash-2.03$ top -b
last pid: 21162;  load averages:  0.96,  0.89,  0.76    12:27:58
50 processes:  1 running, 49 sleeping

Mem: 70M Active, 17M Inact, 24M Wired, 69M Cache, 8161K Buf, 71M Free
                                       ^^^^^^^^^
Swap: 512M Total, 64K Used, 512M Free


Memory used this way is a very good thing.  Especially for high I/O stuff.
UNIX is your friend  :)

-Katrina



_______________________________________________
MUD-Dev maillist  -  MUD-Dev at kanga.nu
http://www.kanga.nu/lists/listinfo/mud-dev




More information about the mud-dev-archive mailing list