Skip to content

Instantly share code, notes, and snippets.

@icaoberg
Last active December 12, 2015 03:38
Show Gist options
  • Save icaoberg/4708206 to your computer and use it in GitHub Desktop.
Save icaoberg/4708206 to your computer and use it in GitHub Desktop.
[PBS] Get the names of the nodes that belong to a specific queue
#!/bin/bash
QUEUE_NAME=model1
pbsnodes | grep -B 3 "properties = $QUEUE_NAME" | grep "compute"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment