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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

top for Solaris 8

Status
Not open for further replies.

nfaber

Technical User
Oct 22, 2001
446
0
0
US
Has anyone installed the "top" program on Solaris 8? I am having trouble compiling it and it seems as though top only works for Solaris versions up to 5 by the install program, but I have a hard time beleiving that.
 
top does work on Solaris 8. We use it in my office, but I did not install it so I'm not sure about the problems you are encountering. ~Sol
 
I am running top utility on My solaris 8 machine here..
Get the top utility from sunfreeware.com or gnu.org.. It works on Solaris..

Regds,

- Hemant
Networking and Systems Integration Group
Satyam Computer Services Ltd
 
Even I faced some difficulties in installation of top.As u all know the first step is to issue ./Configure and it will ask for a series of questions and next it will prompt us to enter "make install".I did that it giving a error as follows.
# make install
gcc -DHAVE_GETOPT -DORDER -c top.c
awk -f sigconv.awk /usr/include/sys/signal.h >sigdesc.h
gcc -DHAVE_GETOPT -DORDER -c commands.c
gcc -DHAVE_GETOPT -DORDER -c display.c
gcc -DHAVE_GETOPT -DORDER -c screen.c
gcc -DHAVE_GETOPT -DORDER -c username.c
gcc -DHAVE_GETOPT -DORDER -c utils.c
gcc -DHAVE_GETOPT -DORDER -c version.c
gcc -DHAVE_GETOPT -DORDER -c getopt.c
gcc "-DOSREV=58" -DHAVE_GETOPT -DORDER -c machine.c
machine.c:51: sys/dir.h: No such file or directory
machine.c:54: sys/dk.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `machine.o'

If u know the reason reply me .It would be helpful.
with regards,
natarajan
sysadmin
 
Knatarajan

I got it to work. Use the download and install the latest beta version (mine was ver. 11) and it will compile. I was getting the same error message.
 
Hello mike,nfaber and Ken,
thanks a lot for ur tips.I got it worked!thanks guys!for ur timely help.Top is working fine!
bye from,
natarajan
sysadmin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top