Code Sharing on 386

Malaclypse the Elder dwc at cbnewsh.ATT.COM
Thu Nov 9 14:24:10 AEST 1989


the size (SZ) field reported under 'ps' says different things
on different systems.  under the swap-based systems, it was
the size of the process image at startup.  and the manual says
that the units are 'clicks'.

when demand paging came in, different implementations interpret
'size' differently.  on the system v release 3 that came out of
at&t, this was the initial VIRTUAL size of the process, not the
INCORE size.

so i guess that what i'm saying is that if the 386 versions are
ports of system v, then there is sharing of text and don't use
'ps' to see if there is.  you can look at process accounting for
an indication though (process accounting does your normal space-time
measurement of the incore image).

danny chen
att!hocus!dwc



More information about the Comp.unix.questions mailing list