1
0
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:
JBD 2017-10-08 11:11:38 -07:00 committed by Emmanuel T Odeke
parent ed4f1f24a6
commit ce0552a598

View File

@ -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\>)