windows查看进程线程的命令pslist
pslist是用命令行查看线程;ProcessExplorer是图形化的查看线程,都在附件中。
1.查看进程
tasklist
or pslist -t
Name Pid Pri Thd Hnd VM WS Priv
Idle 0 0 2 0 0 28 0
System 4 8 69 1222 1824 308 0
smss 832 11 3 20 3748 408 172
csrss 900 13 12 807 72428 16152 2568
winlogon 924 13 21 516 61272 4704 8536
services 968 9 15 280 22556 4516 1868
avp 256 8 36 7185 190528 22332 50308
explorer 2060 8 16 575 122880 13400 17752
msnmsgr 1604 8 33 778 222560 19240 32792
cmd 3680 8 1 31 31084 3004 2164
pslist 5476 13 2 91 30500 2744 1236
notepad 4276 8 1 45 33692 3956 1344
IEXPLORE 5184 8 61 2143 403392 31236 105436
eclipse 6088 8 1 33 29884 3184 960
javaw 4484 8 40 1197 729124 139424 193496
javaw 4252 8 11(十一个线程) 310 187820 8080 13908
2.查看进程中的线程 http://technet.microsoft.com/en-us/sysinternals/bb896682.aspx
pslist -dmx 4252
Name Pid VM WS Priv Priv Pk Faults NonP Page
javaw 4252 202224 21848 23968 24476 7927 4 47
Tid Pri Cswtch State User Time Kernel Time Elapsed Time
5428 8 2617 Wait:UserReq 0:00:01.312 0:00:00.515 0:06:41.625
5312 15 614 Wait:UserReq 0:00:00.078 0:00:00.000 0:06:41.484
1380 15 7 Wait:UserReq 0:00:00.000 0:00:00.000 0:06:41.468
2012 10 7 Wait:UserReq 0:00:00.000 0:00:00.000 0:06:41.468
3876 9 1037 Wait:UserReq 0:00:00.046 0:00:00.187 0:06:41.187
5884 9 65 Wait:UserReq 0:00:00.000 0:00:00.015 0:06:41.187
4444 10 236 Wait:UserReq 0:00:00.000 0:00:00.015 0:06:41.171
4564 15 12 Wait:UserReq 0:00:00.000 0:00:00.000 0:06:40.953
4644 15 270 Wait:UserReq 0:00:00.234 0:00:00.015 0:06:40.953
4292 8 5 Wait:UserReq 0:00:00.000 0:00:00.000 0:06:40.953
5964 15 6422 Wait:DelayExec 0:00:00.000 0:00:00.000 0:06:40.937
Introduction
| pslist exp | would show statistics for all the processes that start with "exp", which would include Explorer. |
| -d | Show thread detail. |
| -m | Show memory detail. |
| -x | Show processes, memory information and threads. |
| -t | Show process tree. |
| -s [n] | Run in task-manager mode, for optional seconds specified. Press Escape to abort. |
| -r n | Task-manager mode refresh rate in seconds (default is 1). |
| \\computer | Instead of showing process information for the local system, PsList will show information for the NT/Win2K system specified. Include the -u switch with a username and password to login to the remote system if your security credentials do not permit you to obtain performance counter information from the remote system. |
| -u | username If you want to kill a process on a remote system and the account you are executing in does not have administrative privileges on the remote system then you must login as an administrator using this command-line option. If you do not include the password with the -p option then PsList will prompt you for the password without echoing your input to the display. |
| -p | password This option lets you specify the login password on the command line so that you can use PsList from batch files. If you specify an account name and omit the -p option PsList prompts you interactively for a password. |
| name | Show information about processes that begin with the name specified. |
| -e | Exact match the process name. |
| pid | Instead of listing all the running processes in the system, this parameter narrows PsList's scan to tthe process that has the specified PID. Thus: pslist 53 would dump statistics for the process with the PID 53. |
How it Works
Like Windows NT/2K's built-in PerfMon monitoring tool, PsList uses the Windows NT/2K performance counters to obtain the information it displays. You can find documentation for Windows NT/2K performance counters, including the source code to Windows NT's built-in performance monitor, PerfMon, in MSDN.
Memory Abbreviation Key
All memory values are displayed in KB.
- Pri: Priority
- Thd: Number of Threads
- Hnd: Number of Handles
- VM: Virtual Memory
- WS: Working Set
- Priv: Private Virtual Memory
- Priv Pk: Private Virtual Memory Peak
- Faults: Page Faults
- NonP: Non-Paged Pool
- Page: Paged Pool
- Cswtch: Context Switches
以下是非Windows系统本身附带的外部命令,均存放于光盘 PE 系统目录下的 System32 目录下。
AUTORAMRESIZER.EXE 自动根据物理内存调整虚拟盘大小(PE)。
CHOICE.EXE DOS 选择命令支持扩展
DEVCON.EXE 设备控制台命令行工具
FINDPASS.EXE 查找系统管理员口令的命令行工具(可能有病毒虚警)
FPORT.EXE TCP/IP与端口检测工具
HWPnp.exe 重新检测即插即用硬件的实用工具,可激活移动存储器等
KEYBOARD.EXE 更改键盘区域属性的命令行工具
KEYDOWN.EXE 检测键盘按键的命令行工具
NC.EXE 大名鼎鼎的网络强力命令行工具!
NETCFG.EXE Windows PE 环境的网络配置命令行工具
PASSWDRENEW.EXE Windows 口令离线修改工具
PENETCFG.EXE 牛人编写的 PE 网络环境配置工具
PSINFO.EXE 本地和远程系统信息检测命令行工具
PSKILL.EXE 结束本地或远程进程的命令行工具
PSLIST.EXE 系统进程查看工具
PSPASSWD.EXE 更改本地或远程系统口令命令行工具
PSSERVICE.EXE 管理系统服务的命令行工具
PULIST.EXE 系统进程列表查看
TCPVCON.EXE 查看活动进程的TCP连接状态
TFTPD32.EXE 简单的 TFTP 工具
WGET.EXE 功能强大的命令行下载工具
XCACLS.EXE 文件及目录访问控制列表的命令行加强工具
XNVIEW.EXE 袖珍图像查看工具(小巧够用,不需升级)
windows查看进程线程的命令pslist的更多相关文章
- Linux查看进程线程个数
1.根据进程号进行查询: # pstree -p 进程号 # top -Hp 进程号 2.根据进程名字进行查询: # pstree -p `ps -e | grep server | awk '{pr ...
- java查看进程:jps命令
java查看进程:jps命令 jps(Java Virtual Machine Process Status Tool) 是JDK .5提供的一个显示当前所有java进程pid的命令,简单实用,非常适 ...
- windows查看进程信息
wmic process where caption="java.exe" get processid,caption,commandline /value
- linux下查看进程(ps命令)
转自:http://www.jb51.net/LINUXjishu/151851.html Linux中的ps命令是Process Status的缩写.ps命令用来列出系统中当前运行的那些进程.ps命 ...
- Linux如何查看进程等常用命令
1.查进程 ps命令查找与进程相关的PID号: ps a 显示现行终端机下的所有程序,包括其他用户的程序. ps -A 显示所有程序. ps c 列出程序时,显示每个程序真正的 ...
- windows查看进程
由端口到进程: 直接查看进程: 查看本机连接端口: 杀进程: (eg:kill httpd) tskill 1596
- Linux查看进程堆栈信息命令
jps -lvm #查看进程IDjstack -l <进程ID> # 查看进程堆栈信息
- Windows查看进程CMD命令和终止进程CMD命令
将小米路由器3刷机成openwrt的方法,请参考上篇文章< 家庭宽带多运营商接入方案>这里介绍怎么在已经刷成openwrt系统的小米路由器3上安装私有云nextcloud openwrt开 ...
- windows查看进程占用并强制结束进程
打开命令提示符(CMD) 查看8080端口被哪个进程占用了,命令:netstat -ano|findstr 8080 上面的8080端口的PID是30160,可以根据PID可以杀死这个进程,用下面 ...
随机推荐
- Ubuntu 下apache2 增加新的module
http://andrew913.iteye.com/blog/398648 首先来介绍下apache的一个工具apxs.apxs是一个为Apache HTTP服务器编译和安装扩展模块的工具,用于编译 ...
- 【FinancialKnowledge】拨备
一句话: 银行拨备就是银行贷款损失减值准备的俗称,其相当于为承担风险和损失的金融资产计提的准备金 通俗易懂的解释见:https://wallstreetcn.com/articles/3307725
- ASP.Net 自定义HttpModule注册管道事件
背景: 一个请求在到达处理器时 可能需要做很多重复的工作 比如使用固定的算法推算出用户id 角色 如果在应用程序各处做重复解析 会产生大量代码冗余 还有能想到的诸如记录访问者 应用日志 统计流量 ...
- python-循环while
while 只要…条件成立,就一直做…. for 循环会在可迭代的序列被穷尽的时候停止,while 则是在条件不成立的时候停止,因此 while 的作用概括成一句话就是:只要…条件成立,就一直做…. ...
- 参数数组(params)的用法
使用参数数组的注意事项: 1. 只能在一维数组上使用params关键字. 2. 不能重载一个只基于params关键字的方法.params关键字不构成方法的签名的一部分. 如: //编译时错误:重复访问 ...
- c#删除 list中的元素和怎么去除空元素
; i >= ; i--) { if (list[i].NO == item.NO) { list.RemoveAt(i); } } public void RemoveItemFromList ...
- SVN服务器更改ip地址客户端怎么设置(转载)
SVN 服务器 IP 地址修改后,客户端对服务器的连接可以采用以下的方法重定位: 1. 如果客户端工具是TortoiseSVN,直接在工作副本上右键,选择TortoiseSVN->relocat ...
- Memcached管理与监控
一个用PHP编写的可视化的MemCached管理系统 MemAdmin是一款可视化的Memcached管理与监控工具,使用PHP开发,体积小,操作简单. 主要功能: 服务器参数监控:STATS.SET ...
- 【项目总结】:怎样做一个牛逼的Team leader?
随着ITOO高校云平台3.1项目的结束,我们各种各样的总结也被提上了日程. Java版本号的全部开发者和Donet版本号的全部开发者坐在一起进行了关于项目开发管理的头脑风暴,尽管我仅仅是Donet开发 ...
- thread_线程间协作:wait、notify、notifyAll和Condition
经典模式:生产者-消费者模型:当队列满时,生产者需要等待队列有空间才能继续往里面放入商品,而在等待的期间内,生产者必须释放对临界资源(即队列)的占用权.因为生产者如果不释放对临界资源的占用权,那么消费 ...