Skip to content
Open
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions pages/common/witr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# witr

> Inspect processes, services, and ports by tracing their origin.
> More information: <https://github.com/pranshuparmar/witr>.

- Inspect a process by name:

`witr {{process-name}}`
Comment thread
aminelch marked this conversation as resolved.
Outdated

- Inspect a process by PID:

`witr --pid {{pid}}`
Comment thread
aminelch marked this conversation as resolved.
Outdated

- Find which process is using a network port:

`witr --port {{port}}`

- Show a full process tree for a specific PID:
Comment thread
aminelch marked this conversation as resolved.
Outdated

`witr --pid {{pid}} --tree`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is inconsistent with the rest of the placeholders


- Show a short summary output:
Comment thread
aminelch marked this conversation as resolved.
Outdated

`witr --short {{process-name}}`
Comment thread
aminelch marked this conversation as resolved.
Outdated

- Display the results in a JSON format:

`witr --json --pid {{pid}}`
Comment thread
aminelch marked this conversation as resolved.
Outdated
Loading