I've sun solaris 11.2 and I want to install and use sysstat and use it the way I use it on linux-ubuntu to monitor some activities and run cpu and memory checks for certain time intervals.

I was looking in the internet i couldn't find sysstat for solaris, so could you please help me how to install on solaris if exists

if not, is there any other simple command or utility that I can use to monitor the cpu and memory. Thanks in advance.


3 Answers 3


Many tools are available on Solaris 11.2 by default like:


You can also use top, I don't remember if it is installed by default, but the package is called: pkg:/diagnostic/top


To enable sar you can install the package pkg:/system/accounting/legacy-accounting and configure the crontab for the sys account:

crontab -l sys
#ident  "%Z%%M% %I%     %E% SMI"        /* SVr4.0 1.2   */
# The sys crontab should be used to do performance collection. See cron
# and performance manual pages for details on startup.
 0 * * * 0-6 /usr/lib/sa/sa1
 20,40 8-17 * * 1-5 /usr/lib/sa/sa1
 5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A

Data is stored in /var/adm/sa

  • These seem great but i want to run monitoring for intervals and store to txt later on to analyze the difference. Meaning I want to enable auditing and compare memory and cpu results before and after enabling the auditing on solaris. In ubuntu i would be using sar configured to run every 5 minutes intervals Commented Mar 23, 2017 at 12:23
  • 1
    @N.J, Just saw your comment. the system accounting and reporting utility is also available for Solaris, see the updated answer.
    – Lambert
    Commented Mar 23, 2017 at 15:03

Based on your comment to @Lambert's answer, what you are looking for is called GUDS. This tool that is available for customer with support and it will gather all the stats that you specify for a time period. You can define the interval, for how long and start and stop time.

Otherwise, you need to do it manually with the tools Lambert mentioned.


sysstat is just a collation of tools, most of which can be found on Solaris, as well as other UNIX OSes.

An older tool that did what you want was called canary. You could also look into using Nagios. I've seen multiple blogs and docs showing how to build Nagios for Solaris 11. I think there's even an official Oracle doc showing how to build it and make it a deployable IPS package.

If you are a larger shop with a support contract, you may also want to consider using Ops Center.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .