Created
September 23, 2015 08:52
-
-
Save zapstar/59b8976284706b1cf433 to your computer and use it in GitHub Desktop.
AIX cfglog tutorial - Useful to debug disk stuff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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