Plotting time tables for jobs ran by GNU Parallel
=================================================
The program ``print_joblog`` produces a textual representation of the
time required by a sequence of jobs ran by GNU parallel
(http://www.gnu.org/software/parallel/).
To use it, call GNU Parallel with the ``--joblog`` option::
$ parallel --joblog log.txt ...[all the other parameters]...
After the file ``log.txt`` has been created, run ``plot_joblog`` on it::
$ plot_joblog log.txt
(You do not have to wait till ``parallel`` has exited to run
``plot_joblog``.)
Installing the program
----------------------
Move in the source directory and run the following command::
$ python3 setup.py install
Example
-------
Here is an example of the output::
$ plot_joblog -w 20 joblog_example.txt
1: |#### |
2: |####################|
3: |######## |
4: |### |
5: | ################ |
6: | ########### |
$
Output can be customized by means of the following parameters:
- ``--width`` specifies the overall width of each bar, in characters.
- ``--space`` allows to set up the character used to fill the
background of the bar.
- ``--fill`` allows to specify the character to be used to fill the
bars.
A nice choice for UTF-8 terminals is to use the character \u2588 (``█``)
for filling the bars::
$ plot_joblog -w 20 --fill='█' joblog_example.txt
1: |████ |
2: |████████████████████|
3: |████████ |
4: |███ |
5: | ████████████████ |
6: | ███████████ |
$
Run ``plot_joblog --help`` to see all the options provided by the
program.
License
-------
This program is released under the MIT license.
=================================================
The program ``print_joblog`` produces a textual representation of the
time required by a sequence of jobs ran by GNU parallel
(http://www.gnu.org/software/parallel/).
To use it, call GNU Parallel with the ``--joblog`` option::
$ parallel --joblog log.txt ...[all the other parameters]...
After the file ``log.txt`` has been created, run ``plot_joblog`` on it::
$ plot_joblog log.txt
(You do not have to wait till ``parallel`` has exited to run
``plot_joblog``.)
Installing the program
----------------------
Move in the source directory and run the following command::
$ python3 setup.py install
Example
-------
Here is an example of the output::
$ plot_joblog -w 20 joblog_example.txt
1: |#### |
2: |####################|
3: |######## |
4: |### |
5: | ################ |
6: | ########### |
$
Output can be customized by means of the following parameters:
- ``--width`` specifies the overall width of each bar, in characters.
- ``--space`` allows to set up the character used to fill the
background of the bar.
- ``--fill`` allows to specify the character to be used to fill the
bars.
A nice choice for UTF-8 terminals is to use the character \u2588 (``█``)
for filling the bars::
$ plot_joblog -w 20 --fill='█' joblog_example.txt
1: |████ |
2: |████████████████████|
3: |████████ |
4: |███ |
5: | ████████████████ |
6: | ███████████ |
$
Run ``plot_joblog --help`` to see all the options provided by the
program.
License
-------
This program is released under the MIT license.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
plot_joblog-1.0.1.tar.gz
(3.9 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plot_joblog-1.0.1.tar.gz.
File metadata
- Download URL: plot_joblog-1.0.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d76a54fabe986ae3f1daa1b01063bd78c7bb063c2049771eeb0188a4af7890aa
|
|
| MD5 |
c277bc0fa840077cbc7a2c7201ece7db
|
|
| BLAKE2b-256 |
275a3a485ba336f012bc71cc53c81ddf2fe7f7b5cbb1356acf2548b23b167bbe
|
File details
Details for the file plot_joblog-1.0.1.linux-x86_64.tar.gz.
File metadata
- Download URL: plot_joblog-1.0.1.linux-x86_64.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c087defd56962f363430cdda1d77f6ee24a01f09894583326c86ee77efaafbf
|
|
| MD5 |
efcc81da2057dda366c99a6f30e2ee9b
|
|
| BLAKE2b-256 |
405521cacb7f25e96f30fde13731724edd3e2cd5948ca78cb16a260c8ef0fbc6
|
File details
Details for the file plot_joblog-1.0.1-py3-none-any.whl.
File metadata
- Download URL: plot_joblog-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff54e8295d1bd5fb0f121ca5aba1a221632a72d4ab8bf26509e19b9fdbada309
|
|
| MD5 |
205b2dc7872434a0f69e928d70cf2de6
|
|
| BLAKE2b-256 |
2eb9d2a33d2bba4b6fd3b29c80d7564c0b9537f3a7db54b381fb1089712f44b1
|