Welcome to my page. I am not an avid writer, but i am trying. Here you will find some of the fine snippets i came across which i would like to revisit given a chance. Some of the technical troublshooting which i encountered, which i would like to maintain here as ready reckoner. Please feel free to go around my pages. Bouquets and Brickbats are welcomed. :-)
Monday, October 25, 2010
Kill multiple jobs OR Kill all jobs of a particular user
# Create a list of specific jobs of a user ps -ef |grep [username]|grep [jobname eg. telnet]|awk '{print $2}' > /tmp/fileout while read userpid; do kill -9 $userpid;done < /tmp/fileout
No comments:
Post a Comment