Re: Memory usage goes up, but never down!



Hello,

in addition to what has already been said, you could also watch the
output of the 'top' command in order to monitor your system.

First example:
relatively small amount of memory is used. The process 'unsharp'
makes use of almost 100% of the CPU power.

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7913 finster 25 0 107m 13m 8520 R 98 0.3 0:13.48 unsharp

Second example:
a huge image has been created. The image manipulation program
(gimp) uses up almost all system memory (87%) Some memory has
been swapped out. A process ('sharpen') can use only 21% of the
CPU, because of swapping overhead.
Watch out for processes in state 'D' (uninterruptible sleep),
which indicates in many cases, that the process is waiting for
data swapped in/out.

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
8826 finster 18 0 139m 45m 8528 S 21 1.2 0:02.15 sharpen
7861 finster 16 0 5979m 3.4g 8364 D 15
87.7 3:41.91 gimp


Greetings Harald

.



Relevant Pages

  • Re: question on vmstat and ps command
    ... > I need clarity on the the vmstat and ps command. ... > monitor cpu and memory utilization: ... Neither %cpu nor %mem are valid. ... > This process is occupying nothing from the cpu but 22% from memory, ...
    (comp.unix.solaris)
  • Process Throttling
    ... have a way to watch for processes that run out-of-control…taking up too many ... resource (CPU, Memory) from the rest of the system. ...
    (microsoft.public.sqlserver.tools)
  • Re: slow system
    ... Running 'top' from the command line ... CPU it's probably going to slow your computer down pretty ... If you are low on memory and something is using quite ... fault of ubuntu, or it could be the fault of another computer on your ...
    (Ubuntu)
  • Re: looking for AIX cmd
    ... prtconf is also a very useful little command, giving you disk, cpu, ... memory, IP, and a list of devices in the system. ...
    (comp.unix.programmer)
  • Re: [opensuse] get info about memory and CPU
    ... is any possible way to find out the speed and type of CPU and available ... memory via command line. ... cat /proc/cpuinfo ...
    (SuSE)