[GE users] [GE dev] Load sensor scripts

Reuti reuti at staff.uni-marburg.de
Wed Aug 18 09:59:11 BST 2004


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

>Is there any easy way to get the load values of each
>execd from the qmaster or is the only way writing GDI
>code to access the values directly from the qmaster-

`qhost -F` should give you the values for all hosts, or limit it to one host 
with `qhost -F -h <hostname>`. When you want to shorten the output, try this:

qhost -F | awk ' /^[^ ]/ { hostname=$1 }; /ge_load/ { split($1, myload, "="); 
printf "%s=%d\n", hostname, myload[2]} '


CU - Reuti

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list