Hi Sasha,
Alexander Kolbasov wrote:
>>>>>> "Li" == Li Aubrey <aubrey.li at intel.com> writes:
> Li Aubrey <aubrey.li at intel.com> wrote:
>
> >> $ psrinfo -v
> >> Status of virtual processor 0 as of: 12/04/2007 17:55:03
> >> on-line since 11/26/2007 15:06:47.
> >> The i386 processor operates at
> >> [1596 MHz - 2660 MHz]
>
> Li> It's not a range, but only several steps.
> Li> The suggested format is confused.
> Li> A format like supported_frequencies_Hz member of cpu_info may be
> better,
> Li> ;-)
>
> It is several steps, but do you want to see all of them in the psrinfo
> output? I'd like it to be as compact as possible. The range output gives
> you immediate idea of where are you in the range. The range can be quite
> long and I'd like the line to fit in 80-column output.
Would it be appropriate to use a comma-delimited approach and leave the
frequency unit at the end? Something like:
$ psrinfo -v
Status of virtual processor 0 as of: 12/04/2007 17:55:03
on-line since 11/26/2007 15:06:47.
The i386 processor operates at
[1596, 1800, 1977, 2000, 2660] MHz
I made up those values, btw. :)
Pat
>
> - akolb
> _______________________________________________
> tesla-dev mailing list
> tesla-dev at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/tesla-dev
--
Pat Bredenberg
Solaris Quality Engineering
Sun Microsystems, Inc. - Broomfield, CO