system monitoring api


 
Thread Tools Search this Thread
Top Forums Programming system monitoring api
# 1  
Old 05-14-2008
system monitoring api

Hi all,

I am looking for api to get me system monitoring statictics every 5 minutes.

I am looking at the following statistics:

1. System CPU Usage
2. Process CPU Usage
3. Process Memory Usage
4. I/O Usage for a certain disk.
5. Process I/O bytes/sec utilization.

I have seen very nice api pstat_* for HP but I am also looking for api on Linux and solaris as well.

Any bit of generic unix would be of great use.

Thanks,
Raja
# 2  
Old 05-15-2008
SYSSTAT , linux specific.
You can use sar equivalencies for other unixes.
# 3  
Old 05-15-2008
pstat is another family of api's found on HPUX for example.
# 4  
Old 05-15-2008
Solaris and IBM

Hi,

Thanks a lot for your help.

What about solaris and IBM-AIX, what apis are available for them.


Best Regards,
Raj
# 5  
Old 05-16-2008
Quote:
Originally Posted by uiqbal
Hi,

Thanks a lot for your help.

What about solaris and IBM-AIX, what apis are available for them.


Best Regards,
Raj
Also I have seen sysstat, i am not able to find Process I/O bytes/sec utilization.
THe rest of the four items i am able to find :System CPU Usage, Process CPU Usage, Process Memory Usage, I/O Usage for a certain disk.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Linux

Best Linux monitoring system

Hi all, I'm looking for the best tool to monitor the Linux system. I've found a lot of interesting tools searching the web but I didn't find one which can do all the requirments (like a one in all tool). I would prefer it to include a command line interface also. Thank you, Andreea (0 Replies)
Discussion started by: andreea9322
0 Replies

2. Shell Programming and Scripting

Need to run an API from a script and extract fields from output of API

Hi, I need to call an API (GetUsageDetails)from inside a shell script which takes an input argument acct_nbr. The output of API will be like : <usageAccum accumId="450" accumCaptn="PM_125" inclUnits="1410.00" inclUnitsUsed="744.00" shared="true" pooled="false" prorated="false"... (1 Reply)
Discussion started by: rkrish
1 Replies

3. Shell Programming and Scripting

system monitoring script

Hi, Does anyone have an example system monitoring script to monitor drives, memory, etc. Need a good example. Cheers Walnutpony (4 Replies)
Discussion started by: walnutpony123
4 Replies

4. Infrastructure Monitoring

Unix system monitoring

Hi, I am relatively new to Unix. Today I have attended an interview and they asked me below questions (a)How do you monitor Unix system? (b)How do you know every thing is working fine? (c)How do you know if there are any bottle necks? (d)How do you know if any process is hanging and draining... (5 Replies)
Discussion started by: krdblc
5 Replies

5. Infrastructure Monitoring

Monitoring and Alert System

hi, i serarch monitoring and alert system. when HDD and services are down. Send email and sms alert to me and help desk. but i don't find any program. Can you help me ? Thanks. (1 Reply)
Discussion started by: oulutas
1 Replies

6. Programming

C/C++ System Programming API for AIX

Hi, I'm trying to locate the API information that is used for system programming on IBM's AIX operating system and other programming resources for AIX (language C/C++), I've had a look around the IBM website/Internet but I don't seem to be able to find anything that is up to date. This... (1 Reply)
Discussion started by: warlockuk
1 Replies

7. HP-UX

API about system performance monitor

Hello, there. We want to write application on HP-UX to monitor system resource,such as CPU,Network Traffic Load,Disk Usage,etc. Anyone know these API functions except the system command ? thanks. (6 Replies)
Discussion started by: Frank2004
6 Replies

8. AIX

AIX system monitoring

Hi All, I am new to administration. can any one pls tell me how can i accomplish the follwoing task in AIX : 1.The overall %CPU used, the %CPU used of each CPU, the overall Real Memory in KB is used, the total Real Memory is installed in the host, the overall Virtual Memory in KB is... (2 Replies)
Discussion started by: panyam
2 Replies

9. Shell Programming and Scripting

Monitoring system available time

Hi, I am new to Unix. I have an application which i need to monitor it for the available system time. If the system is down, i need to send an email notifying the downtime. Can someone provide a sample code or shell script to perform the above activity. Thanks (3 Replies)
Discussion started by: borncrazy
3 Replies
Login or Register to Ask a Question