CPU Temperature Details

How to get a CPU temperature and current power consumption in T5220 server both from system controller and Operating system. I need details by cores. Thanks in advance.

you can try to use "ipmitool" to get this readings...

I did try but got following error

bash-3.00# /usr/sfw/bin/ipmitool -I lanplus -H 10.63.25.176 chassis power status
Password:
Error: Unable to establish IPMI v2 / RMCP+ session
Unable to get Chassis Power Status
You have new mail in /var/mail//root
bash-3.00#

you have to give "username" and "password" in the statement...

It didn't work that way either ..

bash-3.00# /usr/sfw/bin/ipmitool -I lanplus -H 10.63.25.176 -U root -f /ipmi.pass chassis power status
Error: Unable to establish IPMI v2 / RMCP+ session
Unable to get Chassis Power Status
bash-3.00#

where is the password?

and please use code tags!

its in the /ipmi.pass and even if try to give the password manually i get same error

Error: Unable to establish IPMI v2 / RMCP+ session
Unable to get Chassis Power Status

and the systemcontroller is up? has the latest fw? works with the username/pass combination?

Yes it works and firmware is also upto date

Sun System Firmware 7.2.2.b 2009/05/05 20:30

and you can ping the ilom from your host? maybe there is something wrong with the routing. try to ping your host from the ilom to be sure you can communicate in both directions.

yes it works

bash-3.00# traceroute 10.63.25.175
traceroute to 10.63.25.175 (10.63.25.175), 30 hops max, 40 byte packets
 1  10.63.25.175 (10.63.25.175)  2.179 ms  0.634 ms  0.662 ms
bash-3.00# ping 10.63.25.175
10.63.25.175 is alive
bash-3.00#

strange... no more ideas from my side. maybe a firewall thing, as last guess?

permission on your /ipmi.pass file?

Its 777 full access to all

# ls -l ipmi.pass
-rwxrwxrwx   1 root     root           9 Dec  1 20:45 ipmi.pass