[comp.unix.ultrix] top on decstation

grunwald@foobar.colorado.edu (Dirk Grunwald) (03/06/90)

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.