问题标签 [process-explorer]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
5 浏览

memory-management - processexploer PrivateBytes 可能没有显示 CMemFile 和/或 CMapViewofFile 分配,有没有办法得到这个

我有一个虚拟内存耗尽案例(达到提交限制),其中使用 Process Exploer 的 3-4 个最高内存消耗任务具有 200MB-1.2GB 的私有字节和峰值私有字节。将所有峰值私有字节加起来小于 10Gb。然而,提交内存是 57GB 页面文件大小的 99% 或 56GB。我一直在试图弄清楚发生了什么,是否有 100 个进程弹出和消失等。但似乎提交费用将包括映射到内存中的任何文件对象,但这不会出现在 Private Bytes 中。
我正在测试这个理论。请参阅此链接: 讨论 CommitLimit 和文件映射视图

这种行为可以解释过去几周我所看到的情况,因为我知道我们使用了一种消息传递技术,该技术会创建一个可能会变得非常大的 CMemFile 对象。多个客户端将通过此对象传输数据。

我现在很好奇的是,ProcessExplorer.exe 工具有一个 Virtual Size 列,我看到了两种类型的值。我预计 2.1TB 的一些任务是最大地址空间,而且似乎这与提交限制无关。然后还有其他 4..38Gb 似乎可以添加它们以产生实际的提交限制。如果是这样,似乎有一种方法可以查询 Windows 操作系统并判断 CMAPPed 文件何时增加提交限制。

寻找可以显示影响提交限制的内存量的“C”代码或 Powershell 脚本。在使用内存映射文件的情况下。

如果我能找到答案,我会在这里发布。上面提到的链接非常有用,它首先表明内存映射文件是私有字节的缺失部分。

0 投票
0 回答
12 浏览

c# - 在 C# 中获取 Process Explorer 显示的“图像文件”信息

我正在使用一个 Windows 项目,该项目通过 C# WPF GUI 将 python 程序作为 System.Diagnostics.Process 对象进行管理。不知何故,基于 PyQt5 的子进程在进程对象被杀死并且我的主程序退出后并没有退出,现在作为 Process Explorer 中的一个单独的 Python 进程。

我假设它的转义方式是采用与命令行进程不同的进程 ID。可能是因为我在该父命令行进程中启动了一个 conda 命令行来启动 python 代码。

无论如何,使用 Explorer,我可以幸运地通过它的(右键单击)Properties->Image->Command line 来识别僵尸进程,它保留了我启动它时使用的命令行参数。如何在 C# 中获取该信息,以便在关闭时将其杀死?

0 投票
1 回答
34 浏览

c# - 与 Process Explorer 的 TID 对应的 System.Threading.Thread 的属性/属性/字段是什么?

我目前正在尝试查看我在 C# 应用程序中创建的线程发生了什么。该线程是类型的System.Threading.Thread并且嵌入在内部对象中(并且在调试时我可以访问该对象内部的线程)。

我正在使用“ Process Explorer ”检查应用程序。
Process Explorer 有一个“Threads”选项卡,其中包含“TID”、“CPU”、“Cycles Delta”、“Suspend Count”和“Start Address”列。
为了识别我已经启动的线程(在调试器中),我相信我可以查找 TID(线程 ID)或起始地址,我认为线程 ID 是最清晰的。

但是,乍一看,我在System.Threading.Thread类中看不到任何看起来像线程 ID 的属性/字段/属性。

有人知道System.Threading.Thread与 Process Explorer 的 TID 列对应的属性/属性/字段吗?

编辑:似乎有一个ManagedThreadId,但不是这样。

0 投票
0 回答
18 浏览

windows - 如何为 Windows 上的进程获取网络增量接收和网络增量发送?

在 Windows 上,Sysinternals 进程浏览器可以显示网络增量接收和发送。如何使用 Windows API 获取此信息?是否有任何库或框架(无论它使用什么编程语言)来获取这些信息?

在此处输入图像描述

0 投票
0 回答
6 浏览

windows - 如何获取流程 WS 私有信息?

有人可以告诉我如何从流程中获取 WS 私有信息吗?我尝试使用 GetProcessMemoryInfo Api 但我发现没有 WS 私有信息。

0 投票
2 回答
91 浏览

visual-studio - Remove-Item :无法删除项目,因为它正在被另一个进程使用

这个问题很容易理解。

昨天我安装了en_visual_studio_2015_shell_isolated_x86_dvd_9fda4a05.iso文件挂在我的桌面上。

在此处输入图像描述

当我尝试通过Remove-Item .\en_visual_studio_2015_shell_isolated_x86_dvd_9fda4a05.iso终端删除它时,会出现以下错误:

所以我试图找出处理该文件的内容:

但答案是:

我最终使用了Process Explorer,我发现处理文件的是 OneDrive。

我停止了 OneDrive,但问题仍然存在。

有什么建议吗?

0 投票
0 回答
35 浏览

c# - C# Serilog Thread Id does not correspond with thread id in process explorer

I use an enriched serilog configuration that logs the thread id. This results in logging the thread id in a 2 digit number:

enter image description here

Now I want to check a high CPU issue and which thread is causing it. For this I open process explorer, but there, the threads id's are shown as 4 digit keys:

enter image description here

Why are they different? Is it possible to log the id in 4 digit way, or show the 2 digit thread id in process explorer? Or can the somehow be translated?