I guess that this example should be helpful when debugging slave's environments
Merge pull request #664 from andreyev/master

Prints all system information for the slave to the console.