tasklist
tasklist /FO Table
tasklist.exe 2944 Console 1 5 908 КБ
tasklist /FO CSV
"tasklist.exe","2240","Console","1","5 876 КБ"
tasklist /FO LIST
Имя образа: tasklist.exe
PID: 5112
Имя сессии: Console
№ сеанса: 1
Память: 5 904 КБ
tasklist /fo csv |>nul find /i "calc.exe" && echo OK - calc is Running.
Вывод шапки можно отключить:Имя образа PID Имя сессии № сеанса Память
========================= ======== ================ =========== ============
TASKLIST /nh
Сам не знал - оказывается иногда полезно писать FAQ"Имя образа","PID","Имя сессии","№ сеанса","Память","Состояние","Пользователь","Время ЦП","Заголовок окна"
tasklist /m urlmon.dll
tasklist /m winhttp.dll
tasklist /m wininet.dll
tasklist /m rasapi32.dll
tasklist /m ws2_32.dll
tasklist /m netapi32.dll
dumpbin.exe /exports c:\windows\system32\ws2_32.dll
dumpbin.exe /imports c:\process.exe | find /i ".dll"
tasklist /FI "STATUS eq NOT RESPONDING"
tasklist /FI "MEMUSAGE ge 1024" /FI "MEMUSAGE le 10240"
А программно, можно увидеть 0-ую сессию в win7? То есть используя язык программирования.Чтобы увидеть 0-ую сесию в "Диспетчере задач" для ОС >= Vista, следует нажать кнопку "Отображать процессы всех пользователей".
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?