Hello,
I am making some working with rrdtool here, and got something strange. I
am getting data with SNMP, and two of them (CPU Usage, in percent and Memory
Utilization), have somthing "wrong".
1) If I go to Cache Manager->General Runtime Information, I get there:
CPU Usage:1.20%
But since SNMP OID is an Integer32, it gets me only 1% :
NAME: cacheCpuUsage
OID: 1.3.6.1.4.1.3495.1.3.1.5
SYNTAX: Integer32
MAX-ACCESS: read-only
STATUS: current
DESCRIPTION: The percentage use of the CPU
Aren´t there some way to make SNMP inform those 1.20% ????
And also, in TOP we have:
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU
CPU COMMAND
451 www 96 0 62136K 57420K RUN 262:48 7.42%
7.42% squid
Why this diference ??? 1% to 7 % ??????
2) In SNMP we have :
NAME: cacheMemUsage
OID: 1.3.6.1.4.1.3495.1.3.1.3
SYNTAX: Integer32
MAX-ACCESS: read-only
STATUS: current
DESCRIPTION: Total memory accounted for KB
and
NAME: cacheMaxResSize
OID: 1.3.6.1.4.1.3495.1.3.1.6
SYNTAX: Integer32
MAX-ACCESS: read-only
STATUS: current
DESCRIPTION: Maximum Resident Size in KB
And in TOP we have
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU
CPU COMMAND
451 www 96 0 62136K 57420K RUN 262:48 7.42% 7
42% squid
I´d like to count the total memory SQUID is using, but
cacheMemUsage returns only 24Mb, and cacheMaxResSize gives those 57Mb...
Thanks for any help....
Alex C. B. Antão
Analista de Sistemas e Suporte
ICQ: 5144629http://motoviagens.pagina.de
http://e-modelismo.pagina.de
Um "bom" pouso é aquele do qual você sai caminhando. Um "ótimo" pouso é aquele depois do qual você pode usar o avião novamente.
Received on Tue Jun 24 2003 - 05:52:16 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:36 MST