Unsorted Code Snippets

Impromptu shell-fu repository...

Log parsing

TORQUE: find submission and start times for jobs in a queue

Problem
A supervisor needs to know queue times for jobs submitted by users to a queue.
Background
Using TORQUE 2.3.5, plain text logs in /var/spool/torque/server_logs; log file names are in the YYYYMMDD form.
Ugly solution
Provide enqueuing and start times for each job in the queue of interest, in a given timeframe (e.g. Oct 1st, 2009 to end of year):

[Page updated: Mar-21-2019] [close window]