fqstat

An interactive console based front-end for Sun's Grid Engine

Sun Microsystems released their Grid Engine (SGE) (Wikipedia) batch-queueing system as open source in 2001. We have been using SGE extensively for managing our cluster and fqstat is the console-based interactive front-end I developed for SGE. Following Sun's example, I'll make it available as free software. It was tested against SGE version 6.0.

fqstat can be used to track the state of jobs in the queue as well as to modify their state. Its user interface was somewhat modeled after the well-known top utility. It is console based so it can be used via ssh over slow, remote network connections. It was developed because using the SGE's builtin 'qstat' command can be very tedious when the queue contains 100000 jobs. fqstat boasts the following benefits over 'qstat':

fqstat is not a full replacement for the default set of SGE command line tools. For example, it is not meant for submitting new jobs.

Examples

This is what an example session looks like. (Jobs filtered to display only my jobs.)
fqstat example

This is another example, with jobs of user haag highlighted.
another fqstat example

Selecting jobs to be killed.
fqstat example, killing jobs

Resources

There is currently no manual page for the program, but users have found it easy to use even without one.

fqstat was written in Perl. It should run on any reasonably current Linux, possibly on Unix and BSD variants. It will most likely not run on Windows. Furthermore, it requires a few things from your perl installation. Most of these are related to the use of threads which used to be leaking memory in older releases.

Since the requirement of a recent "threads" version might be a problem for users inexperienced with respect to installing Perl modules, I packaged a binary of fqstat on a x86-32-bit Linux. It runs on various 32 and 64bit Linuxes of varying age. It was generated using PAR. We're using it extensively at work, but downloading binary executables from the net is something you do at your own risk.

The complete source download: fqstat-current.tar.gz (version 4.6)
The 32-bit Linux binary: fqstat-4.5-binary.tar.gz (version 4.5) The 32-bit Linux binary: fqstat-4.0-binary.tar.gz (version 4.0)

Please send your suggestions, inquiries, and feedback to fqstat at steffen-mueller dot net.

Copyright (C) 2007 Steffen Mueller This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Back to steffen-mueller.net

Valid HTML 4.0!