A colorful command line tool substitutes for Grid Engine qstat command
- From pip
pip install cqstat
or downlaod source from https://github.com/ronin-gw/cqstat
Edit ~/cqstat_config.json to configure some defaults and colors. cqstat generates this file if not exists.
optional arguments
-hShow help message and exit.
--helpShow preview and current settings.
Filter and memory options affect the previews.
-c/--cluster-onlyShow cluster information summary.
-p/--pending-jobsAdd pending jobs to output.
format arguments
-e/--expandFull format display of queues which has visible job.
-f/--fullFull format display of queues (even if queue doesn't have visible job).
filter arguments
-land-qarguments will be passed to the GEqstatcommand.-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 (
$USERenvironment valiable) will be used in omission.-a/--all-userDisplay all jobs (same as -u *)
memory display options
Outputs generate from these options depend on the GE
qhostcommand.-r/--required-memory [{s_vmem,mem_req}]Add required memory amount specified by GE resource option (
-l s_vmemor-l mem_req). Usings_vmemvalue as default. As the case may be, this option takes additional time because of refering job status byqstat -jcommand.-m/--physical-memoryAdd host machine memory usage.
-s/--swapped-memoryAdd host machine swap usage.
others
-w [sec], --watch [sec]Show status periodically (like watch command)
--no-sortDisable queue sorting.
As default, queue are sorted by their status, usage and load average.
--bleachDisable coloring (´・ω・`)
