mirror of
https://github.com/google/gops.git
synced 2024-11-24 08:22:25 +02:00
README: document setgc (#57)
This commit is contained in:
parent
ed4f1f24a6
commit
ce0552a598
@ -113,6 +113,15 @@ $ gops memstats (<pid>|<addr>)
|
||||
If you want to force run garbage collection on the target program, run `gc`.
|
||||
It will block until the GC is completed.
|
||||
|
||||
#### $gops setgc (\<pid\>|\<addr\>) <perc>
|
||||
|
||||
Sets the garbage collection target to a certain percentage.
|
||||
The following command sets it to 10%:
|
||||
|
||||
``` sh
|
||||
$ gops setgc (<pid>|<addr>) 10
|
||||
```
|
||||
|
||||
|
||||
#### $ gops version (\<pid\>|\<addr\>)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user