我需要找到一个程序名称的实际位置,即一个排定的工作正在执行。 我想要利用我们的驻外使团(如果你有任何其他建议,请让我知道)来做到这一点,但我并不确切地知道。 我曾尝试过几次变化,但迄今没有幸运。
我应该怎样?
我需要找到一个程序名称的实际位置,即一个排定的工作正在执行。 我想要利用我们的驻外使团(如果你有任何其他建议,请让我知道)来做到这一点,但我并不确切地知道。 我曾尝试过几次变化,但迄今没有幸运。
我应该怎样?
The following will work,beit to be used,beit of the "CommandLine
orExecutablePath
- not both:
wmic process where "ProcessID=1111" get CommandLine, ExecutablePath
它将归还如下内容,显示项目11的运行情况:
"C:Program Files (x86)Common FilesMyProgramAgentagent.exe"
这里可以开始。
查阅<代码>附件代码>的程序识别码
wmic service where name= schedule get ProcessId
ProcessId
288
如何确定母体过程识别符号为<编码> 附表代码>服务
wmic process where ParentProcessId=288
Edited
我认为,在微软系统中,工作是你所期望的:
职业目标使各类进程得以作为一个单位管理。 就业物体是可识别的、可计量的、可分享的物品,可控制与这些物品相关的过程的属性。 从事的工作对象影响到与工作对象有关的所有程序。 例子包括执行限制,如工作确定规模和优先工作,或终止与工作有关的所有程序。
I think you are looking for process.
为了回答你的问题,我期待着计划服务启动的进程。 如果您想到确切地点,则按财产编号<>可执行<>。
wmic process where ParentProcessId=288 get ExecutablePath
ExecutablePath
C:Windowssystem32wuauclt.exe
WMIC has a progressive help built-in, so you can learn its syntax using /?
at any place
C:WINDOWSsystem32>wmic
wmic:rootcli>/?
[global switches] <command>
I am looking for a Java solution to finding the CPU usage for a running process in Windows. After looking around the web, there seems to be little information on a solution in Java. Keep in mind, I am ...
Recently, I have been asked a question in an interview what s the difference between a process and a thread. Really, I did not know the answer. I thought for a minute and gave a very weird answer. ...
I ll write a script that runs a program and wait for it finished. But if the program is not finished within a specified time I want that the program is killed.
I use Python 2.5.4. My computer: CPU AMD Phenom X3 720BE, Mainboard 780G, 4GB RAM, Windows 7 32 bit. I use Python threading but can not make every python.exe process consume 100% CPU. Why are they ...
I was wondering if someone can tell me what would be the best way to bring my application to the foreground if a mutex was not able to be created for a new instance. E.g.: Application X is running ...
I have two classes: Action class, that has a method for executing VBScript files, and Item class that contains a list of Action instances. My problem is that I want to limit the number of VBScript ...
Is there any reason why this script always returns "running", regardless of whether my process is started or stopped? if ps ax | grep -v grep | grep "processName" > /dev/null then echo $"...
Through my web interface I would like to start/stop certain processes and determine whether a started process is still running. My existing website is Python based and running on a Linux server, so ...