also reporting DAMASK version and os information
This commit is contained in:
parent
42a3cbd4a4
commit
bc15313677
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
OUTFILE="system_report.txt"
|
OUTFILE="system_report.txt"
|
||||||
echo date +"%m-%d-%y" >OUTFILE
|
echo date +"%m-%d-%y" >$OUTFILE
|
||||||
|
|
||||||
# redirect STDOUT and STDERR to logfile
|
# redirect STDOUT and STDERR to logfile
|
||||||
# https://stackoverflow.com/questions/11229385/redirect-all-output-in-a-bash-script-when-using-set-x^
|
# https://stackoverflow.com/questions/11229385/redirect-all-output-in-a-bash-script-when-using-set-x^
|
||||||
|
@ -14,12 +14,21 @@ DAMASK_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
echo ==============================================================================================
|
echo ==============================================================================================
|
||||||
echo DAMASK settings
|
echo DAMASK settings
|
||||||
echo ==============================================================================================
|
echo ==============================================================================================
|
||||||
echo DAMASK_ROOT: $DAMASK_ROOT
|
echo DAMASK_ROOT:
|
||||||
|
echo $DAMASK_ROOT
|
||||||
|
echo
|
||||||
|
echo Version:
|
||||||
|
cat VERSION
|
||||||
echo
|
echo
|
||||||
echo Settings in CONFIG:
|
echo Settings in CONFIG:
|
||||||
cat CONFIG
|
cat CONFIG
|
||||||
echo
|
echo
|
||||||
echo ==============================================================================================
|
echo ==============================================================================================
|
||||||
|
echo System
|
||||||
|
echo ==============================================================================================
|
||||||
|
uname -a
|
||||||
|
echo
|
||||||
|
echo ==============================================================================================
|
||||||
echo Python
|
echo Python
|
||||||
echo ==============================================================================================
|
echo ==============================================================================================
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue