From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 22071 invoked from network); 1 Jul 2021 20:00:33 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 1 Jul 2021 20:00:33 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1625169633; b=k5WyRmYPrjrO4lQlXa031U6FxcW0uiR6tNWpMbHhdnCLEIN9R6ylmUGQ7GCerEShmfXpvQRINn uLKtBlF6Xpz4gvWGH7HM6T5rODTb+MPS2Wxad3n2LSkFT+HnlwkT7gOWZ85IL+e5N9uMF7Duri 6PitzwGvvF6lkCEHL8WGQTd51G83sXn/x/7FBZCYuXvl72KS0HkS3LTzO5eIpEa0mfSfP/T9cK jtQKSuBk3n/ET8fhakhTpoeuysONWZ4awvZV3HoWLXVJPp7CVIRRv//wBhpqUxSvoPIK89CwyW rqmtC7ElNp/aCPCOQnp1F7CIZzp8/t+DqgzGPg5o7gV25A==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-lj1-f182.google.com) smtp.remote-ip=209.85.208.182; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1625169633; bh=7TYRPEQeh9Op9O3LjeEjafo6VFlpqNkCQpckqz0xkN8=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=NXPFLK1rIUsJpVzIW3F1VteGd6/vsUsbcrjAwlpNSInZW1lHO7CDiLAVQyQzasy9iv+PsO4uGu dLtkw7qZnFdA8sZmThBCXnHcUUP+Khlgs3uUFZNauUDHT8eAoQS2HIn0EtngV+566Ci5MsG0MS 2YUwQjBsDSWxGRe+36T/ORMrhEb082ZJf6QokvZMkKMXphi1b9hqChfq384OmDiMZZPBH77kPL XVLtu8ANC9SUTLRTc91vkcCgJy9wYO+VWRsMxDnnYB2GaEMDLX/8RoLiRZA71DUp428amhAh5j 1qtXx4roYE9x39aX842rgMS6n6jbPJ7dRf90iRI7UZTfsg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=7TYRPEQeh9Op9O3LjeEjafo6VFlpqNkCQpckqz0xkN8=; b=RmbIADlMiwCtVHg8hYEY0Uoluk E53nFcKGaSSoXTol7ivg2rSKMSMrLDmm1ZuVFC2lLNJdn7HE1qwVX8krm+6GhaZUyaZxfSHmNIznD c2XhJHx0dwCgnXhpH94TtcmuY0LthQJA4eWZ6eWIyj773gV/TPaLM7hqkVWa+JNA44KaKNFYCbM0v Uw5ggVdgW3b96VA+JgyHRJbxaRAJSUScltnUfbvvEH2XnheZmFGKf069DkJvB8pFSP2aMXtBEcUsa VtLe4VEv6HyNUziOv5m3GiL9goYIyTnNI6H0djztIA+zl5cZnOrKFKJFotZ6nR8UyuxMZzHBAURym jGo5cyow==; Received: from authenticated user by zero.zsh.org with local id 1lz2rQ-000Klm-BB; Thu, 01 Jul 2021 20:00:32 +0000 Authentication-Results: zsh.org; iprev=pass (mail-lj1-f182.google.com) smtp.remote-ip=209.85.208.182; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-lj1-f182.google.com ([209.85.208.182]:37630) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1lz2r7-000KSp-1w; Thu, 01 Jul 2021 20:00:13 +0000 Received: by mail-lj1-f182.google.com with SMTP id k8so10118684lja.4 for ; Thu, 01 Jul 2021 13:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=7TYRPEQeh9Op9O3LjeEjafo6VFlpqNkCQpckqz0xkN8=; b=dr4KSzOMPxOpG7A6kpgDLrXFRW2HY2kerhXoQJSgnzNxW0C/EvzYIBLEobiqYQKKSA hKCDowRjRk3guPuk7okr7ON9RpWCHkXo6cTi4a5Eu2OxeudI57HwCh7GjAEbMRVxq899 1HUV1DSND+6XMPW6iVUcS5T/fwLbNh7bE5qovG8WYbWMzyXKG0R6+NqW35ugLq989xLm CyVUH2vicBgSNtzGshSxxR5JH6folfBgvfs0zlf55UAq+VPHXkgqabFta61sfDeF6TNb 0cHfuqBbN1CMhbkuLmvCtN2goz8ePqZw2bxM0kJRYI3FTyAlurffQDPTzRBIxagEOm+/ VFAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=7TYRPEQeh9Op9O3LjeEjafo6VFlpqNkCQpckqz0xkN8=; b=ECcZNWh2CW1hKqy+3636DWaXNsGvg361R5JmU7shEPUEuq1KGKYshaP/UofGBQecpx x+kdgAiWWSwZiWd5J4fF6d2WvWc3AquSw6SDF+hDYyIHSrapIE6OfUda1HXtj6+e75V1 7iRadgek4axx17CUy1VnLPd1IlnK7olxSjDi1qyN1esAxDSQHTJm91xoI2MdBThTWgOE fW+9P6W1mn5Q/FzuC+mp6w1ZmR9yyopsXZYFTdJiBRZbKtl2E83tUsGtRjhzS4WxFePX blRXct2p1MGd6gOIAnztOHpZxa5CVbUrZ9bUIQExpS0OAHQa7xToiHlLNP+mioVThNAf CMSQ== X-Gm-Message-State: AOAM533VnGszMzatZRXx4NZsqy8lcPnpPlf7/C4LE0crKiU3KuW9jgFy UvCSBEiK/RiIVYpguQezvNnCqUPZmJaemkTPfEM= X-Google-Smtp-Source: ABdhPJwJqm+p3UCnuwsO7xFh/+48aVoSJUf0uPiPZPf67Tk3OlAFbetKkXl6HIfBtsqDO57mOdJSnvmLN6rH5jca52c= X-Received: by 2002:a05:651c:1049:: with SMTP id x9mr986665ljm.82.1625169612356; Thu, 01 Jul 2021 13:00:12 -0700 (PDT) MIME-Version: 1.0 References: <20210630201425.s32fqe23u4wx5hgd@chazelas.org> In-Reply-To: <20210630201425.s32fqe23u4wx5hgd@chazelas.org> From: Marlon Richert Date: Thu, 1 Jul 2021 22:59:36 +0300 Message-ID: Subject: Re: On macOS, max RSS values are in bytes, not kilobytes To: Marlon Richert , Zsh hackers list Content-Type: text/plain; charset="UTF-8" X-Seq: 49145 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On Wed, Jun 30, 2021 at 11:14 PM Stephane Chazelas wrote: > > 2021-06-30 21:56:21 +0300, Marlon Richert: > > This affects both $REPORTMEMORY and $TIMEFMT's %M. Either the manual > > should be updated to mention this or the code should be updated to > > convert these values. > > I'm confused there. I recently reported (again) that %M was only > correct on Darwin/MacOS: > > https://www.zsh.org/mla/workers/2021/msg01312.html > > Then I realised I had already reported it last year. This one > has a lot more detail: > https://www.zsh.org/mla/workers/2020/msg00314.html OK, now I have confused myself, too. You are right, it appears to be correct on macOS, but not when I try it on Ubuntu (where %M's value is 1024 times too small). Sorry about the confusion. It seems I mixed up the two.