Search Results

Search: Posts Made By: Scott
1,205
Posted By Scott
Well, it looks like the ps is picking up the...
Well, it looks like the ps is picking up the process ID ($$) of your script when it gets to 'M02' (whatever that it), and killing it.

Perhaps you could add "| grep -v $$" to your command, to...
1,205
Posted By Scott
How do you know that the second argument of the...
How do you know that the second argument of the script is not the same as the second column returned by ps?

What is the value of $2 (the argument to the script) and what is the output of the ps...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 04:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy