You can monitor a OS process using Oracle Enterprise Manager. Here are the steps which I use to monitor the memory usage on a Linux box.
Steps
- write a script eg "getmem.sh"
- export em_result = `freegrep Memawk {'print $3'}`
echo em_result=$em_result - Login to Grid Control > Targets >
> User-Defined Metrics - Create an User Defined Metric to run the shell script.
Note : you need to use "em_result=....." where em_result is the keyword.