> Is there any existing tools or interface on the solaris can monitor CPU > temperature and control fan status?
I'm using the following dtrace script to monitor cpu temperatures on a Tecra S1 centrino laptop (monitors some dtrace probes in the tzmon kernel module). Unfortunatelly it's not very useful on ASUS mainboards with the Q-Fan feature enabled: ASUS BIOS controlls the cpu fan speed, and ASUS' ACPI code always reports a cpu temperature of 40.0°C: #!/usr/sbin/dtrace -s #pragma D option quiet sdt:tzmon:tzmon_eval_zone:tz-temp { printf("temp %d.%1u°K/%d.%1u°C", arg0 / 10, arg0 % 10, (arg0 - 2732) / 10, (arg0 - 2732) % 10); } sdt:tzmon:tzmon_eval_zone:tz-temp /(int)arg1 > 0/ { printf(", crit hot %d.%1u°K/%d.%1u°C", arg1 / 10, arg1 % 10, (arg1 - 2732) / 10, (arg1 - 2732) % 10); } sdt:tzmon:tzmon_eval_zone:tz-temp /(int)arg2 > 0/ { printf(", hot %d.%1u°K/%d.%1u°C", arg2 / 10, arg2 % 10, (arg2 - 2732) / 10, (arg2 - 2732) % 10); } sdt:tzmon:tzmon_eval_zone:tz-temp { printf(", %s\n", stringof(arg3)); } _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org