118 |
|
NumberFormat nf = NumberFormat.getInstance(); |
119 |
|
nf.setMaximumFractionDigits(2); |
120 |
|
nf.setMinimumFractionDigits(2); |
121 |
< |
String strSwapInUse = nf.format(swapInUse); |
121 |
> |
String strSwapInUse = nf.format(curValue); |
122 |
|
|
123 |
|
String attributeName = "Swap in use " + type; |
124 |
|
|
211 |
|
* be changed to null for utility classes. |
212 |
|
*/ |
213 |
|
private String _name = "Swap"; |
214 |
< |
|
214 |
> |
|
215 |
> |
/** |
216 |
> |
* A reference to the configuration proxy in use |
217 |
> |
*/ |
218 |
> |
private ConfigurationProxy _cp = ConfigurationProxy.getInstance(); |
219 |
> |
|
220 |
|
/** |
221 |
|
* A HashMap of Registers (or groups of Registers), one |
222 |
|
* for each host we're monitoring. |