Skip to main content

Wrapper for getting process information.

Project description

pagurus

Used for getting the information from a running job based on its pid using psutil.

Running pagurus as a wrapper for a single user

# Start running wrapper in the background for username
pagurus -u username -o /path/to/output/username_data_$(date +%h_%d_%Y_%H.%M).csv &
# Get the previous running PID of pagurus
export PID=$!
# Sleep for a few seconds to let everything start running
sleep 10 


# Run your desired program as normal
./a.out

# Kill the pagurus process
kill $PID

# Sleep for a few seconds to let results finish writing
sleep 10

Plotting results

hermit -i test_data-time.csv

Project details


Download files

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

Source Distribution

pagurus-1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

pagurus-1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file pagurus-1.0.tar.gz.

File metadata

  • Download URL: pagurus-1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for pagurus-1.0.tar.gz
Algorithm Hash digest
SHA256 38e440945e43fdb5c5483c9207df087e75624831fb7cdd476324bd12ab239348
MD5 d3ccac71a72767aed5cb313fce6a3881
BLAKE2b-256 9b44f7397955eeaddd007f3f990b96b8bda6bed8a043ed558a0f813244282d22

See more details on using hashes here.

File details

Details for the file pagurus-1.0-py3-none-any.whl.

File metadata

  • Download URL: pagurus-1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for pagurus-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3145a687d10a1314faa9cb6c3210d2fe8d9c15d430856c4a2cab68ef164c45e5
MD5 2039d8cca662960ab4571a7e44e9fceb
BLAKE2b-256 5fb6d03126d0fddce1d5bd52903476bf4319adfc4921876f6755fd730c5ae14e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page