AIX Monitoring Tool - under preparing


 
Thread Tools Search this Thread
Operating Systems AIX AIX Monitoring Tool - under preparing
# 1  
Old 04-23-2010
AIX Monitoring Tool - under preparing

Guy's
AIX Monitoring Tool - under preparing .....

I'm working to make and prepare tool to monitor AIX system and my idea it's based on the following outputs

I want command to give me shout outpous about the following ...
  • CPU load
  • Memory load
  • Used load
  • Number of users
  • Waiting
  • Top of process

I want this outputs to be in one word ...

For example

CPU load (I want the outpot to be like the below only one word)
40%
or
number beads on the system load


I want the command to give me the percentage of load or the number of load



Please help me in this as all of these outputs will help me to achieve my program plan ...

[B]B]


# 2  
Old 04-23-2010
There are plenty of tools that do that already. Also a number of users logged in on the system does not necessarily say anything about performance.
"In one word" - what does that mean?
On AIX with multiple CPUs and often SMT turned on, an average on CPU load does also not help that much.

To get a first impression I recommend running vmstat to see any bottlenecks.
It contains for CPU load an average for all CPUs on sys user idle and wait, as well shows you if it's paging in or out and also if it scans memory so it can free pages.
For top of process you might want to use topas which can also display the other stuff mentioned above.

Is this meant as an excercise in scripting or programming?
# 3  
Old 04-23-2010
I want to design my tool by my self and I want your help to give me some result

CPU load
Suppose that this is the command AAA

$ AAA
40%

Memory load
Suppose that this is the command BBB

$BBB
60%

or to give me load number (1 output ) and the same will be for the all Used load , Number of users , Waiting , Top of process


# 4  
Old 04-23-2010
Please refrain from formatting your whole posts in bold letters. Also start using code tags please. If you don't know code tags, I can send you a PM where it is explained, so let me know.

What do you want to write, a shell script/perl etc. parsing output of commands I already mentioned or a C program?

On AIX memory usage/load in % is kind of useless.

---------- Post updated at 03:25 PM ---------- Previous update was at 03:22 PM ----------

Also please refrain from asking technical questions via PM - you got an infraction for this. Please read the forum rules carefully - it might help for further posting here, ty:

The UNIX and Linux Forums - Forum Rules
# 5  
Old 04-24-2010
You need to read in depth the manual pages of vmstat, iostat, netstat and lparstat to see if any of those will help you.

Before you embark on this I would first make sure you understand exactly what it is you want to display and what those numbers mean.
# 6  
Old 04-25-2010
I, like many of the other replies, am not fully understanding what you are trying to do here. This data is available via existing tools.

But... if you are interested in rolling your own* you can write against the PerfStat API. Virtually all the performance stats on AIX come from this source. It is really easy to write against and the documentation on InfoCenter should be sufficient for anyone who can read/write C.

[* Insert disclaimer here: "Those who do not know of a Unix utility are destined to re-write it, badly."]

There is some sample source for the (netinterface portion of) LibPerfStat API here:

ifstat

(See a link to the source at the very bottom of the page)

The page also includes some commentary on syntax problems in the AIX supplied header files for LibPerfStat as encountered with GCC.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Suggestion for System Monitoring Tool

We have AIX and RHEL. Need suggestion for system monitoring tool for AIX and RHEL. Free or paid is fine as I would like to compare. Thank you (3 Replies)
Discussion started by: kiasu
3 Replies

2. AIX

Is nagios monitoring tool supported on AIX 7.1 ?

Hi, is any one using nagios monitoring solution on AIX ? if yes, is it supported on AIX 7.1 TL 03 as well ? I tried to search online and unix.com , could not find it. Thank you (5 Replies)
Discussion started by: aaron8667
5 Replies

3. Infrastructure Monitoring

what is the best free monitoring tool?

hello everybody, please could you tell me what is the best monitoring tool "Free" to monitoring sun servers in my DC. BR, (1 Reply)
Discussion started by: maxim42
1 Replies

4. Red Hat

Linux network monitoring tool

Hello, Please let me know the best and descriptive network monitoring tools available for a linux enviornment. (3 Replies)
Discussion started by: mitchnelson
3 Replies

5. Infrastructure Monitoring

Network monitoring tool for Solaris 10

Hi All, I was wondering if there is any Network Monitoring Tool for Solaris 10 to monitor a network having hybrid operating systems. I just googled it without success. Hope, experts will guide me to get it. Thanks, Deepak (7 Replies)
Discussion started by: naw_deepak
7 Replies

6. Solaris

Network monitoring tool for Solaris 10

Hi All, I was wondering if there is any Network Monitoring Tool for Solaris 10 to monitor a network having hybrid operating systems. I just googled it without success. Hope, experts will guide me to get it. Thanks, Deepak (0 Replies)
Discussion started by: naw_deepak
0 Replies

7. Infrastructure Monitoring

Unix Monitoring tool

Hi all, Please let me know the most using, perfect unix monitoring tool and the link for downloading the tool. It should have network server monitoring on all aspect(working users, memory usage, working services, disk space etc). Thanks Rath (3 Replies)
Discussion started by: ratheeshp
3 Replies

8. AIX

AIX and monitoring tool "SMARTS"

Has anyone here had experience with a product called "SMARTS" from EMC? I am told by the SMARTS admin that he is having trouble gathering SNMP info from these AIX boxes (which are running AIX 5.3.8), because AIX uses SNMPv3 by default. We had to switch it to SNMPv1 just to get SMARTS to... (0 Replies)
Discussion started by: Kent Stevens
0 Replies

9. UNIX for Dummies Questions & Answers

Monitoring Tool

Hi guys, I have 8 Tru64 machines here and i want to monitor them. What open source tool i can use? Like i want to monitor the hard disk space,memory,connectivity etc. Before im using Nagios, is this applicable to UNIX? tnx. jeff (1 Reply)
Discussion started by: jefferson
1 Replies

10. IP Networking

squid monitoring tool

hello everybody how are u all. this is mine first post on such a great and big forum. and probably in a wrong section :confused: i need to know about any squid monitoring tool for *.nix. i will be very greatful for ur reply. (2 Replies)
Discussion started by: usman156
2 Replies
Login or Register to Ask a Question