jCay.org

last scripts

popular scripts

top rated

search
 
search:

Advertisment

Count Instances of Process or Application in C/C++

DeEnFrSp
Hits: 1483

Count Instances of Process or Application in C/C++

Rating 5.0 5.0
This article describes how to count the number of instances of a process that are currently running on the system. It is written in C++ for Windows, but could be ported to other systems and languages easily. (Linux, Visual Basic/VB, C, Unix, MacOS) The system just needs to support interprocess semaphores. The idea can be extended to count any resource, such as a thread, file, data structure, or network object.


Platform(s): Windows
Date: Oct, 20 2006
Author: Shailesh Humbad, http://www.somacon.com/p112.php

Ratings

Number of Ratings: 100 Votes
5     
12%
4
88%
3
0%
2
0%
1
0%
Visitor Voting Booth: Rate It!