Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: exec





On 2024-06-03 09:06, Bart Schaefer wrote:
On Mon, Jun 3, 2024 at 8:34 AM Mark J. Reed <markjreed@xxxxxxxxx> 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.



Messages sorted by: Reverse Date, Date, Thread, Author