mirror of
https://github.com/pstadler/metrics.sh.git
synced 2025-07-08 16:42:15 -04:00
always print PID
This commit is contained in:
parent
4751641199
commit
ab6e30e0c2
@ -105,7 +105,6 @@ fi
|
|||||||
if [ $opt_verbose = true ]; then
|
if [ $opt_verbose = true ]; then
|
||||||
verbose_on
|
verbose_on
|
||||||
verbose "Started in verbose mode"
|
verbose "Started in verbose mode"
|
||||||
verbose "PID: $$"
|
|
||||||
verbose "OS detected: $OS_TYPE"
|
verbose "OS detected: $OS_TYPE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -161,5 +160,6 @@ main_init "$METRICS" "$REPORTER"
|
|||||||
verbose "Using metrics: $__METRICS"
|
verbose "Using metrics: $__METRICS"
|
||||||
verbose "Using reporter: $__REPORTER"
|
verbose "Using reporter: $__REPORTER"
|
||||||
|
|
||||||
|
echo "metrics.sh started with PID: $$"
|
||||||
verbose "Collecting metrics every $INTERVAL second(s)"
|
verbose "Collecting metrics every $INTERVAL second(s)"
|
||||||
main_collect
|
main_collect
|
Loading…
x
Reference in New Issue
Block a user