AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  system/process performance API?

    Posted Tue December 19, 2006 06:32 AM

    Originally posted by: SystemAdmin


    I am developing application with monitoring system/processes performance for AIX 5.1 and later.

    What system APIs are more preferable?

    1) For process monitoring I have found
    • getprocs system call
    • direct /proc fs reading
    Is there any significant difference betwee them?

    2) For system performance I have found perfstat API, it seems good enough for my purpose, but in most code example a found in internet direct reading from /dev/kmem is used.
    Why nobody uses perstat API? It is really more comfortable, does not require root privileges, gather a lot of performance data.

    Is there any reason not to use perstat api except old code support?

    Thanks a lot!
    #AIX-Forum


  • 2.  Duplicate Question see Performance Forum for an answer

    Posted Tue December 26, 2006 09:23 AM