PStat Examples |
|
Run Tool |
In this example, you want to output process and thread status information to a logfile called mystatus_log.txt. Type the following at the command prompt:
pstat > mystatus_log.txt
PStat will output all running processes, threads, and their status to the mystatus_log.txt file. The logfile will look similar to the following:
Pstat version 0.3: memory: 130528 kb uptime: 0 4:28:15.709
PageFile: \??\C:\pagefile.sys
Current Size: 196608 kb Total Used: 56464 kb Peak Used 56472 kb
Memory: 130528K Avail: 46352K TotalWs: 84956K InRam Kernel: 2012K P:11416K
Commit: 126696K/ 90060K Limit: 315320K Peak: 155972K Pool N: 6472K P:14312K
User Time Kernel Time Ws Faults Commit Pri Hnd Thd Pid Name
27444 281990 File Cache
0:00:00.000 4:24:06.606 20 1 0 0 0 1 0 Idle Process
0:00:00.000 0:00:22.953 216 3294 36 8 252 41 4 System
0:00:00.070 0:00:00.080 420 752 172 11 22 3 428 smss.exe
0:00:01.842 0:00:11.716 2296 20494 1664 13 384 12 492 csrss.exe
0:00:12.407 0:00:15.822 3856 10159 5860 13 536 18 524 winlogon.exe
0:00:13.799 0:00:18.536 2040 3009 4140 9 294 15 568 services.exe
0:00:01.151 0:00:01.241 2712 16134 4504 9 340 20 580 lsass.exe
0:00:00.280 0:00:00.270 1772 1345 1192 8 281 10 768 svchost.exe
0:00:22.101 0:00:18.156 7292 16859 10420 8 1217 69 820 svchost.exe
0:00:00.110 0:00:00.210 1132 2173 680 8 71 5 996 svchost.exe
0:00:00.150 0:00:00.270 1964 2540 2308 8 288 18 1096 svchost.exe
0:00:00.140 0:00:01.862 936 4325 2468 8 133 9 1140 spoolsv.exe
0:00:05.047 0:00:06.269 3260 2257 4508 8 101 21 1272 inojobsv.exe
0:00:01.071 0:00:01.532 180 4822 1700 8 117 5 1364 clisvcl.exe
0:00:00.030 0:00:00.160 796 1546 808 8 82 4 1396 mdm.exe
0:00:00.460 0:00:01.522 232 3673 1412 8 163 5 1976 SMSAPM32.exe
0:00:02.163 0:00:08.081 7672 9232 7208 8 315 11 360 explorer.exe
0:00:00.160 0:00:00.350 336 2940 1224 8 81 2 400 launch32.exe
0:00:00.060 0:00:00.120 1452 2176 1072 8 106 2 456 msmsgs.exe
0:00:00.230 0:00:00.470 1848 2736 540 8 135 1 276 ctfmon.exe
0:00:00.030 0:00:00.090 792 1000 1160 8 46 2 244 realmon.exe
0:00:00.140 0:00:00.240 156 12256 1088 8 106 4 1800 SMSMon32.exe
0:00:04.566 0:00:05.668 5868 13318 8720 8 501 12 1912 OUTLOOK.EXE
0:00:16.223 0:00:12.127 4996 10896 10060 8 257 3 1768 WINWORD.EXE
0:00:00.741 0:00:01.241 1004 2519 1444 8 72 3 1888 SSEXP.EXE
0:00:04.416 0:00:05.968 1420 9512 13964 8 288 8 1092 WINPROJ.EXE
0:00:00.010 0:00:00.040 1748 455 1416 8 23 1 1896 cmd.exe
0:00:00.010 0:00:00.010 1096 272 292 8 14 1 1600 pstat.exe