From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id 6764A2178A for ; Mon, 3 Jun 2024 18:26:12 +0200 (CEST) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1717431972; b=YSKaKpPq0ohi6KD2o6SNu5aqm8EMKuQvdX5BQcFNR9HkypxJ+nFIOGUlZv9UbzT/8FykXxza94 zehvLY2uO764dtkVpkc375Gh6yAdAnfyi33MSQxPOtvyiyvV55HzyJ8DFrUpMKc9yQKelRvrje mThpLQvpDGqx6jMuhWdTHxsqCIzpxcRgH4CtbF24y+LY2DMjC8kAFWf84P95JvbH5DUj5dJH5a TcJ6hiZuM5PdLclbXoBTjM11Q0UA0eHFeq530TzdmgEA+X8rjXHAaTjiFsts3PRSVppCJTED9C H5S9dOWTi8m5no1gCG/iHL1KhEmOL39twqGu44AgZ9ziFA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta01.eastlink.ca) smtp.remote-ip=24.224.136.30; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1717431972; bh=a5/V49O5241ntlqVLIkdSamyMbNxCbYi1fBqST5+Fzk=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Content-Type:DKIM-Signature; b=AZ/jf9VkPB91GHPqDf+qRTmP5fiEWEBu8eAbiAWFDX+kacdHGr2eznzzgzfQdx/RLysu0QneVj ikGeLdwifbuqqGqKELyiet5RG/NTfW000zDp0hUtrdvD/gIBLff17oxSqugxWrGdJA20mz8CYL BHsyUm4hc1GTOBytTjnmhhK2IhXx5btwmvL8LoQcD7Dw7n8Xxk/j+XbmRTxEQRf4uHy1n+O5B6 ir0rn5DTD+0Js9DqOVMhTEgehIRDn0ICwiJ19TYiASZfOtjlGaAj/2d3ymtid4lqbXj6jO8kdJ YLzPXVyS/OMUA5bHmVxONKImAiYX5vGdJrJgKzLfrnyAPA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-reply-to:From:References:To: Subject:MIME-version:Date:Message-id:Content-type:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=3x7PUabCEPt6t9RdR0e5hShZuC9YDgdXGifNmfiqqBc=; b=ZYO/tv3tixLHZHJUZVfSK2AEKM DmymdU2pix81pr9IwXuXDfxpLwSfDbDjskMCNsYz39FcfEnkQCBk6wIpCDQxUn5+DJd9yZVyNoPFI cKB1SWyYfEEieocrzCs7jGL5jT8lq7/K26h4o/8jnAFzFfQvVBSIz37ntnQ7LwuW4+58CYGG5mSZ4 lonymq9RiV9E/+RcYmKZFuRNAJleyDixaazyte3Yrg5z4xH2ojH5rr6lmk0xR+2/34KSLOKiDMg7k qm27CHmeQs/NfRpOhPvJGXdKuNIospZXJ/sXqw/bjkOpOT+xT+2NJ5DnPEJ/Lvg64ns0+dC+Ua8LW rFAejjsA==; Received: by zero.zsh.org with local id 1sEAVg-000EN5-Ip; Mon, 03 Jun 2024 16:26:12 +0000 Authentication-Results: zsh.org; iprev=pass (mta01.eastlink.ca) smtp.remote-ip=24.224.136.30; dmarc=none header.from=eastlink.ca; arc=none Received: from mta01.eastlink.ca ([24.224.136.30]:48795) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1sEATE-000DUM-6k; Mon, 03 Jun 2024 16:23:43 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta01.eastlink.ca ([24.224.136.30]) with ESMTPS id <0SEI0WBIPIJ0EHC0@mta01.eastlink.ca> for zsh-users@zsh.org; Mon, 03 Jun 2024 13:23:38 -0300 (ADT) Received: from [192.168.0.15] (host-24-207-19-13.public.eastlink.ca [24.207.19.13]) by csp01.eastlink.ca ([71.7.199.166]) with ESMTPSA id EATBsGDMYLngTEATCskhps (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Mon, 03 Jun 2024 13:23:38 -0300 X-Authority-Analysis: v=2.4 cv=V7be0vni c=1 sm=1 tr=0 ts=665dee0a a=e7T7DzMKK1R988ZCg0wLyw==:117 a=e7T7DzMKK1R988ZCg0wLyw==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=pGLkceISAAAA:8 a=yBvR14sz_1Qk0BtH7scA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=BrHvASpgOZhIeiS3BIIA:9 a=T5-v0L9cl9OkMRfg:21 a=_W_S_7VecoQA:10 a=lqcHg5cX4UMA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdelvddguddttdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpegtkfffgggfuffvfhfhjgesrgdtreertddvjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhephfettefhveeguedvleeggfdvvedufeeuudffvdfgledvvdfgtdeigeeuueelieefnecukfhppedvgedrvddtjedrudelrddufeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudelrddufedphhgvlhhopegludelvddrudeikedrtddrudehngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Content-type: multipart/alternative; boundary="------------524eRDn0UETxY0xY0Z3yaQD8" Message-id: Date: Mon, 3 Jun 2024 09:23:37 -0700 MIME-version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: exec To: zsh-users@zsh.org References: <2bb9cec5-1293-4103-a73c-fd2a190cb65d@eastlink.ca> Content-language: en-US From: Ray Andrews In-reply-to: X-Seq: 29990 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: This is a multi-part message in MIME format. --------------524eRDn0UETxY0xY0Z3yaQD8 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2024-06-03 09:06, Bart Schaefer wrote: > On Mon, Jun 3, 2024 at 8:34 AM Mark J. Reed 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. --------------524eRDn0UETxY0xY0Z3yaQD8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

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.

--------------524eRDn0UETxY0xY0Z3yaQD8--