top on decstation

Dirk Grunwald grunwald at foobar.colorado.edu
Tue Mar 6 04:49:59 AEST 1990


hi - i'm trying to patch the local version of top for the decstation.

i got the patch w.r.t. avenrun - load avgs are now shown correctly.

however, p_pctcpu in proc.h is spec'd as an int, but it doesn't tell
you how to convert it to a double. Is it also just a ``fix'' value?

seems rather implausible, since I'm getting values like 200->800
from it. Making it a fix would put those from 1% -> 3% cpu, which
doesn't sound right.



More information about the Comp.unix.ultrix mailing list