Re: monitorare utilizzo di RAM
On 28/04/2016 08:39, Piviul wrote:
dovrei monitorare l'utilizzo di RAM di un processo.
se vuoi sapere l'uso della RAM ti consiglio di usare ps
Puoi così sapere quanta RAM, RAM per dati, RAM per eseguibile, quanto
swap sta usando un processo
es:
$ ps -v | head
$ man ps
[...]
%mem %MEM ratio of the process's resident set size to the
physical memory on the machine, expressed as a percentage. (alias pmem).
[...]
drs DRS data resident set size, the amount of physical
memory devoted to other than executable code
[...]
rss RSS resident set size, the non-swapped physical memory
that a task has used (in kiloBytes). (alias rssize, rsz).
[...]
trs TRS text resident set size, the amount of physical
memory devoted to executable code.
[...]
vsz VSZ virtual memory size of the process in KiB
(1024-byte units). Device mappings are currently excluded; this is
subject to change. (alias vsize).
Ciao
Davide
--
Dizionari: http://linguistico.sourceforge.net/wiki
Client di posta: http://www.mozilla.org/products/thunderbird
GNU/Linux User: 302090: http://counter.li.org
Non autorizzo la memorizzazione del mio indirizzo su outlook
Reply to: