script to gather weblogic jvm heap size stats

Hello,
has anyone written something that will monitor/gather weblogic heap info ? I need to gather size, high/low stats to a file that I can upload to a speadsheet
thanks for your help!

Could you please describe more detailed what do you want?

I basically want to get the heap stats. I want to get what the heap size is, then the gc's.. the max and the min. I want to be able to use from a ksh env. the data would need to come from runtime info..