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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

woolmilkporcCommented:
Hi,
please look here -
 
http://www.groupsys.com/top/
 
wmp
 
0
robocatCommented:

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.