API about system performance monitor

Thread Tools Search this Thread
Operating Systems HP-UX API about system performance monitor
# 1  
Old 10-22-2007
API about system performance monitor

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.
# 2  
Old 10-22-2007
# 3  
Old 10-23-2007
thank you very much!
# 4  
Old 05-14-2008
Other Unixes


pstat works great on HP but I am looking for api on Solaris as well as couple of flavours of Linux. Can you help me in giving a more generic sort of api or method to use to get system and process cpu, memory and i/o usage.

Best Regards,
# 5  
Old 05-15-2008
I have always used :
1) vmstat - Memory statistics
2) iostat - disk/tape io device statistics
3) sar - for everything.
4) netstat - network statistics
5) top - the last and ultimate tool.
6) glance - But it's a licensed version
# 6  
Old 03-06-2009
Of course there's always collectl which essentially replaces all the tools mentioned in the previous post. On the other hand if you're looking for some sort of API to write your own, just look at /proc on linux. Of course the documentation is poor and you may have to look at a lot of source code. Since these is the way the other tools get at their data at least you know which source to read
# 7  
Old 03-09-2009
Third software: HP SiteScope for HP-UX
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. 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

2. Programming

Tools to monitor system performance in Android or linux

Hi, May i know the tools which will give the below details in a consolidated fashion for some 'X' duration in single and multicore processors, 1) How many times and how long scheduler code and kernel threads are executing ? 2) Details about each process, time spent in each state (run, wait... (0 Replies)
Discussion started by: tkarthi85
0 Replies

3. 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

4. AIX

Tool to monitor the performance of the system ..

Dear experts , Pls advice for any good Tool to monitor the CPU and performance of AIX the system .. to keep monitoring to show me the utilization of that system .. (12 Replies)
Discussion started by: Mr.AIX
12 Replies

5. Programming

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... (4 Replies)
Discussion started by: uiqbal
4 Replies

6. News, Links, Events and Announcements

Announcing collectl - new performance linux performance monitor

About 4 years ago I wrote this tool inspired by Rob Urban's collect tool for DEC's Tru64 Unix. What makes this tool as different as collect was in its day is its ability to run at a low overhead and collect tons of stuff. I've expanded the general concept and even include data not available in... (0 Replies)
Discussion started by: MarkSeger
0 Replies

7. AIX

Performance Monitor

I am an old HP 3000 systems administrator who had to retire the 3000 for some nice pseries AIX boxes. We are a Symitar site and the powers that be do not think we are ready for root acess. I need to find ways within my chains to view system statistics. Being able to wow someone in management... (3 Replies)
Discussion started by: Beetlejuice
3 Replies

8. UNIX for Dummies Questions & Answers

Looking for a general purpose System Monitor

Does anyone have any scripts or suggestions on a general purpose Unix/Linux monitoring tool? (5 Replies)
Discussion started by: darthur
5 Replies
Login or Register to Ask a Question