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)
Built Distribution
pagurus-1.0-py3-none-any.whl
(6.7 kB
view hashes)