Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: script to calculate memory usage by oracle processes in AIX ?
On Thu, 2004-07-08 at 20:27, Prem Khanna J wrote:
> $ps -ef | grep oracledev01 | grep -v grep | awk '{print $2}' | xargs ps v <2023464> | awk '{print $7-$10}
>
Try:
$ps -ef | grep [o]racledev01 | awk '{print $2}' | xargs ps v | awk '{print $7-$10}'
HTH Jared
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Fri Jul 09 2004 - 11:59:52 CDT