总用的东西,还是记录下吧
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
记录Windows与Linux下的进程操作
本文详细介绍了在Windows和Linux环境下使用wmic、tasklist、ps等命令获取进程信息的方法,包括CMD命令行下的应用及服务关联进程的查询。
2244

被折叠的 条评论
为什么被折叠?



