mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 05:04:58 +00:00
29 lines
433 B
Markdown
29 lines
433 B
Markdown
## Name
|
|
|
|
Inspector - Serenity process inspector
|
|
|
|
## Synopsis
|
|
|
|
```**sh
|
|
$ Inspector [pid]
|
|
```
|
|
|
|
## Arguments
|
|
|
|
* `pid`: Process ID to inspect
|
|
|
|
## Description
|
|
|
|
Inspector facilitates process inspection via RPC.
|
|
|
|
The inspected process must have previously allowed the
|
|
[`accept`(2)](../man2/accept.md) system call with
|
|
[`pledge`(2)](../man2/pledge.md) to allow inspection
|
|
via UNIX socket.
|
|
|
|
## Examples
|
|
|
|
```sh
|
|
$ Inspector $(pidof Shell)
|
|
```
|
|
|