mogul@jove.pa.dec.com (Jeffrey Mogul) (08/21/90)
I had a little free time so I tried to fix some of the portability problems with the "top" program ("top" is sort of a real-time "ps uax"). I've got it working on Ultrix 4.0 Vax Ultrix 4.0 RISC Ultrix 3.1D RISC Ultrix 3.0 Vax The code has been tested on an SMP Vax (dual processor) but not on an SMP RISC system, although I don't expect any problems. Also, the sources have not been tested for portability back to non-Ultrix systems (I tried to avoid breaking anything, but ...). This is version 2.1 of "top"; there are more recent versions floating around, but this is the one that I had. Sources: anonymous FTP to gatekeeper.dec.com "type binary" "get pub/DEC/top.tar.Z" Be careful: as the README file says CAVEAT: version 2.0 of top has internal commands that kill and renice processes. DO NOT INSTALL TOP AS A SETUID PROGRAM, or you will open up a big security hole since top makes no process ownership checks on its own. Note that it is still safe to install top as a set group-id program, since group-id has no bearing on who can renice or send signals to what processes. and on a 4.0 system you'll have to install "top" as setgid for group "kmem" if you want non-super-users to be able to run it. This software is not in any way supported or guaranteed by Digital Equipment Corporation, of course. -Jeff