The nawk
and space -v
worked well
echo $( nawk -v host="${thisHOST}" '$2 == host { print $1}' /tmp/processlist.config )
process1 process2 process3 process14
The nawk
and space -v
worked well
echo $( nawk -v host="${thisHOST}" '$2 == host { print $1}' /tmp/processlist.config )
process1 process2 process3 process14
Thank you for your help. This worked.
I will start another thread if any further help needed.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.