• Re: How Long Since Last Kernel Update

    From Carlos E.R.@robin_listas@es.invalid to comp.os.linux.misc on Wed Aug 27 11:34:01 2025
    From Newsgroup: comp.os.linux.misc

    On 2025-01-16 19:29, vallor wrote:
    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"


    Is that supposed to be a date?

    cer@Telcontar:~> bc <<<"scale = 1; ($(date +%s) - $(stat -L -c%Y /boot/vmlinuz)) / 86400"
    42.8
    cer@Telcontar:~> uname -a
    Linux Telcontar 6.4.0-150600.23.60-default #1 SMP PREEMPT_DYNAMIC Tue Jul 1 14:43:49 UTC 2025 (6f98261) x86_64 x86_64 x86_64 GNU/Linux
    cer@Telcontar:~>
    cer@Telcontar:~> l /boot/vmlinuz
    lrwxrwxrwx 1 root root 34 Jul 31 00:21 /boot/vmlinuz -> vmlinuz-6.4.0-150600.23.60-default
    cer@Telcontar:~>

    other versions that have been posted here:

    cer@Telcontar:~> bc <<<"scale = 1; ($(date +%s) - $(stat -c%Y /vmlinuz)) / 86400"
    stat: cannot statx '/vmlinuz': No such file or directory
    (standard_in) 1: syntax error
    cer@Telcontar:~> bc <<<"scale = 1; ($(date +%s) - $(stat -c%Y /boot/vmlinuz)) / 86400"
    27.4
    cer@Telcontar:~> bc <<<"scale = 1; ($(date +%s) - $(stat -c%W / )) / 86400" 2894.4
    cer@Telcontar:~> bc <<<"scale = 1; ($(date +%s) - $(stat -c%Y /boot/vmlinuz)) / 86400"
    27.4
    cer@Telcontar:~>
    --
    Cheers, Carlos.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.os.linux.misc on Wed Aug 27 23:09:20 2025
    From Newsgroup: comp.os.linux.misc

    On 8/27/25 5:34 AM, Carlos E.R. wrote:
    On 2025-01-16 19:29, vallor wrote:
    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.-a 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"


    Is that supposed to be a date?

    Sure ! Isn't it obvious ? :-)

    Meanwhile, almost NO reason ever to insanely
    covet the latest kernel. Even full previous
    versions are still super-functional and secure.

    MAIN reason might be support for some new bit
    of exotic hardware.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.os.linux.misc on Thu Aug 28 03:22:30 2025
    From Newsgroup: comp.os.linux.misc

    On Wed, 27 Aug 2025 11:34:01 +0200, Carlos E.R. wrote:

    Is that supposed to be a date?

    From my original posting:

    Above shows days elapsed since the last kernel update, to tenths of a day.
    To change the precision, adjust the scale accordingly.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Bobbie Sellers@bliss-sf4ever@dslextreme.com to comp.os.linux.misc on Thu Aug 28 00:20:04 2025
    From Newsgroup: comp.os.linux.misc



    On 8/27/25 20:09, c186282 wrote:
    On 8/27/25 5:34 AM, Carlos E.R. wrote:
    On 2025-01-16 19:29, vallor wrote:
    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.-a 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" >>>

    Is that supposed to be a date?

    -a Sure ! Isn't it obvious ?-a :-)

    -a Meanwhile, almost NO reason ever to insanely
    -a covet the latest kernel. Even full previous
    -a versions are still super-functional and secure.

    -a MAIN reason might be support for some new bit
    -a of exotic hardware.

    Kernel updates are frequent.
    Hard for people outside the crew that does the work
    to keep but Linux Weekly News does a fair job.
    <https://lwn.net/>

    bliss

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Carlos E.R.@robin_listas@es.invalid to comp.os.linux.misc on Thu Aug 28 12:54:34 2025
    From Newsgroup: comp.os.linux.misc

    On 2025-08-28 05:22, Lawrence DrCOOliveiro wrote:
    On Wed, 27 Aug 2025 11:34:01 +0200, Carlos E.R. wrote:

    Is that supposed to be a date?

    From my original posting:

    Above shows days elapsed since the last kernel update, to tenths of a day.
    To change the precision, adjust the scale accordingly.

    Ah.

    Well, as you can see, each concoction that was posted printed a different number.

    The correct one is 43.91, calculated using a spreadsheet.


    Lawrence:

    cer@Telcontar:~> bc <<<"scale = 1; ($(date +%s) - $(stat -c%Y /vmlinuz)) / 86400"
    stat: cannot statx '/vmlinuz': No such file or directory
    (standard_in) 1: syntax error
    cer@Telcontar:~>

    vallor:

    cer@Telcontar:~> bc <<<"scale = 1; ($(date +%s) - $(stat -L -c%Y /boot/vmlinuz)) / 86400"
    43.9
    cer@Telcontar:~>

    cer@Telcontar:~> bc <<<"scale = 1; ($(date +%s) - $(stat -c%Y /boot/vmlinuz)) / 86400"
    28.5
    cer@Telcontar:~>

    cer@Telcontar:~> bc <<<"scale = 1; ($(date +%s) - $(stat -c%W / )) / 86400" 2895.4
    cer@Telcontar:~>


    cer@Telcontar:~> l /boot/vmlinuz
    lrwxrwxrwx 1 root root 34 Jul 31 00:21 /boot/vmlinuz -> vmlinuz-6.4.0-150600.23.60-default
    cer@Telcontar:~>
    cer@Telcontar:~> l /boot/vmlinuz-6.4.0-150600.23.60-default
    -rw-r--r-- 1 root root 14204640 Jul 15 14:48 /boot/vmlinuz-6.4.0-150600.23.60-default

    The symlink was created 28.51 days ago.
    --
    Cheers, Carlos.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.os.linux.misc on Thu Aug 28 22:21:04 2025
    From Newsgroup: comp.os.linux.misc

    On Thu, 28 Aug 2025 12:54:34 +0200, Carlos E.R. wrote:

    On 2025-08-28 05:22, Lawrence DrCOOliveiro wrote:

    On Wed, 27 Aug 2025 11:34:01 +0200, Carlos E.R. wrote:

    Is that supposed to be a date?

    From my original posting:

    Above shows days elapsed since the last kernel update, to tenths of a day. >> To change the precision, adjust the scale accordingly.

    Ah.

    Well, as you can see, each concoction that was posted printed a different number.

    cer@Telcontar:~> bc <<<"scale = 1; ($(date +%s) - $(stat -L -c%Y /boot/vmlinuz)) / 86400"
    43.9

    The correct one is 43.91, calculated using a spreadsheet.

    Let me just repeat this part again:

    rCLTo change the precision, adjust the scale accordingly.rCY
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From vallor@vallor@cultnix.org to comp.os.linux.misc on Thu Aug 28 22:28:57 2025
    From Newsgroup: comp.os.linux.misc

    On Thu, 28 Aug 2025 12:54:34 +0200, "Carlos E.R."
    <robin_listas@es.invalid> wrote in <a4p5olxo3b.ln2@Telcontar.valinor>:

    On 2025-08-28 05:22, Lawrence DrCOOliveiro wrote:
    On Wed, 27 Aug 2025 11:34:01 +0200, Carlos E.R. wrote:

    Is that supposed to be a date?

    From my original posting:

    Above shows days elapsed since the last kernel update, to tenths of a
    day.
    To change the precision, adjust the scale accordingly.

    Ah.

    Well, as you can see, each concoction that was posted printed a
    different number.

    The correct one is 43.91, calculated using a spreadsheet.


    Lawrence:

    cer@Telcontar:~> bc <<<"scale = 1; ($(date +%s) - $(stat -c%Y /vmlinuz))
    / 86400"
    stat: cannot statx '/vmlinuz': No such file or directory (standard_in)
    1: syntax error cer@Telcontar:~>

    vallor:

    cer@Telcontar:~> bc <<<"scale = 1; ($(date +%s) - $(stat -L -c%Y /boot/vmlinuz)) / 86400" 43.9 cer@Telcontar:~>

    cer@Telcontar:~> bc <<<"scale = 1; ($(date +%s) - $(stat -c%Y
    /boot/vmlinuz)) / 86400" 28.5 cer@Telcontar:~>

    cer@Telcontar:~> bc <<<"scale = 1; ($(date +%s) - $(stat -c%W / )) /
    86400"
    2895.4 cer@Telcontar:~>


    cer@Telcontar:~> l /boot/vmlinuz lrwxrwxrwx 1 root root 34 Jul 31 00:21 /boot/vmlinuz -> vmlinuz-6.4.0-150600.23.60-default cer@Telcontar:~> cer@Telcontar:~> l /boot/vmlinuz-6.4.0-150600.23.60-default -rw-r--r-- 1
    root root 14204640 Jul 15 14:48 /boot/vmlinuz-6.4.0-150600.23.60-default

    The symlink was created 28.51 days ago.

    $ bc <<<"scale = 3; ($(date +%s) - $(stat -c%Y \
    /boot/vmlinuz)) / 86400"
    .026

    $ TZ=UTC ll /boot/vmlinuz
    lrwxrwxrwx 1 root root 14 Aug 28 21:47 /boot/vmlinuz -> vmlinuz-6.16.4
    --
    -v System76 Thelio Mega v1.1 x86_64 NVIDIA RTX 3090Ti 24G
    OS: Linux 6.16.4 D: Mint 22.1 DE: Xfce 4.18
    NVIDIA: 580.76.05 Mem: 258G
    "Without Time, everything would happen at once."
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Carlos E.R.@robin_listas@es.invalid to comp.os.linux.misc on Fri Aug 29 14:50:01 2025
    From Newsgroup: comp.os.linux.misc

    On 2025-08-29 00:21, Lawrence DrCOOliveiro wrote:
    On Thu, 28 Aug 2025 12:54:34 +0200, Carlos E.R. wrote:

    On 2025-08-28 05:22, Lawrence DrCOOliveiro wrote:

    On Wed, 27 Aug 2025 11:34:01 +0200, Carlos E.R. wrote:

    Is that supposed to be a date?

    From my original posting:

    Above shows days elapsed since the last kernel update, to tenths of a day. >>> To change the precision, adjust the scale accordingly.

    Ah.

    Well, as you can see, each concoction that was posted printed a different number.

    cer@Telcontar:~> bc <<<"scale = 1; ($(date +%s) - $(stat -L -c%Y /boot/vmlinuz)) / 86400"
    43.9

    The correct one is 43.91, calculated using a spreadsheet.

    Let me just repeat this part again:

    rCLTo change the precision, adjust the scale accordingly.rCY

    I was not talking of that.
    --
    Cheers, Carlos.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.os.linux.misc on Sat Aug 30 00:19:08 2025
    From Newsgroup: comp.os.linux.misc

    On Fri, 29 Aug 2025 14:50:01 +0200, Carlos E.R. wrote:

    On 2025-08-29 00:21, Lawrence DrCOOliveiro wrote:

    rCLTo change the precision, adjust the scale accordingly.rCY

    I was not talking of that.

    I was. This is all about a piece of code I posted, remember?
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Carlos E.R.@robin_listas@es.invalid to comp.os.linux.misc on Sat Aug 30 14:25:23 2025
    From Newsgroup: comp.os.linux.misc

    On 2025-08-30 02:19, Lawrence DrCOOliveiro wrote:
    On Fri, 29 Aug 2025 14:50:01 +0200, Carlos E.R. wrote:

    On 2025-08-29 00:21, Lawrence DrCOOliveiro wrote:

    rCLTo change the precision, adjust the scale accordingly.rCY

    I was not talking of that.

    I was. This is all about a piece of code I posted, remember?

    Yes.
    --
    Cheers, Carlos.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From rbowman@bowman@montana.com to comp.os.linux.misc on Sat Aug 30 20:44:38 2025
    From Newsgroup: comp.os.linux.misc

    On Sat, 30 Aug 2025 14:25:23 +0200, Carlos E.R. wrote:

    On 2025-08-30 02:19, Lawrence DrCOOliveiro wrote:
    On Fri, 29 Aug 2025 14:50:01 +0200, Carlos E.R. wrote:

    On 2025-08-29 00:21, Lawrence DrCOOliveiro wrote:

    rCLTo change the precision, adjust the scale accordingly.rCY

    I was not talking of that.

    I was. This is all about a piece of code I posted, remember?

    Yes.

    fwiw, my Fedora box got 6.16.3 yesterday. It's a little ahead of the usual Fedora 42 since I installed a test beta a few weeks ago.

    --- Synchronet 3.21a-Linux NewsLink 1.2