A colorful command line tool substitutes for Grid Engine qstat command
Project description
A colorful command line tool substitutes for Grid Engine qstat command
install
- From pip
pip install cqstat
or downlaod source from https://github.com/ronin-gw/cqstat
configure
Edit ~/cqstat_config.json to configure some defaults and colors. cqstat generates this file if not exists.
options
optional arguments
- -h
Show help message and exit.
- --help
Show preview and current settings.
Filter and memory options affect the previews.
- -c/--cluster-only
Show cluster information summary.
- -p/--pending-jobs
Add pending jobs to output.
format arguments
- -e/--expand
Full format display of queues which has visible job.
- -f/--full
Full format display of queues (even if queue doesn’t have visible job).
filter arguments
-l and -q arguments will be passed to the GE qstat command.
- -l/--resource <resource>...
Filtering by the GE resources
- -q/--queue <queue>...
Filtering by the GE queue names.
- -u/--user <user>...
Display only jobs and queues being associated with the users. The login user name ($USER environment valiable) will be used in omission.
- -a/--all-user
Display all jobs (same as -u *)
memory display options
Outputs generate from these options depend on the GE qhost command.
- -r/--required-memory [{s_vmem,mem_req}]
Add required memory amount specified by GE resource option (-l s_vmem or -l mem_req). Using s_vmem value as default. As the case may be, this option takes additional time because of refering job status by qstat -j command.
- -m/--physical-memory
Add host machine memory usage.
- -s/--swapped-memory
Add host machine swap usage.
others
- -w [sec], --watch [sec]
Show status periodically (like watch command)
- --no-sort
Disable queue sorting.
As default, queue are sorted by their status, usage and load average.
- --bleach
Disable coloring (´・ω・`)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file cqstat-1.0.0.tar.gz
.
File metadata
- Download URL: cqstat-1.0.0.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23182958f837b7f38609bff809e68d1dd62d5b57e7a3127041bc5337d3d5b69a |
|
MD5 | 131b00cb2eb45630ef8d5f0e42a2e0e7 |
|
BLAKE2b-256 | b15e18ea58d0dcc92791172f8b73edbfdebd079bb0f1ba0efc426aa4dc4813fe |