Can we get free ram from /proc/stat ?
ENVIRONMENT
RHEL = 5.9
QUERY
Can we get free ram information from /proc/stat ?
Responses
Is free command not giving this data?. Do you got any specific reason why you are looking at this data in /proc/stat output? ...
The linked article http://www.veritas.com/docs/000036679 describes that HostMonitor gets its CPU usage information from /proc/stat on Linux. That makes sense because /proc/stat file contains CPU usage information.
Memory usage must be calculated from elsewhere. The free tool from the procps package reads /proc/meminfo to determine memory usage information.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
