Is there anything like /proc for windows [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this questionI'm Curious about 2 things,
- What is the closest equivalent to /proc that ships with windows
- Are there any products which add a proc like filesystem to windows?
- Task manager
- Cygwin, giving Windows a Linux environment, certainly allows a Windows program to use
/proc
.
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.
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:
- Windows ships with Task Manager (taskmgr.exe)
- A better more versatile alternative is a tool called Process Explorer
- You also have the command line utility called tasklist.exe which can perform many tasks.
- Also there are other ways to interact with processes, including winapi, WMI and so on.
精彩评论