coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Sunday May 27, 2012


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?
Create an account

Who's Online
We have 21 guests online

Newest Member

beyondimagem

Hit Counter
9133556 Visitors

cool Statistics
coolcommands:1330
Categories:83
Total queries:595500
Members:16437





Category Search coolcommands.com
Select Category:


coolcommand

one-liner to kill many processes
Description

Sometimes processes tend to re-spawn after you kill one, even if you try to kill the parent process. This command will kill all of them such as the httpd process:

# ps -ef | grep httpd | awk '{print $2}' | xargs kill -9
Example

ps -ef | grep httpd | awk '{print $2}' | xargs kill -9

Return to search results

Random coolcommands

coolcommand: mtlib - how to show useful statistical data from your robot
Example: mtlib -l /dev/lmcp0 -qS
[show me the details]
coolcommand: pwdx - how to find the working directory of a process in Sun Solaris
Example: /usr/proc/bin/pwdx 666
[show me the details]
coolcommand: vxprint - how to display all the information about plexes in Veritas Volume Manager
Example: vxprint -l plex-80; vxprint -lp
[show me the details]
coolcommand: how to filter a logfile by column and a value
Example: tail -f logfile | awk '$11>0'
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1152
audet37
kah00na32
Mariom24
lebjf00014

Top 5 Searches

Category Solaris49379
Category AIX46267
Category General UNIX43933
solaris22927
aix22116

Terms of Use
Privacy
Contact


 
coolcommands.com © 2012. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum