Solaris Version:
$ uname –a
v.5.8 = Solaris 8
v. 5.9=Solaris 9
Find if 32 or 64-Bit:
$ isainfo –kv
Find # of CPUs:
$ psrinfo –v; or $psrinfo -vp
For more info, use:
$ prtdiag –v
Find Amount of Memory (RAM):
$ prtconf | head -3 | grep Mem
Find Total Disk Space:
$ df –kh
Get hostid (hostid on Solaris is similar to the hostname):
sysdef –h
Or
hostid
Shutdown:
You have more than one command option that you can use. The best command is this, executed as root:
shutdown -y -i5 -g0
This will immediately shut the system down. You can also use the older command that still works:
sync;sync;init 5
You can even use:
Poweroff
Reboot:
If you are trying to reboot the system as opposed to turning it off, you could use:
shutdown -y -i6 -g0
Or:
sync;sync;init 6
Or even:
reboot