On 2024-06-03 09:06, Bart Schaefer wrote:
On Mon, Jun 3, 2024 at 8:34 AM Mark J. Reed <markjreed@gmail.com> wrote:
Your shell is never the only process running on the computer.

 If you're using some variant of Linux (doesn't typically work on e.g. macOS),

% pstree -s $$

will show you what's going on.  You might also try

% pstree -h
Holy Cow.  Now, if I could log that during a shutdown I'd have the whole thing in glorious tree format.  What a fantastic command.