Skip to content

Debugging Script

PeterPitterling edited this page Aug 27, 2023 · 1 revision

Debugging Commandline options

saphana-check script logging modes

-d (script logging mode = debug)

  ./saphana-check.sh -d

enable debug output - logDebug function

-t (script logging mode = trace)

  ./saphana-check.sh -c 0001_os_kernel_sles -t

enable trace output - logDebug + logTrace function


bash debug mode

sh -x (bash debug mode)

  bash -x ./saphana-check.sh -c 0001_os_kernel_sles

enable bash shell debugging

sh -x ... [-d|-t] (bash debug mode; script logging mode =debug/trace)

  bash -x ./saphana-check.sh -c 0001_os_kernel_sles [-d|-t]

enable bash shell debugging + script debug/trace output

Clone this wiki locally