Computing.Net > Forums > Solaris > Script for system performance

Script for system performance

Reply to Message Icon

Original Message
Name: vastare
Date: January 18, 2006 at 23:31:22 Pacific
Subject: Script for system performance
OS: Sun Solaris 5.8
CPU/Ram: sparc
Comment:

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

Thanks in advance
-----------
VASTARE


Report Offensive Message For Removal


Response Number 1
Name: boarddude
Date: January 19, 2006 at 07:22:27 Pacific
Subject: Script for system performance
Reply: (edit)

Use the output of top?


Report Offensive Follow Up For Removal

Response Number 2
Name: vastare
Date: January 19, 2006 at 22:07:53 Pacific
Subject: Script for system performance
Reply: (edit)

Hi,

Please................

Can you tell me specifically, which command i have to use for?

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

If possible, a small example for this?


------------
vastare



Report Offensive Follow Up For Removal

Response Number 3
Name: FishMonger
Date: January 20, 2006 at 07:57:04 Pacific
Subject: Script for system performance
Reply: (edit)

Use the 'top' command.

http://unixhelp.ed.ac.uk/CGI/man-cgi?top


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Script for system performance

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge