nc modify
Modify scheduled jobs
Note: nc modify -res now support binary unit conversion for all
memory based resources as a convenience from Petabytes (PB), TerabyteS (TB), or
GigabyteS (GB) to Megabytes (MB), which is still used internally and reported by all
commands. The input conversion will accept either decimal or integer form and are
all case-insensitive, so for example both
nc run -r SWAP/1GB — sleep
0
, and nc run -r RAM/0.1Tb — sleep 0
are supported.
The currently supported parameter names for which this conversion is supported are RAM/, RAM#, RAMFREE#, RAMFREE/, RAMTOTAL#, RAMFREE/, SWAP/, SWAP#, SWAPFREE#, SWAPFREE/, SWAPTOTAL#, SWAPTOTAL/ and TMP# or TMP/. By default the unit is MB (Megabytes), where 1MB is 1<<20 bytes.
nc: Usage Message
NC MODIFY:
Modify scheduled jobs
USAGE:
% nc modify [OPTIONS] [jobId] ...
(operate on job with that id)
% nc modify [OPTIONS] [!] ...
(operate on most recent job)
% nc modify [OPTIONS] [-set setName] ...
(operate on all jobs in setName)
% nc modify [OPTIONS] [-selrule rule] ...
(operate on all jobs selected by rule)
OPTIONS:
-h -- This help.
-v -- Increase verbosity.
-showfields -- Show fields that can be modified.
-<FIELDNAME> <NEWVALUE> -- Set the specified field to the
specified value.
-changegrab <RESMAP> [-]<N> -- Change the quantity of a resourcemap
grabbed for a running job. May not
combine with other options.
EXAMPLES:
% nc modify -jobclass short 0012345
% nc modify -res License:xxx 0012345
% nc modify -jobname superman 0012345
% nc modify -res License:xxx -set MySet
% nc modify -group /time/users !
% nc modify -jpp smallest -numa pack 0012345
% nc modify -changegrab Limit:foo -1 -selrule 'user=mary AND resources~foo'
nc.modify.-showfields
autoflow
autoforget
autokill
cmd
deadline
dir
env
fstokens
group
jobclass
jobname
jobproj
jpp
legalexit
nojournal
numa
preemptable
priority
res
res,aux
scheddate
submithost
systemjob
tool
xdur
xpriority