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 -d -mv -p /path/to/output -o test.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
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.1.tar.gz
(5.3 kB
view details)
Built Distribution
File details
Details for the file pagurus-1.0.1.tar.gz
.
File metadata
- Download URL: pagurus-1.0.1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4d2241a86996596ebaa79fdcbfd64c58e8e310d6c37b23a01d6e4e186e7b893 |
|
MD5 | 9f827fc845b02c83a7728eebb57af8bb |
|
BLAKE2b-256 | 30012e411e64f2ed4a659f77874cb417ef0b20aa8f90e27a09f6db367470a67a |
File details
Details for the file pagurus-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: pagurus-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bc58018d3af95d39f26b7305ea24e83a70a61b72da0967758dc27a6c1948924 |
|
MD5 | 7663e8d21e455457f713995f465aecef |
|
BLAKE2b-256 | e13c4f762488d49ca7ed9de44cb0740e2bec379f0845684f0af430e68631ebed |