This commit is contained in:
mischa 2024-05-14 20:37:48 +02:00
parent 89ef1c36de
commit 93fee45ebd
1 changed files with 1 additions and 1 deletions

2
cpu.sh
View File

@ -50,7 +50,7 @@ for VM in ${OUT}; do
FIRSTSEEN=$(awk 'NR==1' /tmp/${VM})
LASTSEEN=$(awk 'NR==2' /tmp/${VM})
if [ -z "${DEBUG}" ]; then
if [ -n "${DEBUG}" ]; then
echo -n " - ${FIRSTSEEN}"
echo -n ", $((${TIMESTAMP} - ${FIRSTSEEN}))"
echo -n ", ${LASTSEEN}"