tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Brian K. Holman" <bkh () lib1 ! byu ! edu>
To: tru64-unix-managers
Subject: PROCFS limited to 256 entries!?
Date: Thu, 30 Mar 1995 05:35:04 +0000	[thread overview]
Message-ID: <96075318306727.tru64-unix-managers.marc@archive.invalid> (raw)

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 |
+-----------------------------+--------------------------------------------+

                 reply	other threads:[~1995-03-30  5:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox