Groups | Search | Server Info | Login | Register
Groups > comp.os.linux.misc > #72555
| From | vallor <vallor@cultnix.org> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: How Long Since Last Kernel Update |
| Date | 2025-08-28 22:28 +0000 |
| Message-ID | <mhc3h9Fs6gcU3@mid.individual.net> (permalink) |
| References | (1 earlier) <vm5dbe$2b9fo$2@dont-email.me> <lut1fqFrb66U2@mid.individual.net> <9103olx5vr.ln2@Telcontar.valinor> <108oi1m$12q5m$2@dont-email.me> <a4p5olxo3b.ln2@Telcontar.valinor> |
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."
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Find similar
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
csiph-web