有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

在64位Windows上发送ctrlbreak到java进程,在32位Windows上发送信号

我经常为WebSphereApplicationServer进程(服务器、launchClient、wsadmin等)使用sendsignal工具来生成堆转储。但是,sendsignal在64位机器上不起作用。有人知道向远程进程发送ctrl-break的替代方法吗

更新:Bengt指出这与下面的问题基本相同。所以,我想我的问题是:在过去的两年里,有没有人找到了绕过这一限制的方法

Can I send a ctrl-C (SIGINT) to an application on Windows?


共 (2) 个答案

  1. # 1 楼答案

    http://www.latenighthacking.com/projects/2003/sendSignal/

    指向适用于windows 2003和windows 2008的x64版本的最新评论链接:

    (2013-9-26) : Both, the 32-bit and 64-bit EXE versions can be downloaded from the following link: https://github.com/walware/statet/tree/master/de.walware.statet.r.console.core/win32 GeorgeP (2014-3-7) : I built both 32-bit and 64-bit version with Ctrl-C, it's called SendSignalCtrlC.exe and you can download it at: https://dl.dropboxusercontent.com/u/49065779/sendsignalctrlc/x86/SendSignalCtrlC.exe https://dl.dropboxusercontent.com/u/49065779/sendsignalctrlc/x86_64/SendSignalCtrlC.exe Juraj Michalak