On Mon, 2008-09-01 at 09:10 +0900, M. Edward (Ed) Borasky wrote:
> On Mon, 2008-09-01 at 06:54 +0900, d c wrote:
> > top
> > F
> > N
> > <enter>
> 
> Well, it ain't exactly that simple. First of all, "top" runs only on
> Unix-like systems, and sometimes needs to be installed. Second, the
> numbers "top" gives you are only as good as what it gets from the
> kernel. "top" in Linux, for example, is notoriously bad at estimating
> memory usage because it depends on some things in the /proc filesystem
> that are "less than correct".
> 
> I'll assume Linux. In fact, not only will I assume Linux, but I'll also
> assume you have the 2.6.25 kernel or later. *Then* you can do this:
> 
> http://tinyurl.com/3a56dq
> 
> HTH ;)

Some amendments to the links:

http://lwn.net/Articles/230975/

http://kernelnewbies.org/Linux_2_6_25#head-5a75e29195ffa59bfa5428ca28702e2e7df8f2ad


-- 
M. Edward (Ed) Borasky
ruby-perspectives.blogspot.com

"A mathematician is a machine for turning coffee into theorems." --
Alfrƥd Rƥnyi via Paul Erd