Re: HZ=1024 for CPU >= 586?

CaT (cat@zip.com.au)
Tue, 19 Jan 1999 01:44:57 +1100 (EST)


Albert D. Cahalan wrote the following:
>
> I fixed top, ps, and more.
> http://www.cs.uml.edu/~acahalan/linux/procps-990103.tar.gz
>
> You can set HZ to 1024 without recompiling. You don't have to
> make /proc report values as if HZ had not been changed,
> but you could. It is your option.
>
> That also includes:
>
> CPU time info is correct for the very first time.
> Unix98 pty devices are shown.
> Both "ps aux" and "ps -ef" work now, and you can mix them freely.
> You don't have to update /etc/psdatabase when you recompile Linux.
> You don't have to update /etc/psdevtab when you change /dev.
> Processes can be selected by name. ("ps -C xterm,nxterm,rxvt")
> Formats are totally user-defined. ("ps -o ruser,euser,pid,cmd")

Umm, grabbed it, compiled it, used it as default and umm...

1117.root@kinder:/usr/local/src/procps-990103>> LD_LIBRARY_PATH=proc ./ps/ps aux | more
USER PID %CPU %MEM VSZ
RSS TTY STAT
START TIME
COMMAND
root 1 0.0 0.3 1132
496 ? S
Jan18 0:04
init [3]
root 2 0.0 0.0 0
0 ? SW
Jan18 0:00
[kflushd]
root 3 0.0 0.0 0
0 ? SW
Jan18 0:00
[kswapd]
root 55 0.0 0.5 1304
652 ? S
Jan18 0:00
syslogd
root 62 0.0 0.4 1164
528 ? S
Jan18 0:00
klogd
daemon 71 0.0 0.3 1148
508 ? S
Jan18 0:00
/usr/sbin/atd
root 80 0.0 0.4 1336
628 ? S
Jan18 0:00
crond
root 89 0.0 0.4 1284
588 ? S

Did I miss something real silly? :/

(glibx 2.0.109, ncurses-4.2-990102)

-- 
CaT (cat@zip.net.au)                       URL: http://www.zip.com.au/dev/null

There was farting in the air that night, It lit so bright, Fernando...

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/