On Sep 27, 2007, at 7:03 PM, Daniel Berger wrote:

>
> gem install sys-proctable
>
> http://www.rubyforge.org/projects/sysutils
>
> Works on MS Windows, too.
>
> Regards,
>
> Dan
>
>

irb(main):005:0> ProcTable.ps(Process.pid)
=> #<struct Struct::ProcTableStruct pid=13848, ppid=22238,  
pgid=13848, ruid=501, rgid=501, comm="ruby", state="run", pctcpu=0.0,  
cpu_num=nil, tty_num=67108877, tty_dev="ttypd", wchan="", time=0,  
priority=24, usr_priority=0, nice=0, cmdline="", start_time=Fri Sep  
28 11:19:38 -0600 2007, max_rss=nil, ix_rss=nil, id_rss=nil,  
is_rss=nil, minflt=nil, maxflt=nil, nswap=nil, inblock=nil,  
oublock=nil, msgsnd=nil, msgrcv=nil, nsignals=nil, nvcsw=nil,  
nivcsw=nil, user_time=nil, system_time=nil>


nothing memory-ish looking in there is there?  i'm on darwin - no rss  
support there?

cheers.

a @ http://drawohara.com/
--
we can deny everything, except that we have the possibility of being  
better. simply reflect on that.
h.h. the 14th dalai lama