From nobody Sat Oct 05 17:02:45 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XLWtt4HbGz5YZBL for ; Sat, 05 Oct 2024 17:02:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XLWtt0gLtz4Lff for ; Sat, 5 Oct 2024 17:02:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728147766; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3ukxo658RAOOo2nbarUvvuMwlLO6Fj/kcbXQZkJJ3Z0=; b=Ewqac8+9jUElsBtbg9aLc3MebgDn0m5tR8ay2Oj5vpxKWB2Ij0OCc7zOkO0QfisioUnjsa z1xKl6PJJTQFUHfw5Ull7RAj0KpGbZbiWO94CvC4a6lRsFOn9hr9J1M73VOGMDwLm6cP5P QXxrMDHn6XnBawVxhxznrsQSN7u1h7IYpLW3bMh10Fq6tjPP6GPDE7OClHJ+NCP+Jw7sDp 2A3a01nnvXrczX7j0w5BT+L8QNgb0Y7Eogl5RTHjwK0999ne30M9h1ZeVyYgNW19Ojpsit bbWoB/qJq6AynOSmyStaV72WmqpB6lReOgS4WAacKhLVbXkTH0pka+mT1xl4Wg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728147766; a=rsa-sha256; cv=none; b=Z1xxwMLsd03219W2wNuN59TxC5G6o5PkF4Zrx+JomJ6XF88Ev3pPrf0x6LeF5EdlR1aeRL uXx6qhqoFncyFxCwzcGRccJJPVda18NNtlw2F2WY5b3P78aDOB+ZwiMbSPaSCnameSYi+o L863wQb9iihb3NGGNbhwF1bgBs9br8ja59mcWVHbDWMJA5FrdE+1uOHIVgBYPsv6PhhrSS pXAZeHpy/lriB3njGh+XJx5ptM/nfNyTH0X40WUgaQtX6u9dBoeiy6/tUHjQ3X9eiIErZz 1US3LtUsY8LD8O21ohlTdLuPzpPMT/HQ8e3VWNT1+Yi24Yoy1ANxQDq7hh6IIw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XLWtt08XGzRLC for ; Sat, 5 Oct 2024 17:02:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 495H2jtw083546 for ; Sat, 5 Oct 2024 17:02:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 495H2jl1083545 for bugs@FreeBSD.org; Sat, 5 Oct 2024 17:02:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 192573] Add ps(1) option: Print process start time in seconds since 1970 Date: Sat, 05 Oct 2024 17:02:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: easy, feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dave@daveeddy.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192573 --- Comment #5 from Dave Eddy --- (In reply to Mark Linimon from comment #4) hello! happy 10 years since i wrote this patch - i had long since forgotten about this! I wrote this patch originally because of the company I was working for at t= he time - we were transitioning to FreeBSD and my job was largely to port our software and get it working on FreeBSD. We had some tooling that showed our services running (and their PIDs) and it was helpful to see how long ago a process was started and how long it was running. Like I mentioned original= ly, on other operating systems we could just stat(2) /proc/ but that didn't work for us on FreeBSD. When I looked into it more I saw that it probably = made more sense for this logic to be in the tooling (like `ps`) instead of the `/proc` filesystem - so this patch was born. Looking at the comments on this patch I looked up "etimes" with `ps` and I agree that it would be sufficient to accomplish what I originally wanted. I, personally, don't have much use for this patch anymore - but I will leav= e it up to others to see if this is something they want to include. Thanks! dave --=20 You are receiving this mail because: You are the assignee for the bug.=