Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 1.84 KB

README.md

File metadata and controls

50 lines (29 loc) · 1.84 KB

SGE Monitor

Simple web-based application to monitor SGE activity

This project exists because I wanted a simple way of browsing our local HPC cluster (running SGE) without doing lots of typing. There are undoubtably far more sophisticated and interactive tools to monitor SGE usage/activity (I failed to find anything that installed easily). Currently, this is nothing more than a wrapper converting qstat output into web pages.

Requirements

  • Perl
  • Perl modules (Dancer2, XML::Simple, ... see Makefile.PL for full list)
  • qstat

Install

Move to a HPC node that has access to qstat

$ ssh username@sgehost

The following will try to install Perl modules from the CPAN (see note below).

$ git clone https://github.com/sillitoe/sge-monitor
$ cd sge-monitor
$ perl Makefile.PL
$ make test && make install

Note: I highly recommend using perlbrew to maintain your own Perl binaries/libraries and avoid messing about with system Perl. An alternative is to use local::lib to install Perl libraries as non-root user.

Run

Start the server...

$ plackup -r bin/app.psgi
HTTP::Server::PSGI: Accepting connections at http://0:5000/

Direct your browser to http://sgehost:5000

Screenshots

Home

Nodes

Job details

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Ian Sillitoe.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.