grisu / gricli

Grisu commandline client
7 stars 2 forks source link

print queues by host #65

Closed sina-masoud-ansari closed 12 years ago

sina-masoud-ansari commented 13 years ago

Suggested that print queues should allow for the following behaviour:

print queues [auckland.ac.nz | *auckland.ac.nz] prints the queue details for queues at Auckland

makkus commented 12 years ago

Hm. Not sure that is worth the trouble it would be to implement. New version of gricli has got a print queue command that prints out details about the queue (description, max walltime, whatever is set in the info config). Something like:

jobs> print queue pan:pan.nesi.org.nz

Queue is valid for current job setup.

Queue details

Name pan
Description Suitable for any jobs by NeSI members
Max. walltime n/a
CPUs 960
Clockspeed (MHz) 9.223372036854E12
CPUs per host 12
Hosts 80
Scheduler type PBS
Gateway pan.nesi.org.nz
Memory 96.0 GiB
Virtual memory 96.0 GiB

Packages installed:

Name Version
BEAST 1.6.1
Java 1.6
MrBayes 3.1.2
R 2.9.0
RMPISNOW 2.9.0
UnixCommands 5
octave 3.0.5
python 2.6

Would that be good enough? Normally there are not that many queues available anyway. And, for example, the auckland.ac.nz filter would not find anything since pan is is pan:pan.nesi.org.nz... Writing the filter code wouldn't actually be that hard, but coming up with easy to use filter specification on commandline would be not that easy I think.

makkus commented 12 years ago

I'll just close this until somebody complains.