From: "Matthew Love" <matthew@networkharmoni.com.au>
To: <linux-kernel@vger.kernel.org>
Subject: determining max process slots at runtime
Date: Thu, 15 Mar 2001 10:23:07 +0800 [thread overview]
Message-ID: <002d01c0acf6$df701210$9b363fcb@networkharmoni.com.au> (raw)
hi
is it possible to determine the maximum number of processes at runtime?
I know about #define NR_TASKS, but that might not work if the binary is run
on a different machine than the one the program was compiled on.
PS
I'm not looking for the maximum number of processes per user. I've found
that
by getrusage().
TIA
matthew love
software engineer
networkharmoni pty ltd.
reply other threads:[~2001-03-15 2:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='002d01c0acf6$df701210$9b363fcb@networkharmoni.com.au' \
--to=matthew@networkharmoni.com.au \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox