The script is clunky (I'm not much of a script writer) but it works. Lemme know if you'd like a copy. Typically we run it by hand whenever we catch E jobs. I'd like, ideally, to have it work out of our monitoring software (Nagios).
-Jenn Sturm
On Nov 6, 2003, at 1:52 PM, Bernard Li wrote:
Typically if there is a scenario where you need to remove every single job from PBS, how would you do it?
I guess one way is to use xpbs and then go select all and then delete, but that GUI takes forever to load - is there a command line way of doing it?
qdel takes multiple jobid's as arguments, I suppose what I can do is run qstat and pipe the first 'column' to qdel, that probably would work.
However, last night we where having issues with jobs in the E (exiting) state not exiting and none of the above mentioned methods could kill them.
So I ended up going into /var/spool/pbs/server_priv and deleting the jobs dir :)
Cheers,
Bernard
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Oscar-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-users
+-------------------------------------------------------------------+ Jennifer Sturm System Administrator and Research Support Specialist Chemistry Department Hamilton College
[EMAIL PROTECTED] [EMAIL PROTECTED] 315-859-4745
http://www.chem.hamilton.edu/ http://mars.chem.hamilton.edu/ +-------------------------------------------------------------------+
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Oscar-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/oscar-users
