DX Infrastructure Management

TECH TIP : How to include Buffered/Cached space for Linux Memory Usage in RSP 

Nov 05, 2017 08:16 PM

By default, RSP excludes Buffered/Cached space when calculating Linux Memory Usage.

CDM / SystemEDGE have option to control it.

Since RSP does not have any option, here is way to change this behavior manually.

 

1) Deactivate RSP Probe.

 

2) Please find function name "proc_meminfo" in <RSP>\Lua\Memory.lua

 

For Linux box, we call function name "proc_meminfo"
RSP gives "/bin/cat /proc/meminfo" to the function and then Get MemTotal line. 
Get MemFree line, Buffers line and Cached line and subtract them from MemTotal.

So you can "comment out" scripting part of Buffers and Cached, then
Buffers/Cache space won't be subtracted from MemTotal.

 

"--" is comment out in LUA language.

3) Activate RSP Probe.

Statistics
1 Favorited
3 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.