  | | | free command | free command 2006-01-18 - By Jussi Silvennoinen
Back > We've been using "free" command to collect memory info thorugh scripts. > Recently some of our > machines having RHEL Update 2 were upgraded to RHEL Update 6. After the > upgrade, > the memory info returned by the "free" command is lower than what it used to > report > in RHEL U2. The difference is in the order of 100 MB. > > For eg. On one of our machine which has 16GB, the "free -m" command used to > report 15893 MB of RAM > when the machine used to have RHEL Update2. Now when the machine has been > upgraded > to RHEL Update6, the "free -m" command reports the memory as 15709 MB. > > This difference in memory does not do much harm except that it defeats the > purpose of some scripts used in monitoring.
Naturally you wouldn't use hardcoded values in monitoring scripts? Instead pick the values on the fly and determine appropriate action. I suspect it's one of the gazillion kernel changes between U2 and U6 which is responsible for this. Chances of reverting it are practically nil.
--
Jussi
-- Taroon-list mailing list Taroon-list@(protected) https://www.redhat.com/mailman/listinfo/taroon-list
|
|
 |