<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 29, 2014 at 7:22 AM, Gordon Chung <span dir="ltr"><<a href="mailto:chungg@ca.ibm.com" target="_blank">chungg@ca.ibm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><tt><font><div class="im">> Meter Names:<br>
> fanspeed, fanspeed.min, fanspeed.max,
fanspeed.status<br>
> voltage, voltage.min, voltage.max, voltage.status<br>
> temperature, temperature.min, temperature.max,
temperature.status<br>
> <br></div><div><div class="h5">
> 'FAN 1': {<br>
>
'current_value': '4652',<br>
>
'min_value': '4200',<br>
>
'max_value': '4693',<br>
>
'status': 'ok'<br>
> }<br>
> 'FAN 2': {<br>
>
'current_value': '4322',<br>
>
'min_value': '4210',<br>
>
'max_value': '4593',<br>
>
'status': 'ok'<br>
> },<br>
> 'voltage': {<br>
> 'Vcore': {<br>
>
'current_value': '0.81',<br>
>
'min_value': '0.80',<br>
>
'max_value': '0.85',<br>
>
'status': 'ok'<br>
> },<br>
> '3.3VCC':
{<br>
>
'current_value': '3.36',<br>
>
'min_value': '3.20',<br>
>
'max_value': '3.56',<br>
>
'status': 'ok'<br>
> },<br>
> ...<br>
> }<br>
> }</div></div></font></tt>
<br>
<br><tt><font>are FAN 1, FAN 2, Vcore, etc... variable names or
values that would consistently show up? if the former, would it make sense
to have the meters be similar to fanspeed:<trait> where trait is
FAN1, FAN2, etc...? if the meter is just fanspeed, what would the volume
be? FAN 1's current_value?</font></tt> <br></blockquote><div><br></div><div>Different hardware will expose different number of each of these things. In Haomeng's first proposal, all hardware would expose a "fanspeed" and a "voltage" category, but with a variable number of meters in each category. In the second proposal, it looks like there are no categories and hardware exposes a variable number of meters whose names adhere to some consistent structure (eg, "FAN ?" and "V???").</div>
<div><br></div><div>It looks to me like the question is whether or not to use categories to group similar meters.</div><div><br></div><div>-Devananda</div></div></div></div>