Detect another program running

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Art
Posts: 642
Joined: Wed Nov 09, 2005 8:01 am

Detect another program running

Post by Art »

Hi Guys,
I was wondering if there's an easy way for a program to tell if any
other program is running.. for example, if a program was launched from
within a shell it would have less resources for itself, and the shell may be
already using wifi, USB, etc.

Some ways I've thought about was determining the left over RAM,
or finding out how many threads are running, but I don't have any
samples to achieve either of these.
Cheers, Art.
Post Reply