Is there anything like /proc for windows [closed]

浪尽此生 提交于 2019-12-01 17:22:55
  1. Task manager
  2. Cygwin, giving Windows a Linux environment, certainly allows a Windows program to use /proc.
Grim

It would help if you explained what your final goal is. What are you trying to do? For managing processes on windows you have the following options:

  1. Windows ships with Task Manager (taskmgr.exe)
  2. A better more versatile alternative is a tool called Process Explorer
  3. You also have the command line utility called tasklist.exe which can perform many tasks.
  4. Also there are other ways to interact with processes, including winapi, WMI and so on.

As far as I know, there isn't anything equivalent to /proc in Windows. While there are facilities for getting similar information via Win32_Process (limited in comparison to /proc, e.g. you won't be able to get process memory maps this way) in WMI, windbg or Win32 APIs, Windows does not record this data onto files.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!