You are here: TWiki> Online Web>PVSSListWindowsPIDRemotely (2010-03-05, ebonacco)
Tags:
create new tag
, view all tags

List PVSS Windows Process ID remotely

If you need to retrieve the process ID of a pvss instance running on a windows machine (to kill it remotely with taskkill) you can run from the shortcut directory the list_pvss_procs.bat

It will ask for a server name and it will return the list.

Remember: this utility will use your credential, so if you see an access denied error message means that the system cannot authenticate with the credential of the logged user.

In order to solve the problem, if you are administrator of the remote server, you should browse the c$ share (\\servername\c$), authenticate with the admin account and then run again list_pvss_procs.bat

Example:

g:\online\ecs\pvss\Shortcuts> list_pvss_procs.bat
Target server: ui02w

PsExec v1.94 - Execute processes remotely
Copyright (C) 2001-2008 Mark Russinovich
Sysinternals - www.sysinternals.com


PVSS00ui.exe        4372 C:\ETM\PVSS2\3.8\bin\PVSS00ui.exe  -proj CentralShortcu
tProject_W +config G:/online/ecs/PVSSShortcutProjects38/LHC/LHCBBM_W/config/conf
ig -event tfc002:11302 -data tfc002:11301 -p COLL.pnl -iconBar -menuBar
PVSS00ui.exe        4680 C:\ETM\PVSS2\3.8\bin\PVSS00ui.exe  -proj CentralShortcu
tProject_W +config G:/online/ecs/PVSSShortcutProjects38/LHC/LHCBBM_W/config/conf
ig -event tfc002:11302 -data tfc002:11301 -p beamPos.pnl -iconBar -menuBar
PVSS00ui.exe        3872 C:\ETM\PVSS2\3.8\bin\PVSS00ui.exe  -proj CentralShortcu
tProject_W +config G:/online/ecs/PVSSShortcutProjects38/INF/INFMAG_W/config/conf
ig -event infmag01w:12602 -data infmag01w:12601 -p lbRamses/lbRamses_FS.pnl -ico
nBar -menuBar



G:\online\ecs\pvss\Shortcuts>

If you need to kill it you can use the pskill command in p:\windows\SysinternalsSuite\pskill.exe with the following argoument:

Open a command prompt and run:

p:\windows\SysinternalsSuite\pskill.exe \\SERVERNAME PID

EXAMPLE:

p:\windows\SysinternalsSuite\pskill.exe \\ui02w 4372

-- Main.ebonacco - 05 Mar 2010

Topic revision: r1 - 2010-03-05 - ebonacco
 

TWIKI.NET
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback