Your ROOT_URL in app.ini is https://git.hpc.odu.edu/ but you are visiting https://git.wahab.hpc.odu.edu/wirawan0/WP-hpc-tools/src/commit/32b82db7a3d82694bf44139e73fbd8f40c0d05f2/turing/admin/wgo You should set ROOT_URL correctly, otherwise the web may not work correctly.
Custom HPC software & tools from Wirawan. Primarily tailored toward ODU HPC sytems.
 
 
 

19 lines
346 B

#!/bin/bash
DATETIME=$(date +"%Y%m%d-%H%M%S")
LOGDIR=$HOME/admin/login-patrol/turing
whats_going_on () {
date
echo
top -b -n 1 | head -n 60 | tee $LOGDIR/top-${DATETIME}
echo
ps fuxa > $LOGDIR/ps-fuxa-${DATETIME}
cat $LOGDIR/ps-fuxa-${DATETIME}
}
if test -t 1; then
whats_going_on | less
else
whats_going_on
fi