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
9133554 Visitors

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





Category Search coolcommands.com
Select Category:


coolcommand

kill all the processes of a particular user
Description

To kill all the processes of a particular user:

To see what you will do first (print only):

# ps -fU username | awk '{ print ("kill "$2)}'

Now, do the kill:

# ps -fU username | awk '{ system ("kill "$2)}'
Example

ps -fU username | awk '{ system ("kill "$2)}'

Return to search results

Random coolcommands

coolcommand: how to find which filesystem is causing your df command to hang in Solaris
Example: mount -p; df -k
[show me the details]
coolcommand: how to recover from an invalid or no boot device error in AIX
Example: lslv -m hd5; ln /dev/rhdisk4 /dev/ipldevice; bosboot -ad /dev/ipldevice
[show me the details]
coolcommand: basename - how to return the base file name of a string parameter
Example: basename $0
[show me the details]
coolcommand: how to delete a snapshot of a JFS2 filesystem in AIX
Example: snapshot -d -n snapshot_name /filesystem_name
[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