Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!rice!rice!sun-spots-request From: jms@tardis.tymnet.com (Joe Smith) Newsgroups: comp.sys.sun Subject: Problems with 'top' on a Sun3x Keywords: Source Message-ID: <1990Aug2.002508.16683@rice.edu> Date: 31 Jul 90 21:13:42 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 21 Approved: Sun-Spots@rice.edu Originator: spots@titan.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 284, message 7 I picked up the latest sources to the 'top' program from Rice the other day, and it worked fine on a 3/50 and a 3/60, but not on a 3/480. After recompiling on the 3/480, it did the opposite. 'top' was showing the top 10 users of the CPU, but not the command they were running. Conclusion: With 4.0.3, you could get away with a single executable binary for both Sun-3 and Sun-3x systems, but that no longer works with 4.1 of SunOS. Due to kvm differences, single binary for 'top' will not run on both a Sun-3 and a Sun-3x machine. Therefore it should not be installed in /usr/local or any other common directory on the /usr partition. It should be installed in the appropriate /usr/kvm partition. For instance: install -s -o root -m 2755 -g kvm top /usr/kvm/local/top ln -s /usr/kvm/local/top /usr/local/top This warning probably needs to be added to the sources on rice. Joe Smith (408)922-6220 | SMTP: jms@tardis.tymnet.com or jms@gemini.tymnet.com BT Tymnet Tech Services | UUCP: ...!{ames,pyramid}!oliveb!tymix!tardis!jms PO Box 49019, MS-C41 | BIX: smithjoe | 12 PDP-10s still running! "POPJ P," San Jose, CA 95161-9019 | humorous dislaimer: "My Amiga speaks for me."