killovanie procesov uzivatela (Re: [linux] (no subject))

Matus "fantomas" Uhlar uhlar na fantomas.sk
Čtvrtek Prosinec 6 08:28:38 CET 2001


-> > > > kill -9 `ps axu |grep username|awk '{ print $2 }'`

-> > kill -9 `ps aux | awk -v u=username '$1==u {print $2}'`

-> kill -9 `ps aux | awk '$1=="username" {print $2}'`

a co tak

kill `ps -U "$username" -o pid`

alebo 

ps -U "$username" -o pid |xargs kill 

-- 
 Matus "fantomas" Uhlar, uhlar na fantomas.sk ; http://www.fantomas.sk/
 Warning: I don't wish to receive spam to this address.
 Varovanie: Nezelam si na tuto adresu dostavat akukolvek reklamnu postu.
 Windows 2000: 640 MB ought to be enough for anybody




Další informace o konferenci linux