The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Solaris equivalent of the ioscan command etc SUN Solaris 5 05-16-2008 12:55 AM
Equivalent command to 'stat' im_new Shell Programming and Scripting 3 12-27-2007 02:28 AM
equivalent of ptree command in zsh dhams Shell Programming and Scripting 3 09-11-2007 04:07 PM
Command equivalent to DOS mode for SCO 5.0.6 jgt UNIX for Advanced & Expert Users 3 05-11-2007 04:10 AM
SQL Spool equivalent command in DOS stevefox Windows & DOS: Issues & Discussions 2 01-17-2006 05:18 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-15-2008
Registered User
 

Join Date: May 2008
Posts: 6
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Post I want a command in solaris equivalent to glance in HP-UX

Hi,

C an someone help me out in getting the command to get system statistics like CPU, DISK and I/O utilization in a single command instead of mpstat,vmstat and iostat.

When i give sar, getting the following error,
bash-3.00# sar
sar: can't open /var/adm/sa/sa15
No such file or directory

Regards,
Rajesh
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-15-2008
Registered User
 

Join Date: May 2007
Posts: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
how about 'prstat', will that work for you ?
Reply With Quote
  #3 (permalink)  
Old 05-15-2008
Registered User
 

Join Date: May 2008
Posts: 6
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
prstat is equivalent to top, not glance

prstat doesn't gives you the system level statistics like CPU, DIS and IO utilization of system.
Reply With Quote
  #4 (permalink)  
Old 05-16-2008
Registered User
 

Join Date: May 2008
Posts: 49
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
same cmds in hp & sol

prstat
top
sar

if sar is not working just u restart the service
Reply With Quote
  #5 (permalink)  
Old 05-16-2008
Registered User
 

Join Date: Apr 2008
Posts: 45
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
It was long back i logging into HP box. There is a command on HPUX which gives CPU and other details.. First find print_msg and execute the absolute path.
Reply With Quote
  #6 (permalink)  
Old 05-16-2008
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,253
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Try something like:
sar -v 1 4
to have sar display the current state of the system. And glance runs on Solaris except that with zones it must run in the global zone. I don't know how to get a copy. Try contacting HP using the contact info on this page: GlancePlus overview and features redirect
Reply With Quote
  #7 (permalink)  
Old 4 Weeks Ago
Registered User
 

Join Date: Jun 2008
Posts: 1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Smile

You can try sar command like this

sar -d 1 5 ( For disk statistics )

sar -u 1 5 ( System Load stats )
sar -w ( memory/swap utilisation stats etc )


More commands

prstat
iostat
vmstat

etc
Reply With Quote
Google UNIX.COM
Reply

Tags
solaris

Thread Tools
Display Modes


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
"inappropriate ioctl for device" 421 service not available, remote server has closed connection ascii eof autosys awk trim bash eval bash exec bash for loop boot: cannot open kernel/sparcv9/unix close_wait command copy/move folder in unix curses.h cut command in unix dead.letter find grep find null character in a unix file grep multiple lines grep or grep recursive grep unique inaddr_any inappropriate ioctl for device logrotate.conf lynx javascript mailx attachment mget mtime perl array length ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp batch sftp script snoop unix stale nfs file handle syn_sent tar exclude unix unix com unix forum unix forums unix interview questions unix mtime unix simulator unix.com vi tab size vi+substitute+end+of+line+character while loop within while loop shell script


All times are GMT -7. The time now is 12:45 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101