Groups | Search | Server Info | Keyboard shortcuts | Login | Register


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

Re: How Long Since Last Kernel Update

From vallor <vallor@cultnix.org>
Newsgroups comp.os.linux.misc
Subject Re: How Long Since Last Kernel Update
Date 2025-01-16 18:29 +0000
Message-ID <lut1fqFrb66U2@mid.individual.net> (permalink)
References <vm4q2m$29e1a$1@dont-email.me> <vm5dbe$2b9fo$2@dont-email.me>

Show all headers | 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