Script for system performance


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Script for system performance
# 1  
Old 01-19-2006
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

Thanks in advance
-----------
VASTARE
# 2  
Old 01-19-2006
I think you can use the output of the following commands


echo "q" | top 35 1
ps -ef
who

Last edited by mahendramahendr; 01-19-2006 at 10:51 AM..
# 3  
Old 01-19-2006
Use sar. It has everything you need
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

System performance

Hi I need to know the system performance : # echo "::memstat" | mdb -k Page Summary Pages MB %Tot ------------ ---------------- ---------------- ---- Kernel 358022 2797 9% ZFS File Data 2427072 18961 59% Anon 1096938 8569 27% Exec and libs 12020 93 0% Page cache 73859 577 2% Free... (4 Replies)
Discussion started by: dimitris
4 Replies

2. HP-UX

system performance

hi every body i want to check system performance i usually use glance,top,sar and swapinfo but i confused in something so i need explanation about memory issue first i want check the memory usage i used glance i found this parameter so i need one shows me the differences between these... (2 Replies)
Discussion started by: maxim42
2 Replies

3. Solaris

How to predict system performance?

I have received an order from upper level manager to "verify system information via Perform/predict'. They asks me to *predict* the system performance. How can I do it as a system admin without the help of application admins and DBAs? Thanks! (6 Replies)
Discussion started by: aixlover
6 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

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. (3 Replies)
Discussion started by: jayaramanit
3 Replies

6. Linux

system performance

Anyone know how to fetch the system performance information by the function except the system command? These information includes CPU load,memory usage,network load,disk capacity,etc. (5 Replies)
Discussion started by: Frank2004
5 Replies

7. UNIX for Dummies Questions & Answers

/client_local/ and system performance

I'm running Solaris 8 on a Sun ULTRA 5(SPARC II CPU, 270 MHz) with 64 Mb of RAM. The machine is very, very slow even doing normal tasks such as reading mail....... I'm nearly afraid to ask it to do some real work....... On checking out the machine(which I only received last week from our IT... (1 Reply)
Discussion started by: Kanu77
1 Replies

8. UNIX for Dummies Questions & Answers

System Performance Tool

Could someone point me in the correct direction or web link containing instructions for installing the System Performance Tool (aka STP) software on an IBM-AIX version 4.? machine. My client has the software (that came from their original server) on a 3" floppy. Thanks! (1 Reply)
Discussion started by: Pam
1 Replies
Login or Register to Ask a Question