Re: [PLUG] smem stats and free stats don't agree.. what is right?

2022-08-31 Thread Cy
On Tue, 30 Aug 2022 17:10:17 -0700 American Citizen wrote: > > Is there any CLI command which gets this right? $ cat /proc/meminfo To get the amount of memory being used for anything, subtract MemTotal from MemFree. Some of that memory can be immediately freed upon demand though (the page

Re: [PLUG] smem stats and free stats don't agree.. what is right?

2022-08-30 Thread Russell Senior
I don't know anything about smem. Have you tried reading the manpage? man smem On Tue, Aug 30, 2022 at 5:21 PM American Citizen wrote: > Running smem -s uss -r and free commands seems to show discrepancies. > What is the correct account of physical memory usage? > > %smem -s uss -t -r > > >

[PLUG] smem stats and free stats don't agree.. what is right?

2022-08-30 Thread American Citizen
Running smem -s uss -r and free commands seems to show discrepancies. What is the correct account of physical memory usage? %smem -s uss -t -r   PID User Command Swap  USS  PSS RSS 28305 owner    /usr/local/magma/magma.exe 0  6023928 6023975  6026236