![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
awk help
HI ,
I have a awk statement like this .. ps -ef |grep pmon|grep +ASM|awk '{print \$NF}'| cut -d"_" -f3 what it will do is oracle 42480 1 0 Feb 08 - 24:08 ora_pmon_xxxx it will return xxxx ( dbname) . I want to modify the above statement ( it;s failing on solaris platform ) . Any ideas to modify this script to get rid of awk part ? Thanks |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|