From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653731622724.tru64-unix-managers.marc@archive.invalid> From: "Eiler, James A." Date: Thu, 14 Mar 2002 14:00:11 +0000 To: tru64-unix-managers Subject: SUMMARY: Finding current number of processes X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653731622724 ORIGINAL QUESTION: I'm running Tru64 5.1. >From a C program, I need to find out how many processes are currently = in the system. Is there a cfg_subsys_query( ) call I can make that will return the = value I'm looking for? ANSWERS FROM: alan@nabeth.cxo.cpqcorp.net Oisin McGuinness Paul A Sand Hannes Visagie Zelen=E1k G=E1bor ++++++ The number of processes running or the number of processes allowed? The number running isn't a configuration parameter and probably won't have a handle. The other may be, but it could also be dynamic. For the number running, count the number of files in /proc. +++++++