coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Tuesday May 21, 2013


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?

Who's Online
We have 28 guests online

Newest Member

nbewwmbxog

Hit Counter
11552927 Visitors

cool Statistics
coolcommands:1338
Categories:83
Total queries:620176
Members:22813





Search coolcommands.com
Search Keyword:


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: bootinfo - display boot disk in IBM AIX
Example: bootinfo -b
[show me the details]
coolcommand: dircount.sh - script to count number of files in all subdirectories of a given directory
Example: dircount.sh /usr/local
[show me the details]
coolcommand: lsmod - list loadable kernel modules in linux
Example: lsmod
[show me the details]
coolcommand: lssysconn - how to list connection info for systems and frames managed by IBM HMC
Example: lssysconn -r all
[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

lvo1160
audet37
kah00na32
Mariom24
lebjf00014

Top 5 Searches

Category Solaris51943
Category AIX49009
Category General UNIX47532
solaris23554
aix22739

Terms of Use
Privacy
Contact


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