English 中文(简体)
用于监测ema光的Windows cli工具?
原标题:Windows cli tool to monitor semaphores?
  • 时间:2010-09-01 10:35:03
  •  标签:
  • windows
  • ipc

在Windows,是否有工具从指挥线中看到失眠症?

锡斯内斯“Process Exploration”从单体中做了大量工作,SysInternals“handle.exe”的观点从指挥线上处理,但我没有发现任何东西可以从指挥线中列举出烟雾。

问题回答
handle.exe -s -p [processid]

将给这一进程带来多少ema。 这里是产出

handle.exe -s -p 388

在那里,388年是 Chrometab塔一带的 process。

Handle v3.51 Copyright (C) 1997-2013 Mark Russinovich Sysinternals - www.sysinternals.com

Handle type summary:
  ALPC Port       : 2
  Desktop         : 1
  Directory       : 4
  EtwRegistration : 25
  Event           : 37
  File            : 14
  IoCompletion    : 2
  Key             : 7
  KeyedEvent      : 1
  Mutant          : 4
  Section         : 14
  Semaphore       : 27
  Thread          : 16
  Timer           : 1
  TpWorkerFactory : 8
  WindowStation   : 2
Total handles: 165

handle.exe -a -p [processid] 

将列出所有各类操作人员;您可使用 gr类物品:

handle.exe -a -p 388 | grep Semaphore

• 取得产出:

  20C: Semaphore
  210: Semaphore
  218: Semaphore
  21C: Semaphore
  220: Semaphore




相关问题
Why running a service as Local System is bad on windows?

I am trying to find out the difference between difference service account types. I tumbled upon this question. The answer was because it has powerful access to local resources, and Network Service ...

Programmatically detect Windows cluster configuration?

Does anyone know how to programatically detect that a Windows server is part of a cluster? Further, is it possible to detect that the server is the active or passive node? [Edit] And detect it from ...

get file icon for Outlook appointment (.msg)

I ve read Get File Icon used by Shell and the other similar posts - and already use SHFileInfo to get the associated icon for any given extension, and that works great. However, Outlook uses ".msg" ...

Identifying idle state on a windows machine

I know about the GetLastInputInfo method but that would only give me the duration since last user input - keyboard or mouse. If a user input was last received 10 minutes ago, that wouldn t mean the ...

Terminating a thread gracefully not using TerminateThread()

My application creates a thread and that runs in the background all the time. I can only terminate the thread manually, not from within the thread callback function. At the moment I am using ...

热门标签