Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!melpar!toppin From: toppin@melpar.UUCP (Doug Toppin) Newsgroups: comp.unix.xenix Subject: 'ps -el' meaning of flag codes 100 & 200? Keywords: proc.h swapping Message-ID: <241@melpar.UUCP> Date: 27 Oct 89 21:15:54 GMT Distribution: usa Organization: E-Systems, Falls Church, VA Lines: 16 I am running SCO Xenix on the 286 and have seen flag codes of 0100 and 0200 when I do a 'ps -el'. /usr/include/sys/proc.h indicates that 0100 means 'text pointer valid' and 0200 means 'process has been scanned since last swapin'. The manual page stops at 040. My questions are: * What do these mean? * Is it possible to swap out the data space and leave the text resident? * Does a 0 entry mean the text and data segments are swapped out? * I believe that if, when a new process is invoked, the kernel can't find enough memory to do the fork it forces the parent to swap. When the exec is attempted if there is still not enough memory is that when the 'not enough core' message appears? * How can the current state of the swap space be determined? thanks Doug Toppin uunet!melpar!toppin