How can I count no of process invocations?

Hendrik Vermooten hendrik at zeusa.UUCP
Sat Sep 1 01:17:05 AEST 1990


I would like to determine (from a C program) how many copies of the current
process are running on the machine at a point. If possible, I dont want to
run a shell script with system, but would prefer something (pref simple?),
eg using shared memory.

Thanx in advance.

--------------------------------------------------------------------------
Hendrik Vermooten, ZEUS software  Tel [27 12] 64-5507, FAX [27 12] 64-8382
Bang: ..!uunet!ddsw1!olsa99!zeusa!hendrik     or        hendrik at zeusa.UUCP
--------------------------------------------------------------------------



More information about the Comp.unix.questions mailing list