-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial macOS commit * Starting updates to process functions * Initial work on CPU monitoring * Cleanup ifdef * Add thread and file count as well as initial brew formula * Update build to add make brew target * fix: copy procdump.rb to bin * Updates * Integration tests * reduce initial size of memory map * cross compilation fixes * Use zip * Cleanup * Add Mac build * Remove formula * Remove dep on stress-ng * Add diag * Add diag * Add diag * Add diag --------- Co-authored-by: Mario Hewardt <marioh@Marios-MacBook-Pro-2.local>
- Loading branch information
1 parent
1b1edc0
commit 88d8dd3
Showing
28 changed files
with
838 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.\" Manpage for procdump. | ||
.TH man 8 "2/5/2024" "1.0" "procdump manpage" | ||
.SH NAME | ||
procdump \- generate coredumps based off performance triggers. | ||
.SH SYNOPSIS | ||
procdump [-n Count] | ||
[-s Seconds] | ||
[-c|-cl CPU_Usage] | ||
[-m|-ml Commit_Usage1[,Commit_Usage2...]] | ||
[-tc Thread_Threshold] | ||
[-fc FileDescriptor_Threshold] | ||
[-pf Polling_Frequency] | ||
[-o] | ||
[-log syslog|stdout] | ||
{ | ||
{{[-w] Process_Name} [Dump_File | Dump_Folder]} | ||
} | ||
|
||
Options: | ||
-n Number of dumps to write before exiting. | ||
-s Consecutive seconds before dump is written (default is 10). | ||
-c CPU threshold above which to create a dump of the process. | ||
-cl CPU threshold below which to create a dump of the process. | ||
-m Memory commit threshold(s) (MB) above which to create dumps. | ||
-ml Memory commit threshold(s) (MB) below which to create dumps. | ||
-tc Thread count threshold above which to create a dump of the process. | ||
-fc File descriptor count threshold above which to create a dump of the process. | ||
-pf Polling frequency. | ||
-o Overwrite existing dump file. | ||
-log Writes extended ProcDump tracing to the specified output stream (syslog or stdout). | ||
-w Wait for the specified process to launch if it's not running. | ||
|
||
.SH DESCRIPTION | ||
ProcDump provides a convenient way for Linux and Mac developers to create core dumps of their application based on performance triggers. ProcDump is part of Sysinternals. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.