| Deutsch English Français Italiano |
|
<lut1fqFrb66U2@mid.individual.net> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: vallor <vallor@cultnix.org> Newsgroups: comp.os.linux.misc Subject: Re: How Long Since Last Kernel Update Date: 16 Jan 2025 18:29:14 GMT Lines: 22 Message-ID: <lut1fqFrb66U2@mid.individual.net> References: <vm4q2m$29e1a$1@dont-email.me> <vm5dbe$2b9fo$2@dont-email.me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net FzgA8YZKrWoz1iuFls7dzgXFTi+sobxLz1buaddE8AoVIMAr1Y Cancel-Lock: sha1:oId4gJmQMV8jBDgQofWr7NdtEcY= sha256:TxrnqolWLYKBCkcghkbGqJUzCG+cfE2nJGrEEm6vCII= X-Face: +McU)#<-H?9lTb(Th!zR`EpVrp<0)1p5CmPu.kOscy8LRp_\u`:tW;dxPo./(fCl CaKku`)]}.V/"6rISCIDP` User-Agent: Pan/0.161 (Hmm2; c45f6052; Linux-6.12.9) Bytes: 1626 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!"