<commit_before>qps
===
Like Torque's [qstat](http://docs.adaptivecomputing.com/torque/4-2-6/help.htm#topics/commands/qstat.htm), but better (for given values of better).

Shows the status of cluster jobs in a similar fashion to the way "ps" does for
the system (hence "qps").

Features are:
  * Selectable job attributes - only show interesting information
  * One-row per job output - make it easy to grep for relevent jobs
  * JSON + XML output
  * qstat-like output - but columns are sized to not truncate the data

USAGE
=====

  qps, version ...

  usage: ./qps [-l] [-h] [-s server] [-j|-x|-q] [-f attr1,attr2] [-o attr1,attr2]

    h : show help
    l : list all available job attributes
    s : server to connect to
    j : output in JSON format
    x : output in XML format
    q : output in qstat 'format'
    f : filter jobs (not yet implemented)
    o : job attributes to display

BUILD INSTRUCTIONS
==================

You will need the Torque libraries and header files. These are normally
available from your operating system packages (e.g. `torque-libs` and
`torque-devel` under Red Hat).

You also need a C compilar and the make utility. After you have these
prerequisites simply run:

  make

TODO
====

  * Filtering of jobs, e.g.:
    * Show jobs from user "foo"
    * Show jobs from all users apart from "foo"
    * Show jobs from all users matching the pattern 'foo.*'
    * Show jobs with a walltime of more than 10 hours
  * Show status of queues and servers?<commit_msg>Fix markup<commit_after>qps
===
Like Torque's [qstat](http://docs.adaptivecomputing.com/torque/4-2-6/help.htm#topics/commands/qstat.htm), but better (for given values of better).

Shows the status of cluster jobs in a similar fashion to the way "ps" does for
the system (hence "qps").

Features are:
  * Selectable job attributes - only show interesting information
  * One-row per job output - make it easy to grep for relevent jobs
  * JSON + XML output
  * qstat-like output - but columns are sized to not truncate the data

USAGE
=====

    qps, version ...
     
    usage: ./qps [-l] [-h] [-s server] [-j|-x|-q] [-f attr1,attr2] [-o attr1,attr2]
    
      h : show help
      l : list all available job attributes
      s : server to connect to
      j : output in JSON format
      x : output in XML format
      q : output in qstat 'format'
      f : filter jobs (not yet implemented)
      o : job attributes to display

BUILD INSTRUCTIONS
==================

You will need the Torque libraries and header files. These are normally
available from your operating system packages (e.g. `torque-libs` and
`torque-devel` under Red Hat).

You also need a C compilar and the make utility. After you have these
prerequisites simply run:

    make

TODO
====

  * Filtering of jobs, e.g.:
    * Show jobs from user "foo"
    * Show jobs from all users apart from "foo"
    * Show jobs from all users matching the pattern 'foo.*'
    * Show jobs with a walltime of more than 10 hours
  * Show status of queues and servers?
{'fraction_non_alphanumeric': 0.10006626905235255, 'fraction_numerical': 0.005964214711729622, 'mean_word_length': 3.063257065948856, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1805799', 'n_tokens_mistral': 931, 'n_tokens_neox': 887, 'n_words': 416}