qtop is a command-line tool for monitoring PBS systems, especially torque. It tries to fit as much information as possible in the space of one screen by joining together the output of pbsnodes -a, qstat, and qstat -q, so it runs fine in user space. The screen is divided in three sections, reporting SUMMARY, NODES, and ACCOUNTS. Each user gets mapped to a unique letter, according to number of jobs in qstat. Symbol 0 is always the user with most R+Q+other jobs, 1 is next in number of jobs, etc. qtop uses and suppresses color mode automatically, as needed, so its output can be piped to other programs. It is very configurable.
The pbs_python package is a wrapper class for the Torque Batch System C library. With this package, you now can write utilities and extensions in Python instead of C. This package was developed to replace xpbsmon by an ASCII version named pbsmon. PBSQuery is also included in this package. This is a Python module built on top of the pbs Python module to simplify querying the batch server. There are a lot of examples included in the source package.