All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 23e035dd authored by Timothy Stack's avatar Timothy Stack

Add a section that lists the number of pre-reserved nodes by pid and

type.
parent cb451bae
......@@ -247,6 +247,31 @@ if ($query_result->numrows) {
print "\n";
}
#
# Look for pre-reserved nodes.
#
if (! ($query_result =
DBQueryWarn("select reserved_pid,type,count(*) from nodes ".
"where reserved_pid is not null ".
"group by reserved_pid,type"))) {
fatal("Error accessing the database.");
}
if ($query_result->numrows) {
print "\n";
print "----------------------------------------------------------------\n";
print "\n";
print "Pre-reserved nodes:\n";
printf("%-16s %-16s %-16s\n", "PID", "Type", "Count");
print "---------------- ---------------- ---------------- \n";
while (my ($pid,$type,$count) = $query_result->fetchrow()) {
printf("%-16s %-16s %-16s\n", $pid, $type, $count);
}
print "\n";
}
#
# Look for stuck checkups.
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment