[ale] Syntax problem

James P. Kinney III jkinney at localnetsolutions.com
Wed Aug 24 15:43:53 EDT 2005


On Wed, 2005-08-24 at 14:54 -0400, Randy C. Ramsdell wrote:
> On Wed, 2005-08-24 at 14:27 -0400, James P. Kinney III wrote:
> > On Wed, 2005-08-24 at 12:40 -0400, Randy C. Ramsdell wrote:
> > > On Wed, 2005-08-24 at 11:55 -0400, James P. Kinney III wrote:
> > > > ssh machine "kill -9 `/sbin/pidof namd`"
> > > 
> > > would "killall" be better since he wants to kill all the namd processes?
> > 
> > No. killall uses the name of the process whereas kill uses the PID.
> 
> I realize that, but it kills the process never the less. But, kill
> doesn't take into account multiple processes whose name is namd. I
> thought he said kill all PIDs named namd.   

Hmm. My kill seems to require PIDs and not names. 

So to restate the above ssh string:

ssh machine "killall -9 namd"

would also work.
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list