Ralf Hildebrandt: > Simple question: How much RAM does a process actually use? > But how to find out? There's copy on write, shared libraries, shared > memory, and whatever.
With Linux, parse /proc/pid/map for each process. This gives you the memory mapping. Writable mappings are non-shared and count for each process (this is an over-estimate in case of copy-on-write). Read-only mappings count only once. Wietse > How do I actually SEE how much memory my cleanup, smtpd and smtp > processes use (all processes, actually), so I can properly size my > default_process_limit - without running into deep swap. > > Which tools do I use on what platform? > ps? top? htop? > > -- > Ralf Hildebrandt ([EMAIL PROTECTED]) [EMAIL PROTECTED] > Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 > http://www.arschkrebs.de I'm looking for a job > Got a light? > Typical unix response: Got: No match. > >