This tool extracts useful information about scheduled jobs.
Project description
What is jobinfo?
Researchers on a Linux-based computing system submit computing jobs to run and process their research data. Information on these jobs is collated in an output table as they run and provide a record of the resources used by the job. jobinfo extracts useful information from such tables, including,
- Allocation code(s) corresponding to a user.
- Most recently submitter job ID.
- Total CPU usage in core-hours.
- Total memory usage in GB.
Installation Instructions
Prerequisites
- Ensure Python 3.6+ is installed.
python --version
or
python3 --version
-
If you don't have Python 3.6+ installed, go to the official webpage and follow the instructions to install the latest version.
-
pipShould come with Python, but ensure it's up to date.
python -m pip install --upgrade pip
Install the Package (method 1)
- The easiest way is to use
pippackage manager.
pip install --upgrade jobinfo
- For a user-specific install (to avoid system-wide install),
pip install --user jobinfo
Install the Package (method 2)
- If installation method 1 fails, you can get the source code and build from scratch.
git clone https://github.com/ahama92/jobinfo.git
cd jobinfo
pip install -e .
Installation Confirmation
- Check if
jobinfois installed correctly.
jobinfo --version
Troubleshooting
- If you use Windows, I highly recommend installing the Ubuntu app from Microsoft Store and using it as your daily driver. This way you can stay in Windows but enjoy most of what Linux has to offers.
- If you still want to use Windows for some reason and you face issues with running
jobinfo, here are some possible remedies. - Check if
jobinfowas installed.
pip show jobinfo
- The output should show the installation location similar to
c:\users\USER\appdata\local\packages\pythonsoftwarefoundation.python.3.9_qbz5n2kfra8p0\localcache\local-packages\python39\site-packages. - Go to that path in your file explorer.
- Then go one step up. In my example it would be the
python39\folder. - Then go to the
Scriptsfolder. - Copy the path.
- Then type the following command in a Windows PowerShell.
$env:Path += ";C:\Users\USER\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts"
- Don't forget to change the path to that one you just copied, not my example!
Software Prerequisites
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jobinfo-1.0.7.tar.gz.
File metadata
- Download URL: jobinfo-1.0.7.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
514c73eba3cfa7e9885292c11c0f50d5725bc921817fd6cdc77ade21ef6f2743
|
|
| MD5 |
495c2cdd0de14f4677188e524b51c4bb
|
|
| BLAKE2b-256 |
44df02336ba606546420ff838e59d618a2f034a4e543cefde1e08e1227640f6c
|
File details
Details for the file jobinfo-1.0.7-py3-none-any.whl.
File metadata
- Download URL: jobinfo-1.0.7-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ffe9c8fc410da7459075bb45030d8df67fbe76e729e465105e968d27477c045
|
|
| MD5 |
7f5dc8ebf5646d4ab7873f1e6b410252
|
|
| BLAKE2b-256 |
6dac7fb90bf9f85b989dca4c76383d0b3ca686f5ccba1681ab8dc3b4bf1c48dd
|