"free -b" Results Are Truncated On Oracle Linux Server

(Doc ID 2384482.1)

Last updated on APRIL 22, 2018

Applies to:

Linux OS - Version Oracle Linux 6.7 and later
Linux x86-64

Symptoms

On Oracle Linux Server release 6.7 server returns wrong values for below command.

command : free -b results are truncated to 10 digits

[root@testserver ~]# free -b
total used free shared buffers cached
Mem: 3367052902 2653468262 7135846400 16384 1079205888 8998244352 <<<<<
-/+ buffers/cache: 1645723238 1721329664
Swap: 2147479552 11460608 2136018944

[root@testserver ~]# free -m
total used free shared buffers cached
Mem: 32110 25305 6805 0 1029 8581
-/+ buffers/cache: 15694 16415
Swap: 2047 10 2037
[root@testserver ~]# free -g
total used free shared buffers cached
Mem: 31 24 6 0 1 8
-/+ buffers/cache: 15 16
Swap: 1 0 1
[root@testserver ~]# rpm -qf /usr/bin/free
procps-3.2.8-33.0.1.el6.x86_64 <<<<<<<<<<<<<<<
[root@testserver ~]#rpm -qa | grep procps

procps-3.2.8-45.el6_9.1.x86_64 Tue Aug 22 12:09:34 2017 <<<<

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms