Remotely check if processes are running on Windows 7 box

1

I'm handling a group of applications that need to all run at the same time and work together, on around 10 machines, most of them Windows 7 pro, and a couple of ubuntu servers.

I'm trying to develop a "control center" app that would monitor running processes and warn me if one goes down or has not started normally.

On linux I can easily run ps (even remotely) and parse it, however how should I do with the windows boxes? I looked at Tasklist, but have two problems: first for some reason I can't manage to run it remotely (working on this).

I then tried to run it locally, redirect output to file and parse this file remotely, but tasklist seems to be taking a long time to write the file, which is never consistent and causes lots of problems.

What am I doing wrong? Is there a better way to tackle this problem? Any help would be appreciated.

Bastien

Posted 2011-10-25T01:54:54.760

Reputation: 121

http://technet.microsoft.com/en-us/sysinternals/bb896682 – Psycogeek – 2011-10-25T02:13:47.820

Answers

2

On Windows 7 Pro and above, you can use PowerShell:

get-process > processes.txt

To output the list of processes to a text file.

Eli

Posted 2011-10-25T01:54:54.760

Reputation: 802

0

Kevin

Posted 2011-10-25T01:54:54.760

Reputation: 21

Although this may answer the question, you should give a more detailed description of the linked content and explain how it relates to the question. This will help ensure that this answer remains useful in the event the linked page is removed or goes offline. For more information, see this Meta Stack Exchange post.

– bwDraco – 2015-09-30T01:56:06.077