[talk] I declare not so stupid unix tricks thread open

Jason Hellenthal jhellenthal at dataix.net
Sat Mar 15 18:14:28 EDT 2014


I'm in if I'm in that area around that time. I have fun dropping this stuff on a dime and would be a fun meeting IMHO 

-- 
 Jason Hellenthal
 Voice: 95.30.17.6/616
 JJH48-ARIN

> On Mar 14, 2014, at 19:26, George Rosamond <george at ceetonetechnology.com> wrote:
> 
> Jason Hellenthal:
>> These should all be posix compliant sh(1) FreeBSD compatible. Not sure
>> about other systems.
>> 
>> # Kill or list some stopped processes
>> alias stopkill='kill `ps a -o stat,pid |awk '\''/^T /{print $2}'\''`'
>> alias stoplist='ps -p `ps a -o stat,pid |awk '\''/^T /{print $2}'\''`
>> 2>/dev/null'
>> 
>> # Kill or list some zombies
>> alias zomkill='kill `ps a -o stat,pid |awk '\''/^Z /{print $2}'\''`'
>> alias zomlist='ps -p `ps a -o stat,pid |awk '\''/^Z /{print $2}'\''`
>> 2>/dev/null'
> 
> 
> Some great stuff here.  We need to have a marathon meeting in which 10
> or more people do a one-liner each.. and others can critique, expand, etc.
> 
> Say, June?  Who's in?
> 
> g
> 
> _______________________________________________
> talk mailing list
> talk at lists.nycbug.org
> http://www.nycbug.org/mailman/listinfo/talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nycbug.org/pipermail/talk/attachments/20140315/5df0998f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6118 bytes
Desc: not available
URL: <http://lists.nycbug.org/pipermail/talk/attachments/20140315/5df0998f/attachment.bin>


More information about the talk mailing list