linuxMaestro
Instructor
I am trying to awk the first number.
line="51 requests currently being processed, 9 idle servers";
num=awk($line,\d*);
if ($num>200)
mail linux@maestro.com
what is the correct syntax for awk to grep the 51 from the line above?
line="51 requests currently being processed, 9 idle servers";
num=awk($line,\d*);
if ($num>200)
mail linux@maestro.com
what is the correct syntax for awk to grep the 51 from the line above?