119 |
|
packet.addElement("swap",swap.trim()); |
120 |
|
packet.closeNest(); |
121 |
|
packet.addNest("memory"); |
122 |
< |
packet.addElement("real",real); |
123 |
< |
packet.addElement("free",free); |
124 |
< |
packet.addElement("swapinuse",swapInUse); |
125 |
< |
packet.addElement("swapfree",swapFree); |
122 |
> |
packet.addElement("real",real.substring(0, real.length()-1)); |
123 |
> |
packet.addElement("free",free.substring(0, free.length()-1)); |
124 |
> |
packet.addElement("swapinuse",swapInUse.substring(0, swapInUse.length()-1)); |
125 |
> |
packet.addElement("swapfree",swapFree.substring(0, swapFree.length()-1)); |
126 |
|
packet.closeNest(); |
127 |
|
|
128 |
|
in.close(); |
141 |
|
} |
142 |
|
|
143 |
|
|
144 |
< |
} // class |
144 |
> |
} // class |