[torqueusers] Prologue/Epilogue script

Steve Traylen steve.traylen at cern.ch
Mon Apr 23 07:55:53 MDT 2007


On Apr 23, 2007, at 3:32 PM, Adam Emerich wrote:

> Jeff,
>
> We have scripts that kill all the user's processes as the job  
> exits.  This
> is how we ensure that only the user who currently has the node  
> scheduled to
> him is running on the node.  As for killing jobs in the prologue,  
> unless
> you do not have the ability to have multiple users on a node, this  
> would
> seem like it could cause problems.
>


There are some scripts here that may help:

http://www.sysadmin.hep.ac.uk/wiki/ProcessesOnBatchNodes

  Steve


> Let me know if you are interested in the 'killuser' script.
>
> Thanks
>
> Adam Emerich
>
>
> "Insanity: doing the same thing over and over again and expecting  
> different
> results."   -Albert Einstein
>
>
>
>              "Jeffrey B.
>              Layton"
>               
> <laytonjb at charter                                          To
>              .net>                     torqueusers at supercluster.org
>              Sent  
> by:                                                   cc
>              torqueusers-bounc
>              es at supercluster.o                                      
> Subject
>              rg                        [torqueusers] Prologue/Epilogue
>                                        script
>
>              04/23/2007 08:02
>              AM
>
>
>              Please respond to
>              laytonjb at charter.
>                     net
>
>
>
>
>
>
> Good morning,
>
> I'm looking for prologue/epilogue scripts that kill all user jobs
> except the user who is going to run on the assigned nodes.
> The prologue would leave all of the root and "non-user" jobs
> running, and the epilogue would leave only root and "non-user"
> jobs running. Does anyone have scripts like this tat they would
> be willing to share?
>
> Thanks!
>
> Jeff
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers

-- 
Steve Traylen
steve.traylen at cern.ch
CERN, IT-GD-OPS.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1569 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20070423/22a16ebd/smime-0001.bin


More information about the torqueusers mailing list