|
lsst.ctrl.pool
19.0.0-2-g260436e+36
|
Classes | |
| class | Batch |
| class | BatchArgumentParser |
| class | BatchCmdLineTask |
| class | BatchParallelTask |
| class | BatchPoolTask |
| class | BatchTaskRunner |
| class | PbsBatch |
| class | SlurmBatch |
| class | SmpBatch |
Functions | |
| def | shQuote (arg) |
| def | shCommandFromArgs (args) |
| def | processStats () |
| def | printProcessStats () |
| def | exportEnv () |
Variables | |
| int | UMASK = 0o002 |
| dictionary | BATCH_TYPES |
| def lsst.ctrl.pool.parallel.exportEnv | ( | ) |
Generate bash script to regenerate the current environment
Definition at line 409 of file parallel.py.
| def lsst.ctrl.pool.parallel.printProcessStats | ( | ) |
Print the process statistics to the log
Definition at line 61 of file parallel.py.
| def lsst.ctrl.pool.parallel.processStats | ( | ) |
Collect Linux-specific process statistics Parses the /proc/self/status file (N.B. Linux-specific!) into a dict which is returned.
Definition at line 47 of file parallel.py.
| def lsst.ctrl.pool.parallel.shCommandFromArgs | ( | args | ) |
Convert a list of shell arguments to a shell command-line
Definition at line 42 of file parallel.py.
| def lsst.ctrl.pool.parallel.shQuote | ( | arg | ) |
Quote the argument for the shell.
>>> quote('\t')
'\\\t'
>>> quote('foo bar')
'foo\\ bar'
Definition at line 27 of file parallel.py.
| dictionary lsst.ctrl.pool.parallel.BATCH_TYPES |
Definition at line 290 of file parallel.py.
| int lsst.ctrl.pool.parallel.UMASK = 0o002 |
Definition at line 20 of file parallel.py.
1.8.13