'ps -el' meaning of flag codes 100 & 200?

Doug Toppin toppin at melpar.UUCP
Sat Oct 28 07:15:54 AEST 1989


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



More information about the Comp.unix.xenix mailing list