hardware info

is there a command to find out processor speed, RAM size, ets?

i need it for Solaris 5.6, 5.7 and linux

dmesg

If that doesnt give you enough information, you can do:
cat /proc/cpuinfo ; cat /proc/meminfo

on Linux.

dmesg gives a lot of info. To narrow it down to what you want, I would use;
dmesg | egrep cpu\|mem

mpstat will also show the number of processors initialized.

Under Linux top will show you much of this info in the header if I remember correctly.

ok thanks a bunch,

doesnt look like dmesg reports cpu clock speed though...

ok, psrinfo -v did the trick