RBERRYPI ---------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 20 из 100
 От   : Chris Green                         3:633/10          04 июл 26 12:08:48
 К    : All                                                   04 июл 26 06:35:01
 Тема : Ridiculous systemctl status report
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 3:633/10 e37595f2
@PID: PyGate 1.5.18
@TID: PyGate/Linux 1.5.18
@NOTE: tin/2.6.5-20250409 ("Helmsdale")
(Linux/6.12.90+deb13.1-amd64 (x86_64))
@CHRS: UTF-8 4
@TZUTC: 0100
@REPLYADDR: cl@isbd.net
@REPLYTO: 3:633/10 UUCP
@RFC-Message-ID: <076nhm-ggo2.ln1@q957.zbmc.eu>
I had a minor failure on my Pi Zero 2W called tackpi last night and
had to power it down, remove the SD card, and run fsck on the card
in one of my Linux boxes to fix the file system error.

However systemd claims the sytem never stopped:-

    chris@tackpi$ systemctl --user status fencelog
    ? fencelog.service - fencelog service.
         Loaded: loaded
  (/home/chris/.config/systemd/user/fencelog.service; enabled; preset:
enabled)
         Active: active (running) since Fri 2026-07-03 20:03:13 BST; 15h ago
     Invocation: 72a2640f0fb64a27bd5de30ad688159b
       Main PID: 1044 (python3)
          Tasks: 1 (limit: 218)
            CPU: 436ms
         CGroup:
    /user.slice/user-1000.slice/user@1000.service/app.slice/fencelog.service
                 └─1044 /usr/bin/python3 /home/chris/bin/fencelog.py

    Jul 03 20:03:13 tackpi systemd[953]: Started fencelog.service -
    fencelog service..
    chris@tackpi$ w
     11:59:33 up 31 min,  1 user,  load average: 0.15, 0.04, 0.01
    USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU  WHAT
    chris    pts/0    192.168.1.5      11:57    0.00s  0.20s  0.04s w
    chris@tackpi$ 


So systemctl says fencelog service has been running since just after
20:00 last night.  But, quite correctly, the uptime is reported as
only 31 minutes sice I put the SD card back in and powered the Pi up
again at about 11:30 this morning.  


-- 
Chris Green
·

--- PyGate Linux v1.5.18
 * Origin: Dragon`s Lair, PyGate NNTP<>Fido Gate (3:633/10)
SEEN-BY: 19/10 50/109 153/757 218/840 840 220/70
221/1 6 360 226/17 100
SEEN-BY: 229/426 240/1120 267/800 301/1 113 812
310/31 335/364 341/66 463/68
SEEN-BY: 633/10 20 280 281 414 416 418 420 422
509 2744 712/848 770/1 3 100
SEEN-BY: 770/340 350 772/210 220 230 5019/40
5020/715 848 1042 4441 12000
SEEN-BY: 5030/49 722 1081 1474 5053/55 5061/133
5075/128
@PATH: 633/10 280 770/1 218/840 221/6 301/1
5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх