Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

djberg96 (2603)

djberg96
  (email not shown publicly)

Journal of djberg96 (2603)

Tuesday November 05, 2002
03:31 PM

top pain

[ #8778 ]
As I'm scouring comp.unix.solaris for tips, tricks and code snippets, I'm realizing a few things. It seems that the values reported for memory and cpu usage are not (necessarily) accurate or simply use a calculation you wouldn't expect. You can look at "top -n 1" vs "swap -s" to see one example of what I mean.

Also, I haven't determined why top shows fewer processes than I can see under /proc. Currently (running as root), for example, top says I have 103 processes, but there are 108 under /proc. I'm showing idle processes, too, so that's not it.

Well, anyway, I've got the load average part done for Solaris. That's something, I guess.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.