Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/awadell1/mq
My Queue - A Swiss Army Knife for HPC Queues
https://github.com/awadell1/mq
Last synced: 16 days ago
JSON representation
My Queue - A Swiss Army Knife for HPC Queues
- Host: GitHub
- URL: https://github.com/awadell1/mq
- Owner: awadell1
- License: gpl-3.0
- Created: 2024-07-28T16:26:50.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-05T22:37:08.000Z (5 months ago)
- Last Synced: 2024-10-19T15:20:21.184Z (2 months ago)
- Language: Python
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MQ - a pretty job status cli
`mq` can be installed using [`pipx`](https://pipx.pypa.io/stable/) with:
```shell
pipx install git+https://github.com/awadel1/mq.git
```## Commands
First and foremost, `mq` is a pretty job status cli for HPC job queues
```shell
awadell at lh-login2 in …/mq on main [!] is 📦 v0.1.0 via 🐍 v3.11.5 (mq-py3.11) took 5s
❯ mqid name st N queue host
─────────────────────────────────────────────────────────────────────────
21802155 sbatch COMPLETED - venkvis-debug lh1702
21803075 sbatch COMPLETED - venkvis-debug lh1702
21806211 sbatch FAILED - venkvis-debug lh1702
21812961 sbatch COMPLETED - venkvis-debug lh1702
21814677 sbatch COMPLETED - venkvis-debug lh1702
21816475 submit.sh FAILED - venkvis-debug lh1702
21817279 sbatch RUNNING - venkvis-debug lh1702
```## Monitoring Job Output
`mq cat` and `mq tail` can be used to display a job's standard output. By default, they print output of the last submitted job, or a specific job (i.e. `mq cat 21820125`).Use `mq tail --watch` to get something akin to `watch tail job.out`, but without hassle of specifying the actual path.