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

Who is Participating?
robocatConnect With a Mentor Commented:

Download the compiled version from here:

gunzip top-3.6.1-sol10-sparc-local.gz
pkgadd -d gunzip top-3.6.1-sol10-sparc-local

start as /usr/local/bin/top

please look here -
Brian UtterbackPrinciple Software EngineerCommented:
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?
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.



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.


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

Kind Regards,
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.