Re: Question about Shell Script.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Jan 30, 2009, at 8:52, Ralph Angenendt wrote:

> By putting `` or $( ) around the call.

You can also eliminate the grep altogether:

   NUMBEROFPRO=/oracle/10.2.0/db_1/bin/sqlplus / as sysdba <<EOF1 |  
awk '/processes/ {print $2}'
   SELECT resource_name,current_utilization,limit_value FROM V\ 
$RESOURCE_LIMIT WHERE RESOURCE_NAME IN ('processes','sessions');
   quit
   EOF1

Cheers,
Alfred
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux