Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

too many arguments

happy10319Mar 29 2019 — edited Apr 3 2019

Hi,

This script:

if [ $(ps -e -o command | grep pmon | grep -v grep | cut -d '_' -f3) = $pmon ]; then

echo PMON $pmon

fi

Throws :

line 1: [: too many arguments

or in some case :

line 1:unknown operator

Thanks for help.

This post has been answered by Dude! on Apr 1 2019
Jump to Answer
Comments
Post Details
Added on Mar 29 2019
13 comments
1,841 views