Groovy web console

subscribe to the feed Subscribe
to this
site

Memory

Published 1 week ago by Anonymous
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
memory = 31
cpu = 13
queue = 
        memory <= 22 && cpu <= 8 ? 'smallmem' :
            memory <= 30 && cpu <= 16 ? 'genomics' :
            memory <= 94 && cpu <= 8 ? '96n' :
            memory <= 120 && cpu <= 12 ? 'Kim' :
            memory <= 254 && cpu <= 16 ? '256h' :
            'normal'
    

println queue