[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


how to install top command in solaris 10

Posted on 2008-11-17
Medium Priority
Last Modified: 2013-12-27
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

Question by:Spice_Telecom
LVL 68

Expert Comment

ID: 22974739
please look here -
LVL 22

Accepted Solution

robocat earned 1500 total points
ID: 22974773

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

LVL 22

Expert Comment

by:Brian Utterback
ID: 22975052
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?
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 22

Expert Comment

ID: 22976010


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.


Expert Comment

ID: 23630360

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

Kind Regards,

Expert Comment

ID: 23659279
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month19 days, 10 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question