Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Alexander Danilov
schedtop
Commits
8d9322b3
Commit
8d9322b3
authored
3 months ago
by
Alexander Danilov
Browse files
Options
Download
Email Patches
Plain Diff
Increase username field, decrease queue field, limit jobid field
parent
d519c7dc
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/schedtop.pm
+4
-4
src/schedtop.pm
with
4 additions
and
4 deletions
+4
-4
src/schedtop.pm
View file @
8d9322b3
...
...
@@ -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.12
s %-16.16s %4.4s/%-4.4s %1s %9.9s/%-8.9s
",
$jobstr
=
sprintf
("
%-
12.
12s %-
12.12s %-8.8
s %-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.12
s %-16.16s %5.5s %1s %9.9s/%-8.9s
",
$jobstr
=
sprintf
("
%-
12.
12s %-
12.12s %-8.8
s %-16.16s %5.5s %1s %9.9s/%-8.9s
",
$job
,
$jobptr
->
{
user
},
$jobptr
->
{
queue
},
$jobptr
->
{
jname
},
$nnodes
,
$state
,
$elpt
,
$reqt
);
addstr
$pad
,
$jobstr
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help