Deutsch   English   Français   Italiano  
<luohq5F6geaU3@mid.individual.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: vallor <vallor@cultnix.org>
Newsgroups: comp.os.linux.misc
Subject: Re: How Long Since Last Kernel Update
Date: 15 Jan 2025 01:37:09 GMT
Lines: 35
Message-ID: <luohq5F6geaU3@mid.individual.net>
References: <vm4q2m$29e1a$1@dont-email.me> <vm5dbe$2b9fo$2@dont-email.me>
	<vm6tcp$2klvb$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net q22eJvAmcUiOuPlz+46W0QZ9cO64IRCSp4ObWcq81M6oXPcAmS
Cancel-Lock: sha1:kXSiYNQsVt3bATqmePgs1ZiHb0w= sha256:gdzJ8uYUfJWPXeoMxBnIh+lgUySelO4TaXuMifNCl8M=
X-Face: +McU)#<-H?9lTb(Th!zR`EpVrp<0)1p5CmPu.kOscy8LRp_\u`:tW;dxPo./(fCl
 CaKku`)]}.V/"6rISCIDP`
User-Agent: Pan/0.161 (Hmm2; c45f6052; Linux-6.13.0-rc7)
Bytes: 1833

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."