Forum Discussion
Memory used OID
Greetings,
Using top CLI I am getting: Mem: 8189788k total, 8063168k used, 126620k free, 176524k buffers
However, If I use the OID sysHostMemoryUsedKb .1.3.6.1.4.1.3375.2.1.7.1.4, I am getting 2GB:
snmpwalk.exe -v 2c -c [community] [hostname] .1.3.6.1.4.1.3375.2.1.7.1.4
SNMPv2-SMI::enterprises.3375.2.1.7.1.4.0 = Gauge32: 2257912
Do you know why is that difference?. snmpwalk should mark ~8GB as the top command does.
Thank-you,
- Leonardo_Souza
Cirrocumulus
Top will show you the total memory of the system, and total memory being used. In an F5 device you have the host system, CentOS that uses Linux as the kernel. On top (or aside, depends how you see this), you have the TMOS with TMM as the kernel.
At boot time, or when you change the provision, the system splits the memory. TMM will get the majority of the memory and pre-allocate it in the Linux kernel, the Linux will get the remaining of the memory.
Based in the name of the OID you are getting the value, that is host system.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com