Module target

Module target 

Source
Expand description

Target resolution - Convert user input to processes

Targets can be:

  • :port - Process listening on this port
  • pid - Process with this PID (numeric)
  • name - Processes matching this name

Enums§

TargetType
Resolved target type

Functions§

find_ports_for_pid
Find all ports a process is listening on
parse_target
Parse a target string and determine its type
resolve_target
Resolve a target to processes
resolve_target_single
Resolve a single target to exactly one process