How can kill a couple of processes.
I 've got to get the ID's and then kill them or can i kill them using the names?
One thing they 've got in common is that their names start with lm_*
Try putting the text in a script,run in ksh.
Use ` ,not ' quotesas stated :
`ps -ef |grep lm_ |awk '{ print $2 }'`
"Long live king Moshiach !"
h
Levw,
I'm don't quit understand.
This is the whole script.
#!/bin/ksh
for NUMB in `ps -ef |grep lm_ |awk '{ print $2 }'`
do
kill $NUMB
done
So in your last reply you said:
Use ` ,not ' quotesas stated
So it's => `ps -ef |grep lm_ |awk `{ print $2 }``
instead of => `ps -ef |grep lm_ |awk '{ print $2 }'`
right?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.