How to get the runtime of PID on another host

I have no problem getting the runtime of a Process ID on my local host but how can I get the runtime or the start time of a specific Process ID on a REMOTE host?
 
I'm trying to find out how long a user has been logged on either to the console or thru a TS session. However I'm not using Terminal Services per se. Thru a GPO I'm allowing a single TS connection to a server. I can get all the info I need except how long they have been logged on. The process ID that I'm wanting the data on is the 'explorer.exe' process associated with their Session ID. I have all of this data, I'm just needing the final piece, the number of seconds that Process ID has been running.  

Thanks in advance.
Ken
LVL 1
softbreezeAsked:
Who is Participating?
 
keamoCommented:
If you have PStools suite, you can use "pslist \\computername" to get a list of remote PIDs.
0
 
softbreezeAuthor Commented:
Getting the remote PIDs I'm interested in is not a problem using the WTSEnumerateProcesses. My question is:

Is there a way to get the runtime of a known PID on a remote server? More specificly if my program is running on Host-A how can I get the runtime of a PID running on Host-B.
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
keamoCommented:
Sorry, I misread your question.  I know Process Explorer will tell you it's runtime locally.  But not remotely.  
0
 
keamoCommented:
Ok, I'll try to redeem myself....If you run "pslist \\computername -d"  It should give you the elapsed time the process has been running.
0
 
softbreezeAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.