|
@@ -19,12 +19,12 @@
|
|
|
PBS_NODES_PATH=`which pbsnodes 2>/dev/null`
|
|
|
if [ -z $PBS_NODES_PATH ]
|
|
|
then
|
|
|
- echo Could not find pbsnodes in path. Cannot check available number of nodes.
|
|
|
+ echo Could not find pbsnodes in path. Cannot check available number of nodes. >&2
|
|
|
exit 1
|
|
|
fi
|
|
|
if [ -z $1 ]
|
|
|
then
|
|
|
- echo Usage: checknodes queue-name
|
|
|
+ echo Usage: checknodes queue-name >&2
|
|
|
exit 2
|
|
|
fi
|
|
|
# the number of nodes marked 'free', and which do not contain a jobs attribute from the server or from the moms.
|