LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices



Reply
 
Search this Thread
Old 12-31-2007, 03:48 AM   #1
sunram
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???


Regard's
Sunram
 
Old 12-31-2007, 04:15 AM   #2
ghostdog74
Senior Member
 
Registered: Aug 2006
Posts: 2,697
Blog Entries: 5

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

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

hi
check this command Thanks

Last edited by sunram; 01-02-2008 at 01:49 AM.
 
Old 01-04-2008, 07:19 AM   #4
javier.e.menendez
Member
 
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, 06:36 PM   #5
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,314

Rep: Reputation: 175Reputation: 175
sdtperfmeter
 
Old 01-05-2008, 12:25 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,523

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
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, 02:52 PM   #7
finaluser
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, 03:02 PM   #8
DotHQ
Member
 
Registered: Mar 2006
Location: Ohio, USA
Distribution: Red Hat, Fedora, Knoppix,
Posts: 542

Rep: Reputation: 33
Quote:
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.
 
  


Reply


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 08:32 AM
cpu usage bijuhpd Linux - Newbie 4 10-02-2005 11:41 PM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 09: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 05:45 AM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 06:55 AM


All times are GMT -5. The time now is 11:30 PM.

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