You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-ml Memory commit threshold(s) (MB) below which to create dumps.
54
54
-gcm [.NET] GC memory threshold(s) (MB) above which to create dumps for the specified generation or heap (default is total .NET memory usage).
55
55
-gcgen [.NET] Create dump when the garbage collection of the specified generation starts and finishes.
56
-
-restrack Enable memory leak tracking (malloc family of APIs).
56
+
-restrack Enable memory leak tracking (malloc family of APIs). Use the nodump option to prevent dump generation and only produce restrack report(s).
57
57
-sr Sample rate when using -restrack.
58
58
-tc Thread count threshold above which to create a dump of the process.
59
59
-fc File descriptor count threshold above which to create a dump of the process.
@@ -64,7 +64,7 @@ Options:
64
64
-mc Custom core dump mask (in hex) indicating what memory should be included in the core dump. Please see 'man core' (/proc/[pid]/coredump_filter) for available options.
65
65
-pf Polling frequency.
66
66
-o Overwrite existing dump file.
67
-
-log Writes extended ProcDump tracing to syslog.
67
+
-log Writes extended ProcDump tracing to the specified output stream (syslog or stdout).
68
68
-w Wait for the specified process to launch if it's not running.
69
69
-pgid Process ID specified refers to a process group ID.
70
70
```
@@ -121,6 +121,10 @@ The following will create a core dump and a memory leak report when memory usage
121
121
```
122
122
sudo procdump -m 100 -restrack 1234
123
123
```
124
+
The following will create a memory leak report (no dumps) when memory usage is >= 100 MB
125
+
```
126
+
sudo procdump -m 100 -restrack nodump 1234
127
+
```
124
128
The following will create a core dump and a memory leak report when memory usage is >= 100 MB by sampling every 10th memory allocation.
0 commit comments