How free space in Linux machine is calculated by rsp probe and why df command on the Linux machine used by rsp does not match the probe output in alarms?

book

Article ID: 14692

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction



1)How free space in Linux machine is calculated by rsp probe?

2)Why command /bin/df -P -k -l on the Linux machine used by rsp does not match the probe output in alarms?

Environment

Release: CNMSPP99000-8.5-Unified Infrastructure Mgmt-Server Pack-- On Prem
Component:

Resolution

Free space is calculated by rsp probe by "df" command, simply we subtract from (size_mb - used_mb) then we get free space. 

"df" command tells you the amount of free space on all mounted file system or specified file system. In "df" command file system reserve some percentage of memory for the root user, so it is showing less available space under "Available" section. 

There is some difference between Available and free memory. 

free memory = Total memory - used memory. 

 

Available Memory = Total memory - used memory - reserve percentage of memory(for root user).