Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with fixing 'top' in RH 7.2

Status
Not open for further replies.

Ealric

MIS
Jun 6, 2002
4
US
Have a strange problem here. On a pretty much "stock" installation of RH 7.2, I can't run the 'top' command. I figured perhaps if I could find the rpm that provides 'top' to begin with, then perhaps a forced reinstall would work. Unfortunately, I can't seem to find that. The closest I get is libgtop, and it seems to provide the related libraries, but not the executable. Also, the one of the machines in the environment is able to run 'top' w/o libgtop, so there goes my theory there.

Anyhow, this is the error I get:

5:44pm up 428 days, 3:04, 1 user, load average: 0.03, 0.04, 0.00
37 processes: 36 sleeping, 1 running, 0 zombie, 0 stopped
Floating point exception
[user@server2 user]$
[user@server2 user]$
[user@server2 user]$ rpm -qa | grep libgtop
libgtop-1.0.12-4

Anyone have any suggestions for me? I could really use the help.
 
Try installing the 'procps' package. I don't know the Redhat equivalent, but in Mandrake, I do a 'urpmf /usr/bin/top' to get the name of the package that provides that file (even if it isn't installed, a limitation of rpm -qa | grep <file> if I remember correctly).


--
JR
 
rpm -q --whatprovides /path/to/top

The above should list the name of the rpm package that installed top.

My RH 7.2 machine lists procps-2.0.7-11

Ash
tnedor@bigfoot.com
 
Sorry about the late response, but thanks for the help, all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top