Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

« Newer Snippets
Older Snippets »
3 total  XML / RSS feed 

how to get process start time

// how to get process start time

# ps -o pid,stime,cmd -C nc
  PID STIME CMD
 4782 18:10 /usr/bin/nc -u -l -p 6666


// via http://k001.livejournal.com/566589.html

View processes, grep out by user and then kill all their PIDs

ps axu | grep user | kill -9 `awk{print $2}�`
« Newer Snippets
Older Snippets »
3 total  XML / RSS feed