From: "Eiler, James A." <James.Eiler () alcoa ! com>
To: tru64-unix-managers
Subject: SUMMARY: Finding current number of processes
Date: Thu, 14 Mar 2002 14:00:11 +0000 [thread overview]
Message-ID: <102653731622724.tru64-unix-managers.marc@archive.invalid> (raw)
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.
+++++++
next reply other threads:[~2002-03-14 14:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-14 14:00 Eiler, James A. [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-03-14 14:07 SUMMARY: Finding current number of processes Eiler, James A.
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