Choose the appropriate command invasiveness level
mainCommands vary in their impact on the target system. Choose the least invasive option that satisfies your investigation:
- Point-in-time facts:
snapshot,memory, anddistributionread bounded runtime facts. These are relatively low impact but still create a distribution peer and target worker. - Inventories and sampling:
processes,applications,ets,mnesia,ports, andsocketsenumerate resources. Usingdurationorobservationmodes repeats work and increases impact. If scan admission refuses a command, narrow the scope instead of retrying. - State and supervision (High Risk):
otp-stateandsupervision-treeare high-risk.otp-statecopies process state before reducing it to bounded shapes and has a 5-secondsys:get_state/2timeout.supervision-treecan be linear and blocking. - Retained logs: The
logscommand reads a configured-path file. It is a bounded file read and does not flush the Logger. It is treated as sensitive, untrusted content, and identifier redaction is unavailable. - Tracing:
trace callmodifies node-global static tracing. It requires an exact MFA, a target-local PID, a bounded duration/event rate, and the--replace-existing-traceflag.