On 03/23/2018 08:55 PM, fred roller wrote:
On Fri, Mar 23, 2018 at 10:32 PM, Todd Chester <ToddAndMargo(a)zoho.com
I have a 32 bit program running on a server that may be
running out of memory.
From the command line, how do I check this?
This web site only made my head spin:
should give you a live break down of processes to include % of memory
for a process.
Look like it is getting close to the harry edge of a 32 bit program.
$ top -o %MEM
from `man top`:
2. %MEM -- Memory Usage (RES)
A task's currently used share of available physical memory.
17. RES -- Resident Memory Size (KiB)
The non-swapped physical memory a task is using.
36. VIRT -- Virtual Memory Size (KiB)
The total amount of virtual memory used by the task.
It includes all code, data and shared libraries plus pages
that have been swapped out and pages that have been mapped
but not used.
%Cpu(s): 11.8 us, 8.8 sy, 0.0 ni, 54.3 id, 23.5 wa, 0.7 hi, 0.8 si,
KiB Mem : 32710736 total, 5083192 free, 6250780 used, 21376764 buff/cache
KiB Swap: 16385020 total, 16059160 free, 325860 used. 25605772 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15160 root 20 0 4112444 3.672g 11784 S 2.0 11.8 40:44.60
%MEM -- Memory Usage (RES)
11.8% (0.118 * 3271036 /1e6 = 3.59818096 GiB)
RES -- Resident Memory Size (KiB)
VIRT -- Virtual Memory Size (KiB):
4112444 KiB (4.112444 GiB)