Skip to content

Commit d16f042

Browse files
Updated README
1 parent b9e6420 commit d16f042

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ procgov.exe -m 100M -- test.exe -arg1 -arg2=val2 arg3
8181

8282
### Setting limits on multiple processes
8383

84-
You may assign multiple processes to the same job object. When you provide more than one process ID to the **-p** parameter, procgov will apply the same limits for all the processes, for example:
84+
You may assign multiple processes to the same job object. When you use the **-p** parameter multiple times with different process IDs, procgov will apply the same limits for all the processes, for example:
8585

8686
```shell
87-
procgov.exe --maxmem 100M --pid 1234,1235,1236
87+
procgov.exe --maxmem 100M -p 1234 -p 1235 -p 1236
8888
```
8989

9090
If any of the processes was already assigned to a procgov job object, others will be assigned to it as well.
@@ -225,10 +225,10 @@ You may set the environment variables when starting a new process or accessing a
225225
226226
### Enable process privileges
227227
228-
Starting from version 2.10, you can enable privileges in the target process with the **--enable-privileges** switch. You may specify multiple privileges, separated by a comma, for example:
228+
You can enable privileges in the target process with the **--enable-privilege** switch. You may specify multiple privileges by using this parameter multiple times, for example:
229229
230230
```shell
231-
procgov.exe --enable-privileges=SeDebugPrivilege,SeShutdownPrivilege notepad
231+
procgov.exe --enable-privilege=SeDebugPrivilege --enable-privilege=SeShutdownPrivilege notepad
232232
```
233233
234234
Keep in mind that in Windows, you can't add new privileges to the process token. You may only enable existing ones. You may check the available process privileges in Process Hacker or Process Explorer. Check the documentation for a given privilege to learn how to make it available for a given user (for example, you may need to update group policies).

0 commit comments

Comments
 (0)