I am new to Websphere (6.0) . Would like to automate the monitoring the logs in WAS server (i.e) heap size,MQ details and Server status whether it is up and running....The O.S. is AIX 5.3

Kindly provide me the model script in case if you have one in Shell or useful URL where I can study and do the scripting.