总用的东西,还是记录下吧
windoss2003
wmic process where caption="cmd.exe" get ExecutablePath^,Handle
或直接tasklist
扩展个题外话 {
服务所关联的进程路径方法
sc qc OracleOraDb10g_home1TNSListener
}
Linux
ps -ef | grep tomcat
windoss2003
wmic process where caption="cmd.exe" get ExecutablePath^,Handle
或直接tasklist
扩展个题外话 {
服务所关联的进程路径方法
sc qc OracleOraDb10g_home1TNSListener
}
Linux
ps -ef | grep tomcat