SUMMARY: Finding current number of processes

From: Eiler, James A. <James.Eiler_at_alcoa.com>
Date: Thu, 14 Mar 2002 09:00:11 -0500

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_at_nabeth.cxo.cpqcorp.net
Oisin McGuinness
Paul A Sand
Hannes Visagie
Zelenák Gábor

++++++

        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.

+++++++
Received on Thu Mar 14 2002 - 14:01:17 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT