How to check OS type and Kernel patch levels for AIX/Linux/Solaris?