[Mauiusers] setting busy status in funciotn of disk space and cpuload

Arnau Bria arnaubria at pic.es
Mon Sep 22 04:57:35 MDT 2008

On Fri, 19 Sep 2008 11:40:50 -0500
Tom Rudwick wrote:

Hi Tom,
> If you have torque keeping track of disk space, you can just put
> a default requirement on a queue or the server that specifies a
> required free disk amount. Under that case, no jobs should run on
> nodes that do not have enough free disk space.
Ok, I have defined a "dynamic" resource
at /var/spool/pbs/mom_priv/config and it's monitored by torque:
cat /var/spool/pbs/mom_priv/config
espacio !/usr/local/sbin/espacio.sh

$ pbsnodes td008.pic.es
     state = free
     np = 8
     properties = slc4,magic
     ntype = cluster
     status = opsys=linux,uname=Linux td008.pic.es 2.6.9-42.0.3.ELsmp
#1 SMP Thu Oct 5 15:04:03 CDT 2006 i686,sessions=? 0,nsessions=?

Now, I try to submit a job requesting that resource, but I think I don't
know how to specify it correctly:

echo sleep 5|qsub -l "other=espacio=1234567891234" -q short

I'd like to define it as "size" default resource, that 
Specifies that the available and configured disk space in the <FS> in
kb... is it possible?

If not, I'm thinking that I'll use size in certain nodes (the ones that
have small disks) and nothing in others, but, could someone predict
toque/maui behaivour when sending jobs reqeusting a resource that some
nodes have and some not?

thanks for your reply.
> Tom


More information about the mauiusers mailing list