1## Command process-status ##
2
3> This command replaces the old commands `pid` and `fd`.
4
5`process-status` provides an exhaustive description of the current running
6process, by extending the information provided by GDB `info proc` command, with
7all the information from the `procfs` structure.
8
9```
10gef➤ ps --smart-scan zsh
1122879
12gef➤ attach 22879
13[...]
14gef➤ status
15[+] Process Information
16        PID  →  22879
17        Executable  →  /bin/zsh
18        Command line  →  '-zsh'
19[+] Parent Process Information
20        Parent PID  →  4475
21        Command line  →  'tmux new -s cool vibe
22[+] Children Process Information
23        PID  →  26190 (Name: '/bin/sleep', CmdLine: 'sleep 100000')
24[+] File Descriptors:
25        /proc/22879/fd/0  →  /dev/pts/4
26        /proc/22879/fd/1  →  /dev/pts/4
27        /proc/22879/fd/2  →  /dev/pts/4
28        /proc/22879/fd/10  →  /dev/pts/4
29[+] File Descriptors:
30        No TCP connections
31```
32