Script to check solaris system performance


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Script to check solaris system performance
# 1  
Old 06-05-2008
Script to check solaris system performance

Hi,

I need a script which runs in the solaris system and check the system performance eg .CPU usage, and send an alert when an thresold level is
reached.

kindly help me on this.
# 2  
Old 06-05-2008
Question Please be more specific on what you are looking for...

I can do the following:
Code:
> top -d3 | grep "CPU states:" | tail -1
CPU states: 93.7% idle,  1.3% user,  5.0% kernel,  0.0% iowait,  0.0% swap

Are you looking for something like that "93.7% idle"?
# 3  
Old 06-06-2008
we dont have top utility enabled in our system, please help me using some command like prstat.......
# 4  
Old 06-06-2008
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Solaris

System Check Performance Tuning

Hello Forum, Well I am fairly new to this Solaris os thing. One thing I would like to check for system health and performance. I know the codes like prstat,vmstat,sar,iostat,netstat,prtdiag -v, What else does a want to be sys admin have to look for when checking a solaris box? I know... (3 Replies)
Discussion started by: br1an
3 Replies

2. Shell Programming and Scripting

Script to check file system size

Dears, the output of this command df -h | tr -s ' ' | cut -f5 -d' ' is capacity 24% 0% 0% 0% 0% 1% 0% 24% 24% 0% 93% 1% (4 Replies)
Discussion started by: xxmasrawy
4 Replies

3. Shell Programming and Scripting

To check the system configuration on Sun solaris

Hi, Could you pls. let me know what is cammand in unix to check the system configuration on Sun solaris. Thanks in advance. Cheers (2 Replies)
Discussion started by: krackjack
2 Replies

4. Solaris

How I can get System Performance on Solaris

Hi All, Can someone help me out knowing all commands for getting system performance on Solaris machines. Thanks in advance, Yagami Light. (5 Replies)
Discussion started by: Yagami
5 Replies

5. Shell Programming and Scripting

File System Check using shell script !!!

Hi Guys I m posing this new thread as I didnt get satisfactory result after running search here. My requirement is very simple (using shell script) I need to findout what all file systems are mounted -> Then I need check the health of that file system - by disk usage & by doing a simple... (8 Replies)
Discussion started by: csaha
8 Replies

6. Shell Programming and Scripting

Script for system performance

I need to prepare script which will run as background process ever 30 mins to collect the following information 1. Memory usage. 2. CPU usage. 3. Number processors running. 4. System resource (CPU and Memory) used by each process. 5. Number of sessions logged PLEASE HELP ME OUT FROM THIS ... (2 Replies)
Discussion started by: vastare
2 Replies
Login or Register to Ask a Question