[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

[其他] 进程管理:pv.exe

非常强大的进程管理工具,可以实时监控进程,测试实时监控所需CPU不会超过%5(有可能是其他程序所占用的CPU),并带有筛选器,设置优先级,读取模块等功能。
  1. Modes:
  2.   -s       --summary   show usage for the specified MODULE
  3.   -h,-?    --help      display this help information
  4. Actions:
  5.   -k       --kill      kill process
  6.   -a       --activate  brings process main window in the foreground
  7.   -c       --close     close (send WM_CLOSE) to the PROCESS
  8.   -p[nihr] --priority  set priority to "Normal", "Idle", "High", "Real Time"
  9.     [ba]               "Below Normal" and "Above Normal" only on W2K or higher
  10. Output Options:
  11.   -e,      --extend    show additional information if available
  12.   -l,      --long      show command line (can also be a filter)
  13.   -q,      --quiet     supress headers and produce a tab-separated list
  14.   -b       --bare      show process ID only ()
  15. Input Options:
  16.   -f,      --force     never prompt
  17.   -i,      --id        use process ID instead of the PROCESS name
  18. Filters:
  19.   -l[mask] --long      include processes with command line matching mask
  20.   -w[mask] --window    show processes with visible windows matching mask,
  21.                        -e includes in search also invisible windows
  22.   -u[mask] --usage     show processes using modules that matches mask
  23.   -t[root] --tree      display process tree starting starting from the root
  24. Extra Information Options:
  25.   -g       --getenv    get startup environment for the  PROCESS
  26.   -m       --module    show modules used by specified PROCESS
  27. Execution Options:
  28.   -d[time] --delay     delay time in milliseconds before executing command
  29.   -r[err]  --repeat    repeat command in a cycle, while (%ERRORLEVEL% > err)
  30.   -n       --number    %ERRORLEVEL% = negated number of matched processes
  31.   -x[a]    --exit      wait for the process completion (exit)
  32.                         'a' flag waits for all processes, -d sets time-out
  33.   -@[file_name]        read arguments from specified file or from
  34.                        standard input after processing the command line
  35. Arguments can contain '*' and '?' wildcards.
  36. Use return code (%ERRORLEVEL%) in batch files:
  37.     0 - process found (negated number of processes if -n is specified)
  38.     1 - empty result set, 2 - programm error
  39. Examples:
  40.   pv myprocess.exe        get process ID for myprocess.exe.
  41.   pv -e                   get extended list of running processes.
  42.   pv -k sleep*            kill all processes starting with "sleep"
  43.   pv -m -e explorer.exe   get extended information about explorer's modules
  44.   pv -u oleaut*.dll       list of all processes that use matching dll
  45.   pv -ph w*.exe           set priority to hight for all matching processes
  46.   pv explorer.exe -l"*/S" looks for explorer process with /S switch
  47.   pv -r0 -d2000 calc.exe "2>nul" checks every 2 seconds if calc.exe is running
复制代码
http://bcn.bathome.net/s/tool/index.html?key=pv
1

评分人数

心绪平和,眼藏静谧。

返回列表