CLI reference / host / port / owner

stado host port owner

Invocation

stado host port owner [OPTIONS] --port <PORT> <TARGET>

Purpose

Which process holds one TCP port on TARGET: its pid, user and command. A unit that exits with `Address already in use` names no owner, and `service reap` keeps a row a declared label holds, so the socket's holder was the one fault on this fleet nothing in the product could name.

Required inputs and options

Input or optionContract
<TARGET>Positional input; required or optional as shown in the invocation.
--port <PORT>The TCP port to look up
--jsonCommand option; required or optional as shown in the invocation.

Output and state effect

It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.