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
703c3290
Commit
703c3290
authored
16 years ago
by
Joseph P. Donaghy
Browse files
Options
Downloads
Patches
Plain Diff
mods to help section.
parent
4a6fca42
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sshare/sshare.c
+6
-74
6 additions, 74 deletions
src/sshare/sshare.c
with
6 additions
and
74 deletions
src/sshare/sshare.c
+
6
−
74
View file @
703c3290
...
@@ -372,17 +372,17 @@ static void _print_version(void)
...
@@ -372,17 +372,17 @@ static void _print_version(void)
/* _usage - show the valid sshare commands */
/* _usage - show the valid sshare commands */
void
_usage
()
{
void
_usage
()
{
printf
(
"\
printf
(
"\
sshare [<OPTION>] [<COMMAND>]
\n
\
sshare [<OPTION>] [<COMMAND>]
\n
\
Valid <OPTION> values are:
\n
\
Valid <OPTION> values are:
\n
\
-h or --help: equivalent to
\"
help
\"
command
\n
\
-a or --all: equivalent to
\"
help
\"
command
\n
\
-i or --immediate: commit changes immediately
\n
\
-A or --accounts: equivalent to
\"
help
\"
command
\n
\
-h or --help or --usage: equivalent to
\"
help
\"
command
\n
\
-n or --no_header: no header will be added to the beginning of output
\n
\
-n or --no_header: no header will be added to the beginning of output
\n
\
-o or --oneliner: equivalent to
\"
oneliner
\"
command
\n
\
-p or --parsable: output will be '|' delimited with a '|' at the end
\n
\
-p or --parsable: output will be '|' delimited with a '|' at the end
\n
\
-P or --parsable2: output will be '|' delimited without a '|' at the end
\n
\
-P or --parsable2: output will be '|' delimited without a '|' at the end
\n
\
-q or --quiet: equivalent to
\"
quiet
\"
command
\n
\
-q or --quiet: equivalent to
\"
quiet
\"
command
\n
\
-
r
or --
readonly
: equivalent to
\"
readonly
\"
command
\n
\
-
u
or --
uid
: equivalent to
\"
readonly
\"
command
\n
\
-
s
or --associations: equivalent to
\"
associations
\"
command
\n
\
-
t
or --associations: equivalent to
\"
associations
\"
command
\n
\
-v or --verbose: equivalent to
\"
verbose
\"
command
\n
\
-v or --verbose: equivalent to
\"
verbose
\"
command
\n
\
-V or --version: equivalent to
\"
version
\"
command
\n
\
-V or --version: equivalent to
\"
version
\"
command
\n
\
\n
\
\n
\
...
@@ -391,34 +391,12 @@ sshare [<OPTION>] [<COMMAND>] \n\
...
@@ -391,34 +391,12 @@ sshare [<OPTION>] [<COMMAND>] \n\
terminated.
\n
\
terminated.
\n
\
\n
\
\n
\
Valid <COMMAND> values are:
\n
\
Valid <COMMAND> values are:
\n
\
add <ENTITY> <SPECS> add entity
\n
\
associations when using show/list will list the
\n
\
associations when using show/list will list the
\n
\
associations associated with the entity.
\n
\
associations associated with the entity.
\n
\
delete <ENTITY> <SPECS> delete the specified entity(s)
\n
\
dump <CLUSTER> [<FILE>] dump database information of the
\n
\
specified cluster to the flat file.
\n
\
Will default to clustername.cfg if no file
\n
\
is given.
\n
\
exit terminate sshare
\n
\
help print this description of use.
\n
\
help print this description of use.
\n
\
list <ENTITY> [<SPECS>] display info of identified entity, default
\n
\
is display all.
\n
\
load <FILE> [<SPECS>] read in the file to update the database
\n
\
with the file contents. <SPECS> here consist
\n
\
of 'cluster=', and 'clean'. The 'cluster='
\n
\
will override the cluster name given in the
\n
\
file. The 'clean' option will remove what is
\n
\
already in the system for this cluster and
\n
\
replace it with the file. If the clean option
\n
\
is not given only new additions or
\n
\
modifications will be done, no deletions.
\n
\
modify <ENTITY> <SPECS> modify entity
\n
\
oneliner report output one record per line.
\n
\
parsable output will be | delimited with an ending '|'
\n
\
parsable output will be | delimited with an ending '|'
\n
\
parsable2 output will be | delimited without an ending '|'
\n
\
parsable2 output will be | delimited without an ending '|'
\n
\
readonly makes it so no modification can happen.
\n
\
quiet print no messages other than error messages.
\n
\
quiet print no messages other than error messages.
\n
\
quit terminate this command.
\n
\
show same as list
\n
\
show same as list
\n
\
verbose enable detailed logging.
\n
\
verbose enable detailed logging.
\n
\
version display tool version number.
\n
\
version display tool version number.
\n
\
...
@@ -431,65 +409,19 @@ sshare [<OPTION>] [<COMMAND>] \n\
...
@@ -431,65 +409,19 @@ sshare [<OPTION>] [<COMMAND>] \n\
list account - Clusters=, Descriptions=, Format=, Names=,
\n
\
list account - Clusters=, Descriptions=, Format=, Names=,
\n
\
Organizations=, Parents=, WithCoor=,
\n
\
Organizations=, Parents=, WithCoor=,
\n
\
WithSubAccounts, and WithAssocs
\n
\
WithSubAccounts, and WithAssocs
\n
\
add account - Clusters=, Description=, Fairshare=,
\n
\
GrpCPUMins=, GrpCPUs=, GrpJobs=, GrpNodes=,
\n
\
GrpSubmitJob=, GrpWall=, MaxCPUMins=, MaxJobs=,
\n
\
MaxNodes=, MaxWall=, Names=, Organization=,
\n
\
Parent=, and QosLevel
\n
\
modify account - (set options) Description=, Fairshare=,
\n
\
GrpCPUMins=, GrpCPUs=, GrpJobs=, GrpNodes=,
\n
\
GrpSubmitJob=, GrpWall=, MaxCPUMins=, MaxJobs=,
\n
\
MaxNodes=, MaxWall=, Names=, Organization=,
\n
\
Parent=, and QosLevel=
\n
\
(where options) Clusters=, Descriptions=,
\n
\
Names=, Organizations=, Parent=, and QosLevel=
\n
\
delete account - Clusters=, Descriptions=, Names=,
\n
\
Organizations=, and Parents=
\n
\
\n
\
list associations - Accounts=, Clusters=, Format=, ID=,
\n
\
list associations - Accounts=, Clusters=, Format=, ID=,
\n
\
Partitions=, Parent=, Tree, Users=,
\n
\
Partitions=, Parent=, Tree, Users=,
\n
\
WithSubAccounts, WithDeleted, WOPInfo,
\n
\
WithSubAccounts, WithDeleted, WOPInfo,
\n
\
and WOPLimits
\n
\
and WOPLimits
\n
\
\n
\
\n
\
list cluster - Format=, Names=
\n
\
list cluster - Format=, Names=
\n
\
add cluster - Fairshare=, GrpCPUMins=, GrpCPUs=, GrpJobs=,
\n
\
GrpNodes=, GrpSubmitJob=, GrpWall=, MaxCPUMins=
\n
\
MaxJobs=, MaxNodes=, MaxWall=, and Name=
\n
\
modify cluster - (set options) Fairshare=, GrpCPUMins=,
\n
\
GrpCPUs=, GrpJobs=, GrpNodes=, GrpSubmitJob=,
\n
\
GrpWall=, MaxCPUMins=, MaxJobs=, MaxNodes=,
\n
\
and MaxWall=
\n
\
(where options) Names=
\n
\
delete cluster - Names=
\n
\
\n
\
add coordinator - Accounts=, and Names=
\n
\
delete coordinator - Accounts=, and Names=
\n
\
\n
\
list qos - Descriptions=, Format=, Ids=, Names=,
\n
\
list qos - Descriptions=, Format=, Ids=, Names=,
\n
\
and WithDeleted
\n
\
and WithDeleted
\n
\
add qos - Description=, GrpCPUMins=, GrpCPUs=, GrpJobs=,
\n
\
GrpNodes=, GrpSubmitJob=, GrpWall=, JobFlags=,
\n
\
MaxCPUMins=, MaxJobs=, MaxNodes=, MaxWall=,
\n
\
Preemptee=, Preemptor=, Priority=, and Names=
\n
\
delete qos - Descriptions=, Ids=, and Names=
\n
\
\n
\
list transactions - Actor=, EndTime,
\n
\
list transactions - Actor=, EndTime,
\n
\
Format=, ID=, and Start=
\n
\
Format=, ID=, and Start=
\n
\
\n
\
\n
\
list user - AdminLevel=, DefaultAccounts=, Format=, Names=,
\n
\
list user - AdminLevel=, DefaultAccounts=, Format=, Names=,
\n
\
QosLevel=, WithCoor=, and WithAssocs
\n
\
QosLevel=, WithCoor=, and WithAssocs
\n
\
add user - Accounts=, AdminLevel=, Clusters=,
\n
\
DefaultAccount=, Fairshare=, MaxCPUMins=
\n
\
MaxCPUs=, MaxJobs=, MaxNodes=, MaxWall=,
\n
\
Names=, Partitions=, and QosLevel=
\n
\
modify user - (set options) AdminLevel=, DefaultAccount=,
\n
\
Fairshare=, MaxCPUMins=, MaxCPUs= MaxJobs=,
\n
\
MaxNodes=, MaxWall=, and QosLevel=
\n
\
(where options) Accounts=, AdminLevel=,
\n
\
Clusters=, DefaultAccounts=, Names=,
\n
\
Partitions=, and QosLevel=
\n
\
delete user - Accounts=, AdminLevel=, Clusters=,
\n
\
DefaultAccounts=, and Names=
\n
\
\n
\
\n
\
Format options are different for listing each entity pair.
\n
\
Format options are different for listing each entity pair.
\n
\
\n
\
\n
\
...
...
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