I'm trying to create a script to catch a process which is consuming high CPU which I have pretty much done but it's just finding the correct place to pull the current CPU for that process.
When viewed in Topas it's consuming 99.*% cpu
But if I try using
it shows as only consuing 9.*%.
is there another command that would reflect the figure in topas?
if you see a process in nmon consuming 99% than that means that it is consuming 99% of one thread (lcpu) what is in most cases not really a reason for concern, particularly not if you i.e. have an oracle DB server
Regards
zxmaus
If you have power 5 and higher with micro partition option and lpar uncapped thre is few parameters that you need to check
First you need to check your configuraction
Check there for Entitled Capacity and Online Virtual CPUs
and MODE
If your Lpars is in mode uncapped nad online virtual cpu value is higher then Entitled Capacity then it mean that you are using over-commitment
Entitled Capacity - means guarantied value of cpu
Online Virtual CPUs means maximum value of cpu your server can use.
You can get in to situation that lpar is using 90% of 0.2 of cpu it is not a problem because it can use max 2CPU and it dues not need it
best commend to make those views would be lparstat 1 10
and vmstat 1 10
for long term analysis i advice nmon or lpar2rdd tool
OS: AIX
so we frequently receive a lot of cpu related alerts. all types of checks have been created to keep an eye on the cpu but a lot of these checks make too much noise as the CPU is always being seen as high. the system and application owners say there's no issue with the cpu.
so now,... (6 Replies)
i am using the below command in order to find the cpu utilization by a user..now i want to mail if the cpu utilization goes beyond 5%....can someone please help me ?
ps auxw | sort -r +2 | awk '{ print $3,$1 }' | head -6 | egrep "USER|#anonymous#"
%CPU USER
2.0 anonymous
Regards,... (6 Replies)
I have started a new job which requires AIX admin skills, which I have, and RHEL skills. Does anyone have a cheat sheet that if I know how to solve the problem in AIX how would I do that in RHEL? I was an IBM pre-sales technical trying to keep sales guys honest - not possible. Any other links to... (5 Replies)
Hi
Hope you are having a great weeknd !! I had a question and need your expertise for this :
I have 2 files File1 & File2(of same structure) which I need to compare on some columns. I need to find the values which are there in File2 but not in File 1 and put the Differences in another file... (5 Replies)
I've been more used to Solaris, but am now working on an IBM AIX box, P650
Certain commands like "top" are no longer available. Any ideas on where I can find help on this matter?
Christopher Freville
Alberquerque, NM (6 Replies)
Hi,
may be this is an AIX noob question:
my current C++ application runs on Linux and is quite memory consuming. Therefore, the application writes a logfile after it has finished containing memory information, CPU information, information on the running other processes besides my application... (5 Replies)
Hi,
may be this is an AIX noob question:
my current C++ application runs on Linux and is quite memory consuming. Therefore, the application writes a logfile after it has finished containing memory information, CPU information, information on the running other processes besides my application... (0 Replies)
Hi.
I am looking for a command that will return me the amount of CPU used by a specific process in AIX environment.
I know there is TOPAS - but it is interactive and I need to get this information from system that connects remotely via SSH.
Using writing to files and than reading them is also... (1 Reply)
hi,
i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Hello All,
I wanna find the CPU utilization of a specific process running on AIX OS. I have its pid, but not sure about the command.
iostat
sar 5 5
vmstat
All the above give me system CPU utilization. Is there a way to find for a specific pid???
Thanks,
Ankita (11 Replies)