ukilled?
A neat tool for killing all the procs that belong to user
if [ "$1" == "" ]
then
echo “Usage: $0 username — will kill all processes that belong to the user and print them on the screen “
else
if [ "$1" == "root" ]
then
echo “Lapai..”
else
echo “The processes of $1 that were killed:”
echo “############################################”
ps -elf | grep “$1″
kill -9 `ps -u “$1″ | grep [0-9] | awk ‘{print $1}’`
fi
fi
0 коментара »
Няма коментари все още. Хайде, можеш да бъдеш пръв.
* RSS за коментарите към този постинг.

