I've uploaded a .tar file to our website with x86 binaries of the latest development version. These include the --cpu option.
http://opensolaris.org/os/project/tesla/Work/Powertop/powertop.9364.tar Rafael julia harper wrote: > I just tried running > powertop -c 2 > > and got a help message saying this is invalid: > > # powertop -c2 > powertop: illegal option -- c > OpenSolaris PowerTOP version 1.1 (C) 2009 Intel Corporation > > Usage: powertop [option] > -d, --dump [count] Read wakeups count times and print list of top > offenders > -t, --time [interval] Default time to gather data in seconds [1-100s] > -v, --verbose Verbose mode, reports kernel cyclic activity > -h, --help Show this help message > > > I'm running opensolaris 2009.06 pre-release (build 111a): > # uname -a > SunOS ban23uut175 5.11 snv_111a i86pc i386 i86pc Solaris > > > -- jdh > > > Rafael Vanoni wrote: >> Hi Julia >> >> Yes, the default behavior is to average p-state residency between >> CPUs. The information is gathered through DTrace and kstats. There's a >> --cpu (or simply -c) option that will let you observe a specific >> processor. >> >> Note that there's a bug in the p-state report (6829404), which will be >> fixed today. I can send you an updated binary once it goes back, if >> you'd like. >> >> Thanks, >> Rafael >> >> julia harper wrote: >>> >>> I have a powertop question. I just tried it on opensolaris, and >>> can't figure out how to show the per cpu p-states. It just shows one >>> number, and there doesn't seem to be an option for more info. Is >>> that number an average of the per cpus p-states? My system has 2 >>> Nehalem cpus in it (16 hw threads). >>> >>> -- jdh >>> >>> >>> --------------------- >>> Julia Harper, julia.harper at sun.com >>> >>> _______________________________________________ >>> pm-discuss mailing list >>> pm-discuss at opensolaris.org >>> http://mail.opensolaris.org/mailman/listinfo/pm-discuss >> >