Re: Wrapping prstat on Solaris

2009-08-01 Thread Skip Montanaro
> You haven't told us how you are actually reading from prstat's output > pipe, which may be the cause. For instance, if you are doing > > for line in pipe: > print line > ... > > then this could cause your buffering issue. > > Instead try using readline(): > > while True: > line = pipe.

Re: Wrapping prstat on Solaris

2009-07-28 Thread ryles
On Jul 27, 10:26 am, s...@pobox.com wrote: > At work we currently use top to monitor ongoing system utilization on our > Solaris systems.  As time has moved on though, use of top has become > problematic.  Our admins want us to switch to prstat, Sun's top-like > command.  It works fine however does

Re: Wrapping prstat on Solaris

2009-07-27 Thread Diez B. Roggisch
s...@pobox.com schrieb: At work we currently use top to monitor ongoing system utilization on our Solaris systems. As time has moved on though, use of top has become problematic. Our admins want us to switch to prstat, Sun's top-like command. It works fine however doesn't emit a timestamp at e

Wrapping prstat on Solaris

2009-07-27 Thread skip
At work we currently use top to monitor ongoing system utilization on our Solaris systems. As time has moved on though, use of top has become problematic. Our admins want us to switch to prstat, Sun's top-like command. It works fine however doesn't emit a timestamp at each display interval, so i