Re: How Long Since Last Kernel Update

Liste des GroupesRevenir à col misc 
Sujet : Re: How Long Since Last Kernel Update
De : vallor (at) *nospam* cultnix.org (vallor)
Groupes : comp.os.linux.misc
Date : 16. Jan 2025, 19:29:14
Autres entêtes
Message-ID : <lut1fqFrb66U2@mid.individual.net>
References : 1 2
User-Agent : Pan/0.161 (Hmm2; c45f6052; Linux-6.12.9)
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!"

Date Sujet#  Auteur
14 Jan 25 * How Long Since Last Kernel Update12Lawrence D'Oliveiro
14 Jan 25 `* Re: How Long Since Last Kernel Update11Lem Novantotto
15 Jan 25  +* Re: How Long Since Last Kernel Update8Lawrence D'Oliveiro
15 Jan 25  i`* Re: How Long Since Last Kernel Update7vallor
15 Jan 25  i `* Re: How Long Since Last Kernel Update6Lawrence D'Oliveiro
15 Jan 25  i  `* Re: How Long Since Last Kernel Update5vallor
15 Jan 25  i   +- Re: How Long Since Last Kernel Update1Lawrence D'Oliveiro
15 Jan 25  i   `* Re: How Long Since Last Kernel Update3Lars Poulsen
15 Jan 25  i    +- Re: How Long Since Last Kernel Update1D
15 Jan 25  i    `- Re: How Long Since Last Kernel Update1Computer Nerd Kev
16 Jan 25  `* Re: How Long Since Last Kernel Update2vallor
17 Jan 25   `- Re: How Long Since Last Kernel Update1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal