Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 12-31-2007, 02:48 AM   #1
LQ Newbie
Registered: Oct 2007
Location: India
Posts: 23

Rep: Reputation: 15
How to check the CPU usage in solaris?

Dear all,

How to check the CPU Usage in solaris.we want per cpu how much percentage using. But normally prstat command display all jobs and using process. but how to find out per cpu load .Any command is available in solaris???

Old 12-31-2007, 03:15 AM   #2
Senior Member
Registered: Aug 2006
Posts: 2,697
Blog Entries: 5

Rep: Reputation: 244Reputation: 244Reputation: 244
man mpstat
Old 01-02-2008, 12:47 AM   #3
LQ Newbie
Registered: Oct 2007
Location: India
Posts: 23

Original Poster
Rep: Reputation: 15
Originally Posted by ghostdog74 View Post
man mpstat

check this command Thanks

Last edited by sunram; 01-02-2008 at 12:49 AM.
Old 01-04-2008, 06:19 AM   #4
Registered: Jan 2006
Posts: 168

Rep: Reputation: 30
prstat will probably be easier for you. Look at the bottom part of the output. If you have non-global zones in 10, use prstat -Z to see the breakdown by zones.
Old 01-04-2008, 05:36 PM   #5
Senior Member
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,421

Rep: Reputation: 199Reputation: 199
Old 01-04-2008, 11:25 PM   #6
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,702

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
This thread title is misleading. prstat and sdtperfmeter do not address to the OP real request which is per CPU statistics.
Old 11-19-2008, 01:52 PM   #7
LQ Newbie
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
Recently I was looking for same command

sar 1
sar -u 10 60

mpstat 10 60

I hope that works for you.
Old 11-19-2008, 02:02 PM   #8
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 545

Rep: Reputation: 33
Originally Posted by finaluser View Post
sar 1
sar -u 10 60

mpstat 10 60

I hope that works for you.
Good first post finaluser!!! You beat me. I was going to suggest sar -u.
Welcome to LQ.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
about CPU USAGE Pravab Linux - General 6 07-05-2006 07:32 AM
cpu usage bijuhpd Linux - Newbie 4 10-02-2005 10:41 PM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 05:55 AM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 10:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration