Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Produce a time chart of the jobs ran by GNU parallel

Project Description
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.
Release History

Release History

This version
History Node

1.0.1

History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
plot_joblog-1.0.1.linux-x86_64.tar.gz (4.6 kB) Copy SHA256 Checksum SHA256 any Dumb Binary Jan 5, 2016
plot_joblog-1.0.1-py3-none-any.whl (4.3 kB) Copy SHA256 Checksum SHA256 3.4 Wheel Jan 5, 2016
plot_joblog-1.0.1.tar.gz (3.9 kB) Copy SHA256 Checksum SHA256 Source Jan 5, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting