Process Governor – allows you to put various limits on a Windows process

Discussion in 'other software & services' started by guest, Oct 17, 2021.

  1. guest

    guest Guest

    Process Governor
    Website (GitHub)

    available options:
    Code:
    Usage: procgov [OPTIONS] args
    
    Options:
      -m, --maxmem=VALUE         Max committed memory usage in bytes (accepted
                                   suffixes: K, M or G).
          --maxjobmem=VALUE      Max committed memory usage for all the processes
                                   in the job (accepted suffixes: K, M, or G).
          --maxws=VALUE          Max working set size in bytes (accepted
                                   suffixes: K, M, or G). Must be set with minws.
          --minws=VALUE          Min working set size in bytes (accepted
                                   suffixes: K, M, or G). Must be set with maxws.
          --env=VALUE            A text file with environment variables (each
                                   line in form: VAR=VAL). Applies only to newly
                                   created processes.
      -n, --node=VALUE           The preferred NUMA node for the process.
      -c, --cpu=VALUE            If in hex (starts with 0x) it is treated as an
                                   affinity mask, otherwise it is a number of CPU
                                   cores assigned to your app. If you also provide
                                   the NUMA node, this setting will apply only to
                                   this node.
      -e, --cpurate=VALUE        The maximum CPU rate in % for the process. If
                                   you also set the affinity, the rate will apply
                                   only to the selected CPU cores. (Windows 8.1+)
          --bandwidth=VALUE      The maximum bandwidth (in bytes) for the process
                                   outgoing network traffic (accepted suffixes: K,
                                   M, or G). (Windows 10+)
      -r, --recursive            Apply limits to child processes too (will wait
                                   for all processes to finish).
          --newconsole           Start the process in a new console window.
          --nogui                Hide Process Governor console window (set always
                                   when installed as debugger).
      -p, --pid=VALUE            Attach to an already running process
          --install              Install procgov as a debugger for a specific
                                   process using Image File Executions. DO NOT USE
                                   this option if the process you want to control
                                   starts child instances of itself (for example,
                                   Chrome).
      -t, --timeout=VALUE        Kill the process (with -r, also all its
                                   children) if it does not finish within the
                                   specified time. Add suffix to define the time
                                   unit. Valid suffixes are: ms, s, m, h.
          --process-utime=VALUE  Kill the process (with -r, also applies to its
                                   children) if it exceeds the given user-mode
                                   execution time. Add suffix to define the time
                                   unit. Valid suffixes are: ms, s, m, h.
          --job-utime=VALUE      Kill the process (with -r, also all its
                                   children) if the total user-mode execution time
                                   exceed the specified value. Add suffix to define
                                   the time unit. Valid suffixes are: ms, s, m, h.
          --uninstall            Uninstall procgov for a specific process.
          --debugger             Internal - do not use.
      -q, --quiet                Do not show procgov messages.
          --nowait               Does not wait for the target process(es) to
                                 exit.
      -v, --verbose              Show verbose messages in the console.
      -h, --help                 Show this message and exit
      -?                         Show this message and exit
    

    Process Governor 2.9 Released (October 13, 2021)
     
  2. Rasheed187

    Rasheed187 Registered Member

    Joined:
    Jul 10, 2004
    Posts:
    18,178
    Location:
    The Netherlands
    So this thing doesn't even have a GUI, similar to Process Lasso? No thanks.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.