Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!rpi!bu.edu!orc!inews!iwarp.intel.com!omepd!littlei!lint.intel.com!vrs From: vrs@lint.intel.com (Vincent R. Slyngstad) Newsgroups: comp.unix.wizards Subject: Re: Process Status on Interactive 386/ix Message-ID: <1215@gandalf.littlei.UUCP> Date: 27 Jul 90 00:10:22 GMT References: <23960@adm.BRL.MIL> Sender: news@littlei.UUCP Reply-To: vrs@lint.intel.com (Vincent R. Slyngstad) Lines: 16 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!"