Rene Bartsch:
> r...@www:~# pmap 23976

pmap is a command that originates from Solaris, but that is also
available on Linux (except that the Linux version is very light
on documentation).

> 23976:   smtpd -n <myip>:smtp -t inet -u -o stress
...
> 00007f2936d45000     36K r-x--  /lib/libcrypt-2.9.so
> 00007f2936d4e000   2044K -----  /lib/libcrypt-2.9.so
> 00007f2936f4d000      4K r----  /lib/libcrypt-2.9.so

This memory contains code and constants. It is shared read-only,
and it is backed by sections in the shared object file. This memory
is never written to swap file. Instead it is paged in from the
shared object file as needed.

> 00007f2936f4e000      4K rw---  /lib/libcrypt-2.9.so

This memory is initialized from the shared object file, but any
changes to this memory are not shared. If the system runs low on
memory, this would be written to swap file.

> 00007f2936f4f000    184K rw---    [ anon ]

This memory is is not shared, and it is backed by swap space.

        Wietse

Reply via email to