Job Defense Shield
Job Defense Shield is a software tool for identifying and reducing instances of underutilization by the users of high-performance computing systems. The software can (1) send automated email alerts to users, (2) create reports for system administrators, and (3) automatically cancel GPU jobs at 0% utilization. Job Defense Shield is a component of the Jobstats job monitoring platform.
Below is an example report for 0% GPU utilization:
GPU-Hours at 0% Utilization
---------------------------------------------------------------------
User GPU-Hours-At-0% Jobs JobID Emails
---------------------------------------------------------------------
1 u12998 308 39 62285369,62303767,62317153+ 1 (7)
2 u9l487 84 14 62301737,62301738,62301742+ 0
3 u39635 25 2 62184669,62187323 2 (4)
4 u24074 24 13 62303182,62303183,62303184+ 0
---------------------------------------------------------------------
Cluster: della
Partitions: gpu, llm
Start: Wed June 10, 2026 at 09:50 AM
End: Wed June 17, 2026 at 09:50 AM
Below is an example email to a user that is requesting too much CPU memory:
Hi Alan (u12345),
Below are your jobs that ran on the Stellar cluster in the past 7 days:
JobID Memory-Used Memory-Allocated Percent-Used Cores Hours
5761066 2 GB 100 GB 2% 1 48
5761091 4 GB 100 GB 4% 1 48
5761092 3 GB 100 GB 3% 1 48
It appears that you are requesting too much CPU memory for your jobs since
you are only using on average 3% of the allocated memory. For help on
allocating CPU memory with Slurm, please see:
https://your-institution.edu/knowledge-base/memory
Replying to this automated email will open a support ticket with Research
Computing.
Getting Started
See the documentation for installing and running the software.
Metadata
Release files for job-defense-shield 1.3.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| job_defense_shield-1.3.4.tar.gz | 121.8 kB | Without provenance | Details for job_defense_shield-1.3.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| job_defense_shield-1.3.4-py3-none-any.whl | Python 3 | none | any | Details for job_defense_shield-1.3.4-py3-none-any.whl |
Total release size: 217.3 kB
Release files / job_defense_shield-1.3.4.tar.gz
| Download URL | job_defense_shield-1.3.4.tar.gz |
|---|---|
| Size | 121.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c8f57d6411f3a70100947581ec431e87519916ccda22b9df9030618f9a1f8b4
|
|
BLAKE2b-256 checksum How to use checksums |
71d8fbc884d8a02e3a055ae5b49487ae6b91b38e7e01dbe960e652ff537fe3bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.13
|
Release files / job_defense_shield-1.3.4-py3-none-any.whl
| Download URL | job_defense_shield-1.3.4-py3-none-any.whl |
|---|---|
| Size | 95.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a9fb6cff3a45d2c6ae8272c78278e3eaa8d907aae546f798314b8a3d62d023e
|
|
BLAKE2b-256 checksum How to use checksums |
90e392f78932b01a6d1e92cc3659bc23b762d55cb545bb01b9b53eb3a92c4b44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.13
|
Security for job-defense-shield 1.3.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.