From: "M. Edward (Ed) Borasky" Date: 2008-09-01T09:10:19+09:00 Subject: Re: Measuring Memory Usage On Mon, 2008-09-01 at 06:54 +0900, d c wrote: > top > F > N > 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 ;) -- 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��s