ps uax comand on AIX box


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting ps uax comand on AIX box
# 1  
Old 05-23-2006
ps uax comand on AIX box

I am trying to find the total CPU usage on an IBM AIX machine that could have several processors. I am using
ps uax | awk {'print $3'} to find the CPU usage columns for the processes and then adding them up to find the total CPU usage. It was doing fine. However to my surprise, I find that the %CPU usage column shows a much higher value (38601304.034456). I must tell that interestingly only the first 3 processes (java ant command, some dba command and the other one admin command from root) are showing these values and rest are cool. I was of the opinion that the %CPU usage would never cross 100. I am working for a load manager and need to find the total %CPU usage on several boxes and selects the most lightly loaded one for a request to be redirected.

Is there anything seriously wrong in my approach? Can someone throw some light?

Thanks

Asutoshc
# 2  
Old 05-23-2006
I wouldn't use ps to monitor cpu performance like that. Try other commands like vmstat. This link should be helpful.

http://publib.boulder.ibm.com/infoce...v5r3/index.jsp

Stupid IBM website - the link just goes to the main page instead of the page I was looking at when I pasted the link in.

Once you're there on the left panel click on Performance Management and Tuning, then the first book "Performance Management Guide". There is a whole chapter on CPU performance monitoring.
# 3  
Old 05-23-2006
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

Where to get AIX box/servers for practice?

where I'm working does not have any AIX box/servers for testing eventhough we're not heavily invested on UNIX. It is just sometimes there are a few client's servers that need AIX related stuff to be done. last time I checked, I could find old AIX tower on ebay but there's no more. p/s: on job... (4 Replies)
Discussion started by: malayo
4 Replies

2. AIX

Setting AIX box at home.

Hi guys... I have got a old Aix box i.e. 7043 - 150 for home experimenting purposes. I am having some issues to setup the tcpip on it correctly, so that i can access it within the network and also from outside i.e. work. My setup looks like this: Modem ----> Apple airport wireless router... (2 Replies)
Discussion started by: uzair_rock
2 Replies

3. Cybersecurity

securing AIX box

Guys, i want to securing AIX after install by scrath. Is anybody can inform about the standard port which used by AIX? (0 Replies)
Discussion started by: michlix
0 Replies

4. AIX

How to check the LPAR in a AIX box ?

I have login into a server, and when i launch this command uname -L. I can see there is a LPAR. But is there anymore commands i can use to get more information on the LPAR ? like it is VIO ? wat the IP address ? etc, etc. please help. Thank you. (7 Replies)
Discussion started by: wingcross
7 Replies

5. AIX

cfgmgr in my aix box

Hi When I run cfgmgr -v in my aix box I get the below error : cfgmgr: 0514-621 WARNING: The following device packages are required for device support but are not currently installed. devices.loopback My oslevel is 6100-06-02-1044 Please assist. Please use and tags when... (3 Replies)
Discussion started by: samsungsamsung
3 Replies

6. AIX

AIX 5.1 Box not booting

Quick backgound. We just moved the Datacenter. I attempted to boot one of our older AIX machines backup and it stops at a 518 Error code. Which is fine I need to run fsck on the volumes. The issue is I can't find the original media with the appropriate Date that was originally installed(previous... (1 Reply)
Discussion started by: jcompguru
1 Replies

7. UNIX for Dummies Questions & Answers

difference between AIX box and Sun Solaris box

Hi, I need a clarification. Is there any difference between AIX box and Sun Solaris box? The bzip command with -c option works in AIX box and the same does not work in Sun Solaris box. Can anyone please explain if there is an implementation difference in both these boxes for the shell... (1 Reply)
Discussion started by: nisha4680
1 Replies

8. AIX

moving AIX ver 4.2.1 to another AIX box

i want to move my AIX os ver 4.2.1 to a new version IBM system. how can i acheive this. (1 Reply)
Discussion started by: gmonix
1 Replies

9. IP Networking

mail host name on AIX box.

Hi, I was wondering if any body out there can tell me how can I find out what is the name of the mail host on the AIX box that I am working on? Is there any command to bring up the configuration for the mail server or mail host? Thanks in advance. (4 Replies)
Discussion started by: Shaz
4 Replies

10. UNIX for Dummies Questions & Answers

Adding a disk to an AIX box

I have been asked to look at an AIX box that the owner (not a technical person) installed a new SCSI disk into, but cannot figure out how to build volumes or file systems on. It has been years since I messed with AIX, and I remember enough to know that it isn't like Solaris. To make things... (1 Reply)
Discussion started by: 98_1LE
1 Replies
Login or Register to Ask a Question