为了正常的体验网站,请在浏览器设置里面开启Javascript功能!
首页 > DOS或命令行下查看进程,结束进程命令

DOS或命令行下查看进程,结束进程命令

2018-05-28 12页 doc 38KB 27阅读

用户头像

is_751406

暂无简介

举报
DOS或命令行下查看进程,结束进程命令DOS或命令行下查看进程,结束进程命令 XP中和进程有关的命令: 在system32目录中,dir task* 会看到如下几个文件: +------------------------------+ taskkill.exe tasklist.exe taskman.exe taskmgr.exe +------------------------------+ 其中,tasklist 已经算是一个比较强悍的查进程工具了,不用费事去下载其他工具。 直接敲tasklist命令,看到结果和进程Ctrl+Shift...
DOS或命令行下查看进程,结束进程命令
DOS或命令行下查看进程,结束进程命令 XP中和进程有关的命令: 在system32目录中,dir task* 会看到如下几个文件: +------------------------------+ taskkill.exe tasklist.exe taskman.exe taskmgr.exe +------------------------------+ 其中,tasklist 已经算是一个比较强悍的查进程工具了,不用费事去下载其他工具。 直接敲tasklist命令,看到结果和进程Ctrl+Shift+Esc进程管理器看到的结果差不多。 用tasklist /?可以看到该命令的帮助。 比较常用的参数有: /M [module] 列出所有其中符合指定模式名的 DLL 模块的所有任务。如果没有指定模块名,则显示每个任务加载的所有模块。 例如,我想查看Firefox进程加载的所有模块。那么,可以先直接用tasklist查到firefox的PID,比如2436,然后用 Tasklist /Fi "PID eq 2436" /M 显示出firefox进程所调用的模块。 /V 进程详细信息。主要是用它来知道进程对应的执行文件位置。 /SVC 显示进程相关的服务。 有什么用处呢? 比如:很多人有“svchost恐惧症”,一看见这个进程就疑心是不是中了病毒。用tasklist /SVC命令可以查看到底是那些进程使用了svchost服务。 其他细节可以在tasklist /? 中查到。 对应的,还有taskkill命令,杀进程的。 参数和tasklist差不多,也可以用taskkill /? 来显示所有参数用法。 记一下/PID和/T 就够用了 T的意思是Tree,这个参数的功能是结束一个进程树。 例如:taskkill /PID 1234 /T ,结束某个PID为1234的进程及其子进程。 coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, thereand cultural heritage, highlighting the cultural taste and shape characteristics of the city in Yibin. According to forecasts, vision 2050 population will reach 2.1 million people in the center of Yibin city, urban land is around 210km2. Figure 2.6-1 2050 figure 2.7 land use planning in the Center City, Yibin city development requires the development of bus rapid transit construction and socio-economic development trends, Yibin city coordination, supporting urban space layout and infrastructure networks, transport organized, internal and external traffic hub smoothly linking, realizing sustainable development of Yibin city integrated transportation system. Concrete can be summarized as, accessible, efficient, intensive and sustainable. Accessibility: Central built-up area road network density of about 7.0km/km2; bus line density of 3-4 km/km2, bus transfer 这个工具不必很用心记,用Ctrl+Shift+Esc弹出进程管理器来杀进程更方便些。 cmd下两个非常重要的命令,往往我们在得到对方的dosshell以后,想给对方传送木 马或者rdmin等远程控制软件,但是对方开了win自带的防火墙,或者是天网,更或者 是瑞星的实时监控(其中以瑞星的最麻烦,因为都是有关联服务的),这时我们可以 用"tsd -c q -p PID",PID的获得方法有vbs脚本,也可以使用tasklist..现在先说下 tasklist...(cmd下执行tasklist就可以获得进程的详细资料,如下图所示) PID也就是process id--进程id,获得进程id的作用,嘿嘿,不用说太明白了吧 Taskkill的具体格式 taskkill 有如下参数: /S system 指定要连接到的远程系统。 /U [domain\]user 指定应该在哪个用户上下文 执行这个命令。 /P [password] 为提供的用户上下文指定 密码。如果忽略,提示输入。 /F 指定要强行终止 进程。 /FI filter 指定筛选进或筛选出查询的 的任务。 /PID process id 指定要终止的进程的 PID。 /IM image name 指定要终止的进程的 图像名。通配符 '*' 可用来指定所有图像名。 /T Tree kill: 终止指定的进程 和任何由此启动的子进程。 /? 显示帮助/用法 例如: TASKKILL /S system /F /IM notepad.exe /T TASKKILL /PID 1230 /PID 1241 /PID 1253 /T TASKKILL /F /IM notepad.exe /IM mspaint.exe TASKKILL /F /FI "PID ge 1000" /FI "WINDOWTITLE ne untitle*" TASKKILL /F /FI "USERNAME eq NT AUTHORITY\SYSTEM" /IM notepad.exe TASKKILL /S system /U domain\username /FI "USERNAME ne NT*" /IM * TASKKILL /S system /U username /P password /FI "IMAGENAME eq note*" 我一般用的是 taskkill /f /pid <相对的PID值> /t 比如我们要在DOS下结束QQ.exe 先用tasklist查一下QQ的PID值,我现在的是3108,那么输入 taskkill /f /pid 3108 /t 这个命令的意思是,强行终止远程计算机进程ID为3108的特定进程,并关 由此进程打开任何子进程... 最后补充,用vbs脚本查看pid的方法,将以下代码保存为vbs文件,dos下传给对方 ,然后执行cscript pid.vbs wscript.echo "PID ProcessName" coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, thereand cultural heritage, highlighting the cultural taste and shape characteristics of the city in Yibin. According to forecasts, vision 2050 population will reach 2.1 million people in the center of Yibin city, urban land is around 210km2. Figure 2.6-1 2050 figure 2.7 land use planning in the Center City, Yibin city development requires the development of bus rapid transit construction and socio-economic development trends, Yibin city coordination, supporting urban space layout and infrastructure networks, transport organized, internal and external traffic hub smoothly linking, realizing sustainable development of Yibin city integrated transportation system. Concrete can be summarized as, accessible, efficient, intensive and sustainable. Accessibility: Central built-up area road network density of about 7.0km/km2; bus line density of 3-4 km/km2, bus transfer for each ps in getobject("winmgmts:\\.\root\cimv2:win32_process").instances_ wscript.echo ps.handle&vbtab&ps.name next 杀进程的其他命令 ntsd -c q -p PID ---------------------------------------------------------------------------------------------------------------------- ------------------------- 以下是命令行下关于 taskkill 命令的介绍 Microsoft Windows XP [版本 5.1.2600] (C) 版权所有 1985-2001 Microsoft Corp. C:\Documents and Settings\tanyuqiang.COLORME>taskkill /? TASKKILL [/S system [/U username [/P [password]]]] { [/FI filter] [/PID processid | /IM imagename] } [/F] [/T] 描述: 这个命令行工具可用来结束至少一个进程。 可以根据进程 id 或图像名来结束进程。 参数列: /S system 指定要连接到的远程系统。 /U [domain\]user 指定应该在哪个用户上下文 执行这个命令。 /P [password] 为提供的用户上下文指定 密码。如果忽略,提示输入。 /F 指定要强行终止 进程。 /FI filter 指定筛选进或筛选出查询的 的任务。 /PID process id 指定要终止的进程的 PID。 /IM image name 指定要终止的进程的 coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, thereand cultural heritage, highlighting the cultural taste and shape characteristics of the city in Yibin. According to forecasts, vision 2050 population will reach 2.1 million people in the center of Yibin city, urban land is around 210km2. Figure 2.6-1 2050 figure 2.7 land use planning in the Center City, Yibin city development requires the development of bus rapid transit construction and socio-economic development trends, Yibin city coordination, supporting urban space layout and infrastructure networks, transport organized, internal and external traffic hub smoothly linking, realizing sustainable development of Yibin city integrated transportation system. Concrete can be summarized as, accessible, efficient, intensive and sustainable. Accessibility: Central built-up area road network density of about 7.0km/km2; bus line density of 3-4 km/km2, bus transfer 图像名。通配符 '*' 可用来指定所有图像名。 /T Tree kill: 终止指定的进程 和任何由此启动的子进程。 /? 显示帮助/用法。 筛选器: 筛选器名 有效运算符 有效值 ----------- --------------- -------------- STATUS eq, ne 运行 | 没有响应 IMAGENAME eq, ne 图像名 PID eq, ne, gt, lt, ge, le PID 值 SESSION eq, ne, gt, lt, ge, le 会话编号 CPUTIME eq, ne, gt, lt, ge, le CPU 时间,格式为 hh:mm:ss。 hh - 时, mm - 钟,ss - 秒 MEMUSAGE eq, ne, gt, lt, ge, le 内存使用,单位为 KB USERNAME eq, ne 用户名,格式为 [domain\]user MODULES eq, ne DLL 名 SERVICES eq, ne 服务名 WINDOWTITLE eq, ne 窗口标题 注意: 只有带有筛选器的情况下,才能跟 /IM 切换使用通配符 '*'。 注意: 远程进程总是要强行终止, 不管是否指定了 /F 选项。 例如: TASKKILL /S system /F /IM notepad.exe /T TASKKILL /PID 1230 /PID 1241 /PID 1253 /T TASKKILL /F /IM notepad.exe /IM mspaint.exe TASKKILL /F /FI "PID ge 1000" /FI "WINDOWTITLE ne untitle*" TASKKILL /F /FI "USERNAME eq NT AUTHORITY\SYSTEM" /IM notepad.exe TASKKILL /S system /U domain\username /FI "USERNAME ne NT*" /IM * TASKKILL /S system /U username /P password /FI "IMAGENAME eq note*" C:\Documents and Settings\tanyuqiang.COLORME> ---------------------------------------------------------------------------------------------------------------------- ---------------------- coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, thereand cultural heritage, highlighting the cultural taste and shape characteristics of the city in Yibin. According to forecasts, vision 2050 population will reach 2.1 million people in the center of Yibin city, urban land is around 210km2. Figure 2.6-1 2050 figure 2.7 land use planning in the Center City, Yibin city development requires the development of bus rapid transit construction and socio-economic development trends, Yibin city coordination, supporting urban space layout and infrastructure networks, transport organized, internal and external traffic hub smoothly linking, realizing sustainable development of Yibin city integrated transportation system. Concrete can be summarized as, accessible, efficient, intensive and sustainable. Accessibility: Central built-up area road network density of about 7.0km/km2; bus line density of 3-4 km/km2, bus transfer Linux下查看终止进程的命令 如查看JAVA进程 [root@thg ~]# ps -ef |grep java root 11683 1 2 11:15 pts/1 00:00:42 /usr/java/jdk1.5.0_12/bin/java -Djava.endorsed.dirs=/data/tomcat/common/endorsed -classpath /usr/java/jdk1.5.0_12/lib/tools.jar:/data/tomcat/bin/bootstrap.jar:/data/tomcat/bin/commons-logging-api.jar -Dcatalina.base=/data/tomcat -Dcatalina.home=/data/tomcat -Djava.io.tmpdir=/data/tomcat/temp org.apache.catalina.startup.Bootstrap start root 11869 11837 0 11:46 pts/2 00:00:00 grep java [root@thg ~]# 杀掉JAVA进程 [root@thg ~]# kill -9 11683 coefficient not greater than 1.3; High efficiency: control 1 hour travel time between any two points within the various groups within the area up to half an hour, 1-hour access to the airport, 45min reached the city's main traffic hub, external highway for half an hour with the main channels connecting bus 1.5 hours between any two groups of core areas; Intensive: 2030 transit share rate of around 35%, 2050 bus sharing rate of 45% per cent. 3rd chapter, Yibin city, traffic situation and General ... 3.1.1 city traffic status 1, external transport passenger and cargo traffic in Yibin city, traffic at the present main railway, highway, waterway and air four modes of passenger and freight transport, thereand cultural heritage, highlighting the cultural taste and shape characteristics of the city in Yibin. According to forecasts, vision 2050 population will reach 2.1 million people in the center of Yibin city, urban land is around 210km2. Figure 2.6-1 2050 figure 2.7 land use planning in the Center City, Yibin city development requires the development of bus rapid transit construction and socio-economic development trends, Yibin city coordination, supporting urban space layout and infrastructure networks, transport organized, internal and external traffic hub smoothly linking, realizing sustainable development of Yibin city integrated transportation system. Concrete can be summarized as, accessible, efficient, intensive and sustainable. Accessibility: Central built-up area road network density of about 7.0km/km2; bus line density of 3-4 km/km2, bus transfer
/
本文档为【DOS或命令行下查看进程,结束进程命令】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。 本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。 网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。

历史搜索

    清空历史搜索