Skip to content

Instantly share code, notes, and snippets.

@zapstar
Created September 23, 2015 08:52
Show Gist options
  • Select an option

  • Save zapstar/59b8976284706b1cf433 to your computer and use it in GitHub Desktop.

Select an option

Save zapstar/59b8976284706b1cf433 to your computer and use it in GitHub Desktop.
AIX cfglog tutorial - Useful to debug disk stuff
# Set cfglog environment variable
# cmd = trace commands
# meth = trace methods
# lib = trace libraries
# verbosity:xx (0-9) verbosity
export CFGLOG="cmd,meth,lib,verbosity:9"
# File where this gets logged: /var/adm/ras/cfglog
# Read cfglog entries:
alog -t cfg -o
# Manually write entries into alog (useful to put debug statements)
echo "Debug session start: `date`" | alog -t cfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment