Regarding cpu & memory utilize


 
Thread Tools Search this Thread
Operating Systems Solaris Regarding cpu & memory utilize
# 1  
Old 05-27-2010
Regarding cpu & memory utilize

Dear all,
i am not getting the exact things what i am expecting from
these commands . just clarify this things ,
1. cpu utilization (min)%
2.peak load cpu utilization (max) %
3.cpu utilization(avg)
4. peak disk busy %
5. peak kb read
6.peak kb write
7.free memory
for above thingsi tried the commands i mentioned below here ,but for
that output i couldnt find which was the exact answers. please give me
a solution.
1. sar
2. prstat
3. vmstat
4.mpstat
# 2  
Old 05-27-2010
I believe u wont able to achieve the same just by executing the command as simply the option seems to be executing those commands after certain time duration and compare the output. which can be only achieve with script!!
# 3  
Old 05-29-2010
The program "top" should be able to give you most of that. I don't think top will give you hard drive busy % or read/write usage. But, you can use Perl with top to set up everything you need to know.
# 4  
Old 06-01-2010
Try Orca. You should be able to get everything you want and more from it. Doesn't support ldoms though.

BigAdmin Feature Article: Monitoring System Performance With Orca, RRDtool, and the SE Toolkit
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Get the memory and cpu usage

what is the best way to get the memory and cpu usage of a process on any system? this is relatively simple. however, i'm looking for a unified method that would work on linux, sunos, hpux, aix. ps -ef | egrep myprocess | awk '{print $4}' ---> there could be several instances of 'myprocess'... (3 Replies)
Discussion started by: SkySmart
3 Replies

2. Solaris

Memory or CPU size

Is there a command or file I can look at that tells me how much real memory a machine has? A little background. In my shop we run a bunch of java programs, sometimes some of these jobs have config definitions that call for 2G. I would like to know how many I can run before I exhaust rescources. Any... (12 Replies)
Discussion started by: Harleyrci
12 Replies

3. UNIX for Advanced & Expert Users

How to find out memory & cpu usage of a process

Hi, By using time command we can determine the execution time of a process or command. bash-2.04$ time ls -l total 0 -rw-r--r-- 1 admin tac 0 Oct 6 04:46 file1 -rw-r--r-- 1 admin tac 0 Oct 6 04:46 file2 real 0m0.002s user 0m0.000s sys 0m0.001s... (5 Replies)
Discussion started by: learn more
5 Replies

4. Solaris

OS is not detected CPU and memory

Hi, Server AIBVRFCC failed POST while booting on 06/28/2009. Server is up, but OS cannot see two CPUs (CPU 0 and CPU 2) and half of the installed system memory (8 GB is physically installed but only 4 GB is seen by OS now). bld00016:root psrinfo 1 on-line since 06/28/09 05:51:36 3 on-line... (1 Reply)
Discussion started by: arumsun
1 Replies

5. UNIX for Dummies Questions & Answers

snmptrapd uses all the CPU and 4 Go memory

Hello all, Below what I saw on my solaris 10 box : $ prstat PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP 683 root 4082M 91M run 10 0 41:45:39 96% snmptrapd/1 syslog gives a lot of : snmptrapd: illegal data attempted to be added to table nlmLogVariableTable... (0 Replies)
Discussion started by: Gino_75
0 Replies

6. UNIX for Dummies Questions & Answers

CPU/Memory utilization

hi guys I just want to know how to get the cpu/memory utilization of a running script? Well i know that I can use the sar command but it shows the whole system's statistics. Is it possible to get the stats of a single scirpt or a single running service? (6 Replies)
Discussion started by: khestoi
6 Replies

7. UNIX for Dummies Questions & Answers

cpu, memory and virtual memory usage

Hi All, Does anyone know what the best commands in the UNIX command line are for obtaining this info: current CPU usage memory usage virtual memory usage preferably with date and time parameters too? thanks ocelot (4 Replies)
Discussion started by: ocelot
4 Replies

8. UNIX for Dummies Questions & Answers

CPU & Memory value for scripts...!

Hi All, I want to calculate CPU utlization and memory utilization on solaris box..! could some one help me out on this topic..! right now i am using TOP command for both the values..! i want this to automated..! script should some thing like CPU utilization = (100-ideal value)%... (2 Replies)
Discussion started by: bullz26
2 Replies

9. AIX

Utilization for memory and cpu

Hi all I need command to give me the utilization for memory and cpu,and how can I know if the utilization ok or no? for example in hp unix #top it is give me utilize for cpu and memory and also I can know if utilize ok or no. thanks (2 Replies)
Discussion started by: magasem
2 Replies

10. HP-UX

How to determine cpu&memory percentage usage per user

Using HP-UX v11 Need to monitor cpu and memory usage, total for system and separately for each user in command-line mode. Found out next ways to monitor total cpu usage under hp-ux: 1) vmstat, also shows free memory 2) sar -M ps -eo user,pcpu - does not work, means 'user-defined format'... (4 Replies)
Discussion started by: hp-ux-user
4 Replies
Login or Register to Ask a Question