> ## Documentation Index
> Fetch the complete documentation index at: https://docs.specterops.io/llms.txt
> Use this file to discover all available pages before exploring further.

# xpc_procinfo

## Summary

Use xpc to execute routines with launchd to get information about a running service pid.

* Needs Admin: False
* Version: 1
* Author: @xorrior, @Morpheus\_\_\_\_\_\_, @its\_a\_feature\_

### Arguments

#### pid

* Description: PID of the process
* Required Value: False
* Default Value: None

## Usage

```
xpc_procinfo -pid 98765
```

## Detailed Summary

This command uses the `xpc_pipe_routine` function to send XPC messages to `launchd`.

This uses the ROUTINE\_DUMP\_PROCESS routine to print information about the execution context of a given PID.
