Top utility installation in Solaris 10
Hello I've a SB 150 with Solaris 10 loaded. I tried to install top utility using pkgadd command and it showed that the package was added successfully. Following is the package name that I installed:
top-3.5.1-sol25-sparc-local
After this I have rebooted the server also. But when I type top in the terminal it gives the following output:
bash-3.00# top
bash: top: command not found
My question is any further steps required to configure this utility.
Thanking you all in advance.
Thanks and Regards
Britto Sidhan
# 1
It probably installed top into /usr/local/bin or /usr/local/sbin.
So you need to make sure the directory top is in is part of your path.
Try adding something like
PATH=$PATH:/usr/local/bin
export PATH
to the file .profile in your home directory.
Create this file if necessary,
# 2
any just for the sake of it, i've never seen a problem in Solaris that was solved by rebooting the server, futher more the name you posted indicates that you installed a version of top which was configured for Solaris 2.5.
Even though a Solaris 2.5 top should work under Solaris 10, it might be advisable to find a more recent top, if not else Solaris 10/SPARC is 64 bit and 2.5 was only 32 bits, and its also a much much much more advanced OS than 2.5 was.
.7/M.