root> uname -a
You can get details of the server, including UNIX dialect (SunOS, HP-UX), server name, OS version, etc.
Can also use
Hostname to view the machine name directly