user205688
user205688

Reputation: 165

code for mpstat command in AIX

I need the code for mpstat command in AIX . I searched the internet but icouldn't get it. Any idea about the structure it uses will also be helpful

Upvotes: 0

Views: 605

Answers (2)

Pum
Pum

Reputation: 11

The excellent nmon tool has been released to open source, so you could look at the source code of that to see where it gets the data you want from.

http://www.ibm.com/developerworks/wikis/display/WikiPtype/nmon

http://nmon.sourceforge.net/pmwiki.php

Upvotes: 1

CoreyStup
CoreyStup

Reputation: 1488

Do iostat or vmstat not serve your needs? I'm not aware of mpstat for AIX.

EDIT: I wasn't aware of mpstat under my older AIX5.2 development machine. Its available on AIX5.3 and later.

Upvotes: 0

Related Questions