Sujet : Re: How Long Since Last Kernel Update
De : vallor (at) *nospam* cultnix.org (vallor)
Groupes : comp.os.linux.miscDate : 15. Jan 2025, 02:37:09
Autres entêtes
Message-ID : <luohq5F6geaU3@mid.individual.net>
References : 1 2 3
User-Agent : Pan/0.161 (Hmm2; c45f6052; Linux-6.13.0-rc7)
On Tue, 14 Jan 2025 23:52:58 -0000 (UTC), Lawrence D'Oliveiro
<
ldo@nz.invalid> wrote in <
vm6tcp$2klvb$1@dont-email.me>:
On Tue, 14 Jan 2025 10:13:03 -0000 (UTC), Lem Novantotto wrote:
... that nowadays saves the creation time ...
I
Have a real problem with snipping.
stat(1) has %w/%W for "birth":
$ stat -c%w /
2023-10-12 05:05:50.000000000 -0700
$ stat -c%w /ubuntu
2022-07-05 07:41:14.000000000 -0700
$ bc <<<"scale = 1; ($(date +%s) - $(stat -c%W / )) / 86400"
460.5
BTW, same issue here -- no /vmlinuz, it's in /boot.
$ bc <<<"scale = 1; ($(date +%s) - $(stat -c%Y /boot/vmlinuz)) / 86400"
1.2
$ uname -a
Linux lm 6.13.0-rc7 #1 SMP PREEMPT_DYNAMIC Mon Jan 13 08:29:02 PST 2025
x86_64 x86_64 x86_64 GNU/Linux
-- -v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti OS: Linux 6.13.0-rc7 Release: Mint 21.3 Mem: 258G "Recovery program for excessive talkers: On-and-on-Anon."