Process Status on Interactive 386/ix

Vincent R. Slyngstad vrs at lint.intel.com
Fri Jul 27 10:10:22 AEST 1990


In article <23960 at adm.BRL.MIL>, hsw at sparta.com (Howard Weiss) writes:
> Anyone have any idea why a 'ps -ef' or 'ps -el' on a 386 running Interactive
> 386/ix (SysV 3.2) would only give me listings of those processes that are
> in memory and nothing regarding those that have been swapped out?
This is probably because the SYSI86 system call to read the U-area calls the
disk driver (for swap) with a size that is not a multiple of a sector.  To my
knowledge this is the only place a V.3.2 kernel will issue a
non-sector-multiple
sized read.  If the driver returns an error (as it probably would), the SYSI86
system call fails, and ps does the best it can without a U-area (wich is not
very well).

-- 
Vincent R. Slyngstad, UNIX Development Engineering, Intel Corporation
vrs at littlei.intel.com
"*Talk* to me about Elvis!"



More information about the Comp.unix.wizards mailing list