какой командой в windows мне узнать pid процесса ping Image Name PID Session Name…
- User
какой командой в windows мне узнать pid процесса ping Image Name PID Session Name Session# Mem Usage ========================= ======== ================ =========== ============ System Idle Process 0 Services 0 8 K System 4 Services 0 36 K Registry 92 Services 0 35 508 K smss.exe 348 Services 0 400 K csrss.exe 448 Services 0 2 472 K csrss.exe 552 Console 1 1 476 K wininit.exe 572 Services 0 1 804 K winlogon.exe 648 Console 1 3 264 K services.exe 692 Services 0 8 028 K lsass.exe 712 Services 0 13 708 K svchost.exe 820 Services 0 1 512 K fontdrvhost.exe 840 Console 1 2 124 K fontdrvhost.exe 848 Services 0 2 900 K svchost.exe 904 Services 0 68 176 K svchost.exe 952 Services 0 37 928 K svchost.exe 1008 Services 0 5 460 K svchost.exe 400 Services 0 12 480 K dwm.exe 948 Console 1 22 452 K LogonUI.exe 412 Console 1 22 892 K svchost.exe 1260 Services 0 7 040 K svchost.exe 1272 Services 0 2 192 K svchost.exe 1280 Services 0 146 708 K svchost.exe 1364 Services 0 5 108 K svchost.exe 1372 Services 0 5 016 K svchost.exe 1380 Services 0 2 056 K svchost.exe 1388 Services 0 16 516 K svchost.exe 1472 Services 0 9 488 K svchost.exe 1516 Services 0 2 708 K svchost.exe 1544 Services 0 2 580 K svchost.exe 1552 Services 0 5 240 K svchost.exe 1596 Services 0 5 616 K Memory Compression 1636 Services 0 8 192 K svchost.exe 1720 Services 0 2 656 K svchost.exe 1768 Services 0 5 304 K svchost.exe 1796 Services 0 4 236 K svchost.exe 1836 Services 0 7 076 K svchost.exe 1896 Services 0 5 872 K svchost.exe 1904 Services 0 2 872 K svchost.exe 1916 Services 0 4 524 K svchost.exe 1980 Services 0 8 100 K svchost.exe 1988 Services 0 3 412 K spoolsv.exe 2064 Services 0 8 364 K svchost.exe 2140 Services 0 2 932 K svchost.exe 2172 Services 0 25 600 K svchost.exe 2264 Services 0 12 460 K svchost.exe 2400 Services 0 6 144 K svchost.exe 2456 Services 0 3 292 K svchost.exe 2520 Services 0 2 580 K svchost.exe 2584 Services 0 4 084 K svchost.exe 2796 Services 0 2 268 K svchost.exe 3020 Services 0 2 940 K svchost.exe 3028 Services 0 4 140 K svchost.exe 2240 Services 0 43 816 K svchost.exe 1632 Services 0 36 240 K svchost.exe 2396 Services 0 4 676 K svchost.exe 864 Services 0 2 584 K sshd.exe 1052 Services 0 2 812 K svchost.exe 2484 Services 0 2 004 K VGAuthService.exe 1728 Services 0 4 096 K svchost.exe 700 Services 0 15 676 K vmtoolsd.exe 832 Services 0 10 364 K vm3dservice.exe 3140 Services 0 2 144 K MsMpEng.exe 3148 Services 0 257 380 K svchost.exe 3200 Services 0 5 024 K svchost.exe 3220 Services 0 4 584 K svchost.exe 3336 Services 0 3 972 K vm3dservice.exe 3588 Console 1 1 984 K svchost.exe 1776 Services 0 2 752 K svchost.exe 3240 Services 0 16 872 K NisSrv.exe 2228 Services 0 6 284 K klnagent.exe 924 Services 0 20 260 K svchost.exe 5880 Services 0 9 588 K svchost.exe 5464 Services 0 3 520 K SgrmBroker.exe 4580 Services 0 7 200 K svchost.exe 4864 Services 0 79 564 K svchost.exe 1832 Services 0 5 636 K svchost.exe 992 Services 0 5 876 K SearchIndexer.exe 1844 Services 0 43 308 K svchost.exe 868 Services 0 14 552 K svchost.exe 1292 Services 0 5 104 K SecurityHealthService.exe 1312 Services 0 9 424 K dllhost.exe 5928 Services 0 1 588 K svchost.exe 5364 Services 0 9 380 K svchost.exe 1572 Services 0 4 080 K svchost.exe 2880 Services 0 23 756 K svchost.exe 3604 Services 0 12 232 K svchost.exe 5900 Services 0 3 324 K svchost.exe 5528 Services 0 3 492 K csrss.exe 5548 2 2 304 K winlogon.exe 4736 2 3 480 K dwm.exe 5784 2 19 620 K fontdrvhost.exe 2696 2 2 560 K rdpclip.exe 2608 2 3 536 K sihost.exe 3688 2 24 044 K svchost.exe 4000 2 8 216 K svchost.exe 3424 2 19 100 K taskhostw.exe 2392 2 9 156 K svchost.exe 4108 Services 0 7 400 K svchost.exe 3268 Services 0 2 552 K ctfmon.exe 3496 2 4 688 K explorer.exe 5660 2 82 756 K svchost.exe 6748 2 5 224 K SearchApp.exe 184 2 81 496 K RuntimeBroker.exe 5096 2 21 356 K RuntimeBroker.exe 7640 2 12 160 K SecurityHealthSystray.exe 688 2 4 032 K vmtoolsd.exe 116 2 4 964 K TextInputHost.exe 5668 2 9 604 K svchost.exe 9020 2 10 540 K ShellExperienceHost.exe 3676 2 8 468 K RuntimeBroker.exe 7408 2 3 192 K UserOOBEBroker.exe 8752 2 4 680 K Microsoft.Photos.exe 6220 2 93 252 K RuntimeBroker.exe 7368 2 34 800 K notepad.exe 7320 2 3 544 K LogonUI.exe 7512 2 7 752 K svchost.exe 3936 Services 0 3 616 K CloudNotifications.exe 4828 2 4 560 K svchost.exe 3940 Services 0 36 664 K svchost.exe 4072 Services 0 10 828 K svchost.exe 616 Services 0 7 324 K PhoneExperienceHost.exe 1228 2 139 172 K conhost.exe 3296 Services 0 13 196 K powershell.exe 5816 Services 0 63 200 K svchost.exe 5356 Services 0 7 440 K msedge.exe 1804 Services 0 103 380 K msedge.exe 8280 Services 0 6 844 K msedge.exe 5348 Services 0 40 288 K msedge.exe 5952 Services 0 28 320 K msedge.exe 4584 Services 0 17 476 K msedge.exe 7928 Services 0 64 316 K msedge.exe 1848 Services 0 25 408 K svchost.exe 9160 Services 0 5 896 K wazuh-agent.exe 4496 Services 0 27 936 K sshd.exe 9196 Services 0 7 704 K conhost.exe 8964 Services 0 13 232 K sshd.exe 8748 Services 0 7 620 K conhost.exe 7092 Services 0 5 436 K powershell.exe 8328 Services 0 101 760 K svchost.exe 3476 Services 0 22 720 K svchost.exe 4448 Services 0 7 064 K PING.EXE 3452 Services 0 3 636 K conhost.exe 5068 Services 0 11 144 K WmiPrvSE.exe 8700 Services 0 10 204 K tasklist.exe 4884 Services 0 8 736 K
- Assistant
Командой tasklist /fi "imagename eq ping.exe" можно узнать PID процесса ping.
- User
мне нужен вывод именно pid процесса
- Assistant
Для получения только PID процесса ping вам нужно выполнить следующую команду в командной строке Windows:
tasklist /fi "imagename eq ping.exe" /fo list /nh | findstr /i "PID:"Эта команда вернет только строку с PID процесса ping.