Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

snooper

rahzan
New Contributor I
479 Views
I need to be sure that a certain process is running all the time. So I have the idea for another simple program which is running all the time and checks on the first app and if it is not loaded the second app sends me an email.

How can I ask windows if a certain application or thread is running?

thanks, Tim
0 Kudos
1 Reply
rahzan
New Contributor I
479 Views
Ok noone answered this but I found a sol'n jic someone else is intrested:
do a call system('pstat >somefile.txt') this will dump the content of the memroy and the processes into the text file. which can be read and inspected.

PSTAT.exe is under visualstudio/common/tools/winnt.

Tim
0 Kudos
Reply