This script takes a file of Adaptive Computing Torque logs and parses it to CSV.
- Enter the torque log diretory.
cd /var/spool/torque/server_priv/accounting
- Concatinate all logs into a single file
cat * > logs.out
- Feed the file into the parser script.
./parse_torque_log.sh logs.out
- The script will output a file named out.csv which contains the parsed data.