Let's say performing a step produces an unexpected result or an error.
And you want to find out more information from the logs about the error.
Initially I would gather all the logs on my end , and then I would do the "grepping" thing on them.
But every time I tried a troubleshooting step(and it didnt work or did something else ) , I had to go back in and then do the "grepping" again.
Found out that this works out far better , if you do this with tail -f.
Open a few ssh sessions to the esx/unix/linux box.
Do a tail -f /var/log/whatever for each log file that you want to examine.
Then perform the step that produces the unexpected result or error.
The "-f" continues polls the logs , so it lets you see the relevant information from the logs in real time.
Sunday, June 1, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment