detect OS by hostname