Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #64458

Re: How Long Since Last Kernel Update

Path csiph.com!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 16 Jan 2025 18:29:14 GMT
Lines 22
Message-ID <lut1fqFrb66U2@mid.individual.net> (permalink)
References <vm4q2m$29e1a$1@dont-email.me> <vm5dbe$2b9fo$2@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
X-Trace individual.net FzgA8YZKrWoz1iuFls7dzgXFTi+sobxLz1buaddE8AoVIMAr1Y
Cancel-Lock sha1:oId4gJmQMV8jBDgQofWr7NdtEcY= sha256:TxrnqolWLYKBCkcghkbGqJUzCG+cfE2nJGrEEm6vCII=
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.12.9)
Xref csiph.com comp.os.linux.misc:64458

Show key headers only | View raw


On Tue, 14 Jan 2025 10:13:03 -0000 (UTC), Lem Novantotto
<Lem@none.invalid> wrote in <vm5dbe$2b9fo$2@dont-email.me>:

> Il Tue, 14 Jan 2025 04:44:06 -0000 (UTC), Lawrence D'Oliveiro ha
> scritto:
> 
>> bc <<<"scale = 1; ($(date +%s) - $(stat -c%Y /vmlinuz)) / 86400"
> 
> Well, here vmlinuz is in /boot: so /boot/vmlinuz, above.

I just looked in /boot, and discovered /boot/vmlinuz is a symlink
to the actual file.  While the time is usually pretty close
to the actual kernel file, it might not be.

So it would be:

bc <<<"scale = 1; ($(date +%s) - $(stat -L -c%Y /boot/vmlinuz)) / 86400"

-- 
-v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090 Ti
   OS: Linux 6.12.9 Release: Mint 21.3 Mem: 258G
   "I'm not a complete idiot - several parts are missing!"

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How Long Since Last Kernel Update Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-14 04:44 +0000
  Re: How Long Since Last Kernel Update Lem Novantotto <Lem@none.invalid> - 2025-01-14 10:13 +0000
    Re: How Long Since Last Kernel Update Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-14 23:52 +0000
      Re: How Long Since Last Kernel Update vallor <vallor@cultnix.org> - 2025-01-15 01:37 +0000
        Re: How Long Since Last Kernel Update Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-15 02:11 +0000
          Re: How Long Since Last Kernel Update vallor <vallor@cultnix.org> - 2025-01-15 02:51 +0000
            Re: How Long Since Last Kernel Update Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-15 06:57 +0000
            Re: How Long Since Last Kernel Update Lars Poulsen <lars@cleo.beagle-ears.com> - 2025-01-15 13:33 +0000
              Re: How Long Since Last Kernel Update Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2025-01-15 18:00 +0000
                Re: How Long Since Last Kernel Update D <nospam@example.net> - 2025-01-15 22:15 +0100
              Re: How Long Since Last Kernel Update not@telling.you.invalid (Computer Nerd Kev) - 2025-01-16 07:25 +1000
    Re: How Long Since Last Kernel Update vallor <vallor@cultnix.org> - 2025-01-16 18:29 +0000
      Re: How Long Since Last Kernel Update Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-17 02:39 +0000

csiph-web