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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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