Hi All,
FC27, x64
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?
Many thanks, -T
This web site only made my head spin:
https://stackoverflow.com/questions/131303/how-to-measure-actual-memory-usag...
On Fri, Mar 23, 2018 at 10:32 PM, Todd Chester ToddAndMargo@zoho.com wrote:
Hi All,
FC27, x64
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?
Many thanks, -T
This web site only made my head spin:
https://stackoverflow.com/questions/131303/how-to-measure- actual-memory-usage-of-an-application-or-process
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
The command:
top
should give you a live break down of processes to include % of memory for a process.
On 03/23/2018 08:55 PM, fred roller wrote:
On Fri, Mar 23, 2018 at 10:32 PM, Todd Chester <ToddAndMargo@zoho.com mailto:ToddAndMargo@zoho.com> wrote:
Hi All, FC27, x64 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? Many thanks, -T This web site only made my head spin: https://stackoverflow.com/questions/131303/how-to-measure-actual-memory-usage-of-an-application-or-process <https://stackoverflow.com/questions/131303/how-to-measure-actual-memory-usage-of-an-application-or-process>
The command:
top
should give you a live break down of processes to include % of memory for a process.
Hi Fred,
Thank you!
Look like it is getting close to the harry edge of a 32 bit program.
-T
$ 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, 0.0 st 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 redacted.bin
%MEM -- Memory Usage (RES) 11.8% (0.118 * 3271036 /1e6 = 3.59818096 GiB)
RES -- Resident Memory Size (KiB) 3.672 GiB
VIRT -- Virtual Memory Size (KiB): 4112444 KiB (4.112444 GiB)
On Fri, 23 Mar 2018 23:55:33 -0400 fred roller fredroller66@gmail.com wrote:
The command:
top
should give you a live break down of processes to include % of memory for a process.
Or maybe even 'htop' - which will you give (among other things) the option to move down through - as it seems - all processes that are currently running - search for them, nice or even stop them via a visible menu ... https://en.wikipedia.org/wiki/Htop
Allegedly, on or about 24 March 2018, Wolfgang Pfeiffer sent:
Or maybe even 'htop' - which will you give (among other things) the option to move down through - as it seems - all processes that are currently running - search for them, nice or even stop them via a visible menu ... https://en.wikipedia.org/wiki/Htop
Out of curiosity, I tried that. There's a list of F keys down the bottom, some of which I can't use, because the terminal window uses them for itself (e.g. F1 for MATE help, F10 to open the MATE terminal menus, and navigate them with the cursor keys, instead of F1 for htop help, and F10 to quit htop). So, to quit htop, I had to close the terminal window.
On Mon, 2018-03-26 at 13:53 +1030, Tim wrote:
Allegedly, on or about 24 March 2018, Wolfgang Pfeiffer sent:
Or maybe even 'htop' - which will you give (among other things) the option to move down through - as it seems - all processes that are currently running - search for them, nice or even stop them via a visible menu ... https://en.wikipedia.org/wiki/Htop
Out of curiosity, I tried that. There's a list of F keys down the bottom, some of which I can't use, because the terminal window uses them for itself (e.g. F1 for MATE help, F10 to open the MATE terminal menus, and navigate them with the cursor keys, instead of F1 for htop help, and F10 to quit htop). So, to quit htop, I had to close the terminal window.
Or just type 'q' ...
poc
Tim:
So, to quit htop, I had to close the terminal window.
Patrick O'Callaghan:
Or just type 'q' ...
/me smacks head, "doh!"
On Mon, 26 Mar 2018 13:53:12 +1030 Tim ignored_mailbox@yahoo.com.au wrote:
Allegedly, on or about 24 March 2018, Wolfgang Pfeiffer sent:
Or maybe even 'htop' - which will you give (among other things) the option to move down through - as it seems - all processes that are currently running - search for them, nice or even stop them via a visible menu ... https://en.wikipedia.org/wiki/Htop
Out of curiosity, I tried that. There's a list of F keys down the bottom, some of which I can't use, because the terminal window uses them for itself (e.g. F1 for MATE help, F10 to open the MATE terminal menus, and navigate them with the cursor keys, instead of F1 for htop help, and F10 to quit htop). So, to quit htop, I had to close the terminal window.
Alt-{F1,F10} to reach the menus?
Or did you try good old xterm? Works like a charm here - and "here" is awesome window manager plus gdm. Plus gnome software, that I run inside awesome. Plus: I have (nearly permanently) running htop in a tmux window/pane, in a gnome-terminal. Inside this terminal running tmux all F-keys for htop are available except F1: for F1 I need the combo <Alt>-<F1> ..
Plus: Inside awesome I run tmux fullscreen and with the gnome title being switched off - just in case this might be important.
Good luck!
On Mon, Mar 26, 2018 at 01:53:12PM +1030, Tim wrote:
Allegedly, on or about 24 March 2018, Wolfgang Pfeiffer sent:
Or maybe even 'htop' - which will you give (among other things) the option to move down through - as it seems - all processes that are currently running - search for them, nice or even stop them via a visible menu ... https://en.wikipedia.org/wiki/Htop
Out of curiosity, I tried that. There's a list of F keys down the bottom, some of which I can't use, because the terminal window uses them for itself (e.g. F1 for MATE help, F10 to open the MATE terminal menus, and navigate them with the cursor keys, instead of F1 for htop help, and F10 to quit htop). So, to quit htop, I had to close the terminal window.
I'm also in the same Mate env and just tried htop.
Mouse clicks can also be used on the F fields.
jl