Reputation: 163
I wrote a program that I deployed on multiple machines. I'd like a way to monitor if they are running or not. Assuming this is not possible, is there a way that my program sends a message to my pc saying Hey I'm running!
or something? Any ideas can help.
Upvotes: 1
Views: 4823
Reputation: 1
This is great. A specific process will query that specific query, see below:
tasklist /s \\awuea1bdqciis01 | find "ProcessAppName.exe"
Upvotes: -1
Reputation: 718
Since Windows XP there is a built-in command line utility named “tasklist“. By running the command “tasklist /s hostname” where “hostname” is the remote computer you want to query, it will return a list of processes on the remote machine and some basic details about each process (PID, session number, memory usage, etc.).
Upvotes: 6