
June 23rd, 2011, 02:26 PM
|
 |
Wiser? Not exactly.
|
|
Join Date: May 2001
Location: Bonita Springs, FL
|
|
|
Never had a mac, so not that familiar with them but my understanding is that modern mac's have an environment and tools similar to modern unix systems. If that's the case you could try a couple things.
The easiest thing to do would probably be to have a script that kicks of via cron every few minutes and examines the output of ps aux for the programs in question.
Another method which may give more accurate results would be to see if you can replace the binary's for the programs in questions with a small shell script that does the count then runs the appropriate binary.
|