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


Groups > comp.os.linux.misc > #72381 > unrolled thread

Re: How Long Since Last Kernel Update

Started by"Carlos E.R." <robin_listas@es.invalid>
First post2025-08-27 11:34 +0200
Last post2025-08-28 22:28 +0000
Articles 11 — 6 participants

Back to article view | Back to comp.os.linux.misc

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How Long Since Last Kernel Update "Carlos E.R." <robin_listas@es.invalid> - 2025-08-27 11:34 +0200
    Re: How Long Since Last Kernel Update c186282 <c186282@nnada.net> - 2025-08-27 23:09 -0400
      Re: How Long Since Last Kernel Update Bobbie Sellers <bliss-sf4ever@dslextreme.com> - 2025-08-28 00:20 -0700
    Re: How Long Since Last Kernel Update Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-28 03:22 +0000
      Re: How Long Since Last Kernel Update "Carlos E.R." <robin_listas@es.invalid> - 2025-08-28 12:54 +0200
        Re: How Long Since Last Kernel Update Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-28 22:21 +0000
          Re: How Long Since Last Kernel Update "Carlos E.R." <robin_listas@es.invalid> - 2025-08-29 14:50 +0200
            Re: How Long Since Last Kernel Update Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-08-30 00:19 +0000
              Re: How Long Since Last Kernel Update "Carlos E.R." <robin_listas@es.invalid> - 2025-08-30 14:25 +0200
                Re: How Long Since Last Kernel Update rbowman <bowman@montana.com> - 2025-08-30 20:44 +0000
        Re: How Long Since Last Kernel Update vallor <vallor@cultnix.org> - 2025-08-28 22:28 +0000

#72381 — Re: How Long Since Last Kernel Update

From"Carlos E.R." <robin_listas@es.invalid>
Date2025-08-27 11:34 +0200
SubjectRe: How Long Since Last Kernel Update
Message-ID<9103olx5vr.ln2@Telcontar.valinor>
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.

[toc] | [next] | [standalone]


#72452

Fromc186282 <c186282@nnada.net>
Date2025-08-27 23:09 -0400
Message-ID<TZGcnbksOM37VTL1nZ2dnZfqnPidnZ2d@giganews.com>
In reply to#72381
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.  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.

[toc] | [prev] | [next] | [standalone]


#72470

FromBobbie Sellers <bliss-sf4ever@dslextreme.com>
Date2025-08-28 00:20 -0700
Message-ID<108ovv4$1671t$1@dont-email.me>
In reply to#72452

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

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

[toc] | [prev] | [next] | [standalone]


#72456

FromLawrence D’Oliveiro <ldo@nz.invalid>
Date2025-08-28 03:22 +0000
Message-ID<108oi1m$12q5m$2@dont-email.me>
In reply to#72381
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.

[toc] | [prev] | [next] | [standalone]


#72501

From"Carlos E.R." <robin_listas@es.invalid>
Date2025-08-28 12:54 +0200
Message-ID<a4p5olxo3b.ln2@Telcontar.valinor>
In reply to#72456
On 2025-08-28 05:22, Lawrence D’Oliveiro 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.

[toc] | [prev] | [next] | [standalone]


#72553

FromLawrence D’Oliveiro <ldo@nz.invalid>
Date2025-08-28 22:21 +0000
Message-ID<108qkof$1kvjl$3@dont-email.me>
In reply to#72501
On Thu, 28 Aug 2025 12:54:34 +0200, Carlos E.R. wrote:

> On 2025-08-28 05:22, Lawrence D’Oliveiro 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:

“To change the precision, adjust the scale accordingly.”

[toc] | [prev] | [next] | [standalone]


#72625

From"Carlos E.R." <robin_listas@es.invalid>
Date2025-08-29 14:50 +0200
Message-ID<p8k8olx222.ln2@Telcontar.valinor>
In reply to#72553
On 2025-08-29 00:21, Lawrence D’Oliveiro wrote:
> On Thu, 28 Aug 2025 12:54:34 +0200, Carlos E.R. wrote:
> 
>> On 2025-08-28 05:22, Lawrence D’Oliveiro 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:
> 
> “To change the precision, adjust the scale accordingly.”

I was not talking of that.

-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#72696

FromLawrence D’Oliveiro <ldo@nz.invalid>
Date2025-08-30 00:19 +0000
Message-ID<108tg1s$2a7v9$9@dont-email.me>
In reply to#72625
On Fri, 29 Aug 2025 14:50:01 +0200, Carlos E.R. wrote:

> On 2025-08-29 00:21, Lawrence D’Oliveiro wrote:
>>
>> “To change the precision, adjust the scale accordingly.”
> 
> I was not talking of that.

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

[toc] | [prev] | [next] | [standalone]


#72742

From"Carlos E.R." <robin_listas@es.invalid>
Date2025-08-30 14:25 +0200
Message-ID<j67bolx2al.ln2@Telcontar.valinor>
In reply to#72696
On 2025-08-30 02:19, Lawrence D’Oliveiro wrote:
> On Fri, 29 Aug 2025 14:50:01 +0200, Carlos E.R. wrote:
> 
>> On 2025-08-29 00:21, Lawrence D’Oliveiro wrote:
>>>
>>> “To change the precision, adjust the scale accordingly.”
>>
>> I was not talking of that.
> 
> I was. This is all about a piece of code I posted, remember?

Yes.

-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#72785

Fromrbowman <bowman@montana.com>
Date2025-08-30 20:44 +0000
Message-ID<mhh65mFnn8kU9@mid.individual.net>
In reply to#72742
On Sat, 30 Aug 2025 14:25:23 +0200, Carlos E.R. wrote:

> On 2025-08-30 02:19, Lawrence D’Oliveiro wrote:
>> On Fri, 29 Aug 2025 14:50:01 +0200, Carlos E.R. wrote:
>> 
>>> On 2025-08-29 00:21, Lawrence D’Oliveiro wrote:
>>>>
>>>> “To change the precision, adjust the scale accordingly.”
>>>
>>> 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.

[toc] | [prev] | [next] | [standalone]


#72555

Fromvallor <vallor@cultnix.org>
Date2025-08-28 22:28 +0000
Message-ID<mhc3h9Fs6gcU3@mid.individual.net>
In reply to#72501
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 D’Oliveiro 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."

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.misc


csiph-web