[hobbit] Aix client script

Henrik Stoerner henrik at hswn.dk
Tue Aug 2 17:16:33 CEST 2005


On Tue, Aug 02, 2005 at 11:11:55AM +0200, FIGARO Nicolas wrote:
> So I copied the script from sunOS and replaced the command with the aix
> commands. 
> (prtconf also exists but the result isn't the same). 

prtconf on Solaris is used to pick up the amount of RAM installed.

For AIX your script should include this:

[bootinfo]
bootinfo -r
[freemem]
vmstat 1 2
[pstat]
pstat -s

which runs the bootinfo tool to determine the amount of RAM installed,
vmstat to determine the amount of free RAM, and pstat to determine the
swap statistics. (I don't know one bit about AIX, but this is what the
bb-memory add-on uses).

If the other information provided by "bootinfo" might be useful, you
can leave out the "-r" option as long as the RAM size is included in
the output.


Regards,
Henrik




More information about the Xymon mailing list