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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
keamoCommented:
Sorry, I misread your question.  I know Process Explorer will tell you it's runtime locally.  But not remotely.  
0
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
softbreezeAuthor Commented:
thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.