hsw@sparta.com (Howard Weiss) (07/25/90)
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? Also, on a 'ps -el' the ADDR field is the same for all processes shown (40256c) but the WCHAN does differ. Please respond directly to me - thanks, Howie Weiss hsw@sparta.com (137.39.6.2)
vrs@lint.intel.com (Vincent R. Slyngstad) (07/27/90)
In article <23960@adm.BRL.MIL>, hsw@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@littlei.intel.com "*Talk* to me about Elvis!"