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

Spice_TelecomAsked:
Who is Participating?
 
robocatConnect With a Mentor Commented:

Download the compiled version from here:

ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/top-3.6.1-sol10-sparc-local.gz

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

0
 
woolmilkporcCommented:
Hi,
please look here -
 
http://www.groupsys.com/top/
 
wmp
 
0
 
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?
0
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.

 
robocatCommented:

@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.

0
 
LittlemorrisCommented:
woolmilkporc:

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

Kind Regards,
Brian
0
 
bstark_15301Commented:
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
0
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.