This shows you the differences between two versions of the page.
|
aix:collect_perf [2023/07/26 09:53] manu created |
aix:collect_perf [2023/07/26 09:54] (current) manu |
||
|---|---|---|---|
| Line 60: | Line 60: | ||
| </cli> | </cli> | ||
| + | <cli prompt='>'> | ||
| + | root@prod /var/nmon> cat /root/scripts/.env | ||
| + | # global variables for all scripts | ||
| + | export binpath=/root/scripts | ||
| + | export sn=`basename $0 | cut -d. -f1` | ||
| + | export HOSTNAME=`/usr/bin/hostname` | ||
| + | export logpath=/root/scripts/logs | ||
| + | export logname=$logpath/$sn.log | ||
| + | export configfile=$binpath/$sn.cfg | ||
| + | export destination="test@gmail.com" | ||
| + | </cli> | ||