kill processes

how to kill the processes of aperticular user?

because i have nearly 25000 process are there for perticular user. i need to kill.

Please provide the information?

Regards,
Rajesh

Try:

kill `ps -fu $user | awk 'NR != 1 {print $2}'`

Regards

which process? all for one user? if so, you only need to kill the login process for this user (if local login). or you can use a script to search for all user processes and kill them...

What processes are they? application process or real user process? why do you want to kill them? Its really hard to imaging 2500 process for a single user:eek: