Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
4d83dfa4
Commit
4d83dfa4
authored
15 years ago
by
Moe Jette
Browse files
Options
Downloads
Patches
Plain Diff
only currently active reservations will appear in the node map.
document smap display of advanced reservations.
parent
0ee368f2
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/man/man1/smap.1
+27
-9
27 additions, 9 deletions
doc/man/man1/smap.1
src/smap/reservation_functions.c
+10
-2
10 additions, 2 deletions
src/smap/reservation_functions.c
with
37 additions
and
11 deletions
doc/man/man1/smap.1
+
27
−
9
View file @
4d83dfa4
.TH SMAP "1" "
February
2009" "smap 2.0" "Slurm components"
.TH SMAP "1" "
April
2009" "smap 2.0" "Slurm components"
.SH "NAME"
smap \- graphically view information about SLURM jobs, partitions, and set
...
...
@@ -30,17 +30,22 @@ Note that unallocated nodes are indicated by a '.' and nodes in the
DOWN, DRAINED or FAIL state by a '#'.
.RS
.TP 15
.I "b"
Displays information about BlueGene partitions on the system
.TP
.I "c"
Displays current BlueGene node states and allows users to configure the system.
.TP
.I "j"
Displays information about jobs running on system.
.TP
.I "r"
Display information about advanced reservations.
While all current and future reservations will be listed,
only currently active reservations will appear on the node map.
.TP
.I "s"
Displays information about slurm partitions on the system
.TP
.I "b"
Displays information about BG partitions on the system
.TP
.I "c"
Displays current node states and allows users to configure the system.
.RE
.TP
...
...
@@ -90,6 +95,11 @@ scroll the window containing the text information.
.SH "OUTPUT FIELD DESCRIPTIONS"
.TP
\fBACCESS_CONTROL\fR
Identifies the users or bank accounts which can use this advanced reservation.
A prefix of "A:" indicates that the following account names may use this reservation.
A prefix of "U:" indicates that the following user names may use this reservation.
.TP
\fBAVAIL\fR
Partition state: \fBup\fR or \fBdown\fR.
.TP
...
...
@@ -99,6 +109,9 @@ BlueGene Block Name\fR.
\fBCONN\fR
Connection Type: \fBTORUS\fR or \fBMESH\fR or \fBSMALL\fR (for small blocks).
.TP
\fBEND_TIME\fR
The time when an advanced reservation ended.
.TP
\fBID\fR
Key to identify the nodes associated with this entity in the node chart.
.TP
...
...
@@ -106,10 +119,11 @@ Key to identify the nodes associated with this entity in the node chart.
Mode Type: \fBCOPROCESS\fR or \fBVIRTUAL\fR.
.TP
\fBNAME\fR
Name of the job.
Name of the job
or advanced reservation
.
.TP
\fBNODELIST\fR or \fBBP_LIST\fR
Names of nodes or base partitions associated with this configuration/partition.
Names of nodes or base partitions associated with this configuration,
partition or reservation.
.TP
\fBNODES\fR
Count of nodes or base partitions with this particular configuration.
...
...
@@ -125,6 +139,9 @@ CG (completing), CD (completed),
F (failed), TO (timeout), and NF (node failure). See
\fBJOB STATE CODES\fR section below for more information.
.TP
\fBSTART_TIME\fR
The time when an advanced reservation started.
.TP
\fBSTATE\fR
State of the nodes.
Possible states include: allocated, completing, down,
...
...
@@ -439,6 +456,7 @@ The location of the SLURM configuration file.
.SH "COPYING"
Copyright (C) 2004\-2007 The Regents of the University of California.
Copyright (C) 2008\-2009 Lawrence Livermore National Security.
Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
CODE\-OCEC\-09\-009. All rights reserved.
.LP
...
...
This diff is collapsed.
Click to expand it.
src/smap/reservation_functions.c
+
10
−
2
View file @
4d83dfa4
...
...
@@ -46,8 +46,9 @@ static void _print_text_resv(reserve_info_t * resv_ptr);
extern
void
get_reservation
(
void
)
{
int
error_code
=
-
1
,
i
,
recs
;
int
error_code
=
-
1
,
active
,
i
,
recs
;
reserve_info_t
resv
;
time_t
now
=
time
(
NULL
);
static
int
printed_resv
=
0
;
static
int
count
=
0
;
static
reserve_info_msg_t
*
resv_info_ptr
=
NULL
,
*
new_resv_ptr
=
NULL
;
...
...
@@ -96,8 +97,12 @@ extern void get_reservation(void)
count
=
0
;
for
(
i
=
0
;
i
<
recs
;
i
++
)
{
resv
=
new_resv_ptr
->
reservation_array
[
i
];
if
((
resv
.
start_time
<=
now
)
&&
(
resv
.
end_time
>=
now
))
active
=
1
;
else
active
=
0
;
if
(
resv
.
node_inx
[
0
]
!=
-
1
)
{
if
(
active
&&
(
resv
.
node_inx
[
0
]
!=
-
1
)
)
{
#ifdef HAVE_SUN_CONST
set_grid_name
(
job
.
node_list
,
count
);
#else
...
...
@@ -112,6 +117,9 @@ extern void get_reservation(void)
j
+=
2
;
}
#endif
}
if
(
resv
.
node_inx
[
0
]
!=
-
1
)
{
if
(
!
params
.
commandline
)
{
if
((
count
>=
text_line_cnt
)
&&
(
printed_resv
<
(
text_win
->
_maxy
-
3
)))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment