Link to home
Start Free TrialLog in
Avatar of Spice_Telecom
Spice_TelecomFlag for India

asked on

how to install top command in solaris 10

Sun Server Version : SunOS 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V890

Top.cls , dl  command is not working in solaris 10
bash: top: command not found

Please give me the steps to install top command in my server

Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Hi,
please look here -
 
http://www.groupsys.com/top/
 
wmp
 
ASKER CERTIFIED SOLUTION
Avatar of robocat
robocat

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Why do you want to use top instead of prstat? The top command uses Sun private interfaces and can cease to work when a patch is installed. Is there something that the more stable prstat command does not provide you that you need?
Avatar of robocat
robocat


@blu:

I don't want to answer in place of Spice_Telecom, but in my personal opinion a lot of admins prefer to use top because it provides some general memory/swap statistics, %iowait, etc... in a blink of an eye.

woolmilkporc:

If you have access to a solaris 5.9 Server then copy the top command from /usr/local/bin

Kind Regards,
Brian
The pkgadd command shown in the solution has a typo, it should be:
pkgadd -d top-3.6.1-sol10-sparc-local

In addition, I would update /etc/profile to append /usr/local/bin to the PATH by adding a line such as:
export PATH=$PATH:/usr/local/bin