From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075318306727.tru64-unix-managers.marc@archive.invalid> From: "Brian K. Holman" Date: Thu, 30 Mar 1995 05:35:04 +0000 To: tru64-unix-managers Subject: PROCFS limited to 256 entries!? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075318306727 I have created a program that reads the PROCFS and uses that information to build a process tree. It then kills the leaf nodes that have been idle for a certain amount of time. However, I have run into a snag. The /proc directory will only report 256 entries [254 processes, (.), (..)]. Even if I have 500 active processes on the system, the maximum I can see in /proc is 256 using ls or the readdir system call. I tried to find a kernel paramter that I could change but without any success. Can anyone shed any light on this problem? -- +-----------------------------+--------------------------------------------+ | BRIAN K. HOLMAN | E-Mail: brian_holman@byu.edu | | Programmer/Systems Analyst | URL: http://lib1.byu.edu/staff/bkh/ | | Library Information Systems | Mail: 2330 HBLL, Provo, UT 84602 | | Brigham Young University | Phone: (801) 378-8162 | +-----------------------------+--------------------------------------------+