--- projects/cms/source/host/java/DecodeCPU_TXT.java 2001/01/22 17:50:28 1.10 +++ projects/cms/source/host/java/DecodeCPU_TXT.java 2002/05/18 18:15:57 1.12 @@ -1,3 +1,22 @@ +/* + * i-scream central monitoring system + * Copyright (C) 2000-2002 i-scream + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + import java.io.*; import java.util.*; @@ -73,6 +92,7 @@ class DecodeCPU_TXT { packet.addElement("sleeping",sleeping); packet.addElement("zombie",zombie); packet.addElement("stopped",stopped); + packet.addElement("cpu",onCPU); packet.closeNest(); packet.addNest("cpu"); packet.addElement("idle",idle);