10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
All
I am writing a script to generate an email when cpu and memory usage is high for 5 min continuously
help me urgent
I wrote below scritpt
LOAD=75.00
CPU_LOAD= 'sar -P all 300 5 |grep 'Average.all* '| awk -F " " '(print 100.0 -$NF)''
IF };
ECHO "pLEASE CHECK YOUR PROCESS ON YOUR... (1 Reply)
Discussion started by: anil529
1 Replies
2. UNIX for Advanced & Expert Users
How hard is it to create some kind of timeout procedure for using to much memory or cpu on a linux/unix server? What would you have to do to do this? (8 Replies)
Discussion started by: cokedude
8 Replies
3. Shell Programming and Scripting
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
4. Solaris
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
5. Solaris
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... (3 Replies)
Discussion started by: masthan25
3 Replies
6. Solaris
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
7. UNIX for Dummies Questions & Answers
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
8. UNIX for Dummies Questions & Answers
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
9. UNIX for Dummies Questions & Answers
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
10. AIX
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