[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to kill 120 jobs at once.



> Hi,
> 
> I think the jobs were hanged up there,
[...]
> before I could use the ps au | grep nvt | awk '{print $2} | sed
> 's/^.*$/ kill -9 &/g' > kill.sh  and run kill.sh.
> 
> now ps au does not show me this info any more.
[...]
> 
> what's the alternative choice,


Hi Lina,

You can install the procps package, then use 

   pkill nvt

Like kill, pkill takes a signal number as an option, so more
aggressively:

   pkill -9 nvt



-- 
Cheers,
Clive


Reply to: