Commit 8d9322b3 authored by Alexander Danilov's avatar Alexander Danilov
Browse files

Increase username field, decrease queue field, limit jobid field

parent d519c7dc
No related merge requests found
Showing with 4 additions and 4 deletions
+4 -4
......@@ -678,9 +678,9 @@ sub show_queue {
attron( $pad, A_BOLD );
if ($showncpus) {
addstr( $pad," Job# Username Queue Jobname CPUs/Nodes S Elapsed/Requested");
addstr( $pad," Job# Username Queue Jobname CPUs/Nodes S Elapsed/Requested");
} else {
addstr( $pad," Job# Username Queue Jobname Nodes S Elapsed/Requested");
addstr( $pad," Job# Username Queue Jobname Nodes S Elapsed/Requested");
}
attroff( $pad, A_BOLD );
clrtoeol($pad);
......@@ -771,12 +771,12 @@ sub show_queue {
}
my $jobstr;
if ($showncpus) {
$jobstr = sprintf("%-12s %-8.8s %-12.12s %-16.16s %4.4s/%-4.4s %1s %9.9s/%-8.9s",
$jobstr = sprintf("%-12.12s %-12.12s %-8.8s %-16.16s %4.4s/%-4.4s %1s %9.9s/%-8.9s",
$job, $jobptr->{user}, $jobptr->{queue}, $jobptr->{jname},
$ncpus, $nnodes, $state, $elpt, $reqt);
addstr $pad, $jobstr;
} else {
$jobstr = sprintf("%-12s %-8.8s %-12.12s %-16.16s %5.5s %1s %9.9s/%-8.9s",
$jobstr = sprintf("%-12.12s %-12.12s %-8.8s %-16.16s %5.5s %1s %9.9s/%-8.9s",
$job, $jobptr->{user}, $jobptr->{queue}, $jobptr->{jname},
$nnodes, $state, $elpt, $reqt);
addstr $pad, $jobstr;
......
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