> > I'm trying to figure out how much of the srever's resources > > (CPU-wise) a database and the application ....
You can try the following. Substitute the name of the database for "ABCD" in the awk command. On a multi-cpu box, the sum can be more than %100. ps -eo %cpu -o args | awk '$2 ~ /ABCD/ {sum = sum + $1}; END {print sum}' -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Stephen Lee INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).