Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iob diag - Skript

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    iob diag - Skript

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      reutli @Thomas Braun last edited by

      @thomas-braun

      great stuff 👍

      1 Reply Last reply Reply Quote 0
      • F
        fastfoot @Thomas Braun last edited by

        @thomas-braun sagte in iob diag - Skript:

        Vielleicht mag ja jemand mit Docker oder LXC das mal ausführen und den Output zeigen?

        timedatectl kennt das image nicht

        *** BASISSYSTEM ***
        CPU-Architektur: x86_64
        Docker: Ja
        Distributor ID: Debian
        Description:    Debian GNU/Linux 11 (bullseye)
        Release:        11
        Codename:       bullseye
        
        Systemuptime und Load:
         22:56:04 up 16 min,  0 users,  load average: 0,67, 1,35, 1,27
        CPU threads: 4
        
        *** Zeit und Zeitzonen ***
        ./iob_diag: line 42: timedatectl: command not found
        
        *** ARBEITSSPEICHER ***
                       total        used        free      shared  buff/cache   available
        Mem:           7,7Gi       2,9Gi       841Mi       330Mi       3,9Gi       3,9Gi
        Swap:           31Gi          0B        31Gi
        Total:          38Gi       2,9Gi        32Gi
        
        *** Nodejs-Installation ***
        /usr/bin/nodejs         v16.18.0
        /usr/bin/node           v16.18.0
        /usr/bin/npm            8.19.2
        
        nodejs:
          Installed: 16.18.0-deb-1nodesource1
          Candidate: 16.18.0-deb-1nodesource1
          Version table:
         *** 16.18.0-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages
                100 /var/lib/dpkg/status
             12.22.12~dfsg-1~deb11u1 500
                500 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages
             12.22.5~dfsg-2~11u1 500
                500 http://deb.debian.org/debian bullseye/main amd64 Packages
        
        *** ioBroker-Installation ***
        js-controller:  4.0.23
        
        Updates + Repos:
        Used repository: beta
        
        *** User und Gruppen ***
        root
        /opt/iobroker
        root
        
        *** X-Server-Setup ***
        X-Server: Nein
        Desktop: 
        Konsole: 
        
        *** Repositories und OS-Updates ***
        Hit:1 http://deb.debian.org/debian bullseye InRelease
        Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
        Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
        Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease
        Reading package lists... Done                       
        Building dependency tree... Done
        Reading state information... Done
        All packages are up to date.
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @fastfoot last edited by Thomas Braun

          @fastfoot

          Danke schön!
          Hast du auch vielleicht eine Alternative?
          Funktioniert das:

          date -u && date && date +"%Z %z" && cat /etc/timezone
          
          F 1 Reply Last reply Reply Quote 0
          • F
            fastfoot @Thomas Braun last edited by

            @thomas-braun sagte in iob diag - Skript:

            Funktioniert das:

            Di 1. Nov 22:10:28 UTC 2022
            Di 1. Nov 23:10:28 CET 2022
            CET +0100
            Europe/Berlin```
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @fastfoot last edited by Thomas Braun

              @fastfoot

              Prima, dann fummel ich das so rein.

              [Edit:] Ist drin.

              F 1 Reply Last reply Reply Quote 1
              • F
                fastfoot @Thomas Braun last edited by

                @thomas-braun sagte in iob diag - Skript:

                [Edit:] Ist drin.

                Läuft!

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @fastfoot last edited by

                  @fastfoot

                  Prima. Und die Ergebnisse treffen vermutlich zu?
                  Also Docker und kein X-Server usw?

                  F Quarkmax 2 Replies Last reply Reply Quote 0
                  • F
                    fastfoot @Thomas Braun last edited by

                    @thomas-braun sagte in iob diag - Skript:

                    @fastfoot

                    Prima. Und die Ergebnisse treffen vermutlich zu?
                    Also Docker und kein X-Server usw?

                    genau, sieht für mich korrekt aus

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Quarkmax
                      Quarkmax @Thomas Braun last edited by

                      @thomas-braun
                      Auf Proxmox im LXC -super.

                      *** BASISSYSTEM ***
                      CPU-Architektur: x86_64
                      Docker: Nein
                      Distributor ID: Ubuntu
                      Description:    Ubuntu 22.04.1 LTS
                      Release:        22.04
                      Codename:       jammy
                      
                      Systemuptime und Load:
                       23:25:18 up 1 day,  9:15,  1 user,  load average: 0,63, 0,98, 0,82
                      CPU threads: 4
                      
                      *** Zeit und Zeitzonen ***
                      Di 1. Nov 22:25:18 UTC 2022
                      Di 1. Nov 23:25:18 CET 2022
                      CET +0100
                      Europe/Berlin
                      
                      *** ARBEITSSPEICHER ***
                                     total        used        free      shared  buff/cache   available
                      Mem:           6,0Gi       3,3Gi       2,1Gi       0,0Ki       575Mi       2,7Gi
                      Swap:          512Mi       0,0Ki       511Mi
                      Total:         6,5Gi       3,3Gi       2,6Gi
                      
                      *** Nodejs-Installation ***
                      /usr/bin/nodejs         v16.18.0
                      /usr/bin/node           v16.18.0
                      /usr/bin/npm            8.19.2
                      
                      nodejs:
                        Installiert:           16.18.0-deb-1nodesource1
                        Installationskandidat: 16.18.0-deb-1nodesource1
                        Versionstabelle:
                       *** 16.18.0-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_16.x jammy/main amd64 Packages
                              100 /var/lib/dpkg/status
                           12.22.9~dfsg-1ubuntu3 500
                              500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
                      
                      *** ioBroker-Installation ***
                      js-controller:  4.0.23
                      
                      Updates + Repos:
                      Used repository: Beta (latest)
                      Adapter    "eventlist"    : 1.1.1    , installed 0.5.5  [Updatable]
                      
                      *** User und Gruppen ***
                      pi
                      /home/pi
                      pi sudo iobroker
                      
                      *** X-Server-Setup ***
                      X-Server: Nein
                      Desktop:
                      Konsole: tty
                      
                      *** Repositories und OS-Updates ***
                      OK:1 http://archive.ubuntu.com/ubuntu jammy InRelease
                      OK:2 https://repos.influxdata.com/ubuntu stable InRelease
                      Holen:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
                      OK:4 https://deb.nodesource.com/node_16.x jammy InRelease
                      Holen:5 http://archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
                      Es wurden 224 kB in 1 s geholt (229 kB/s).
                      Paketlisten werden gelesen… Fertig
                      Abhängigkeitsbaum wird aufgebaut… Fertig
                      Statusinformationen werden eingelesen… Fertig
                      Alle Pakete sind aktuell.
                      

                      Vielen Dank für die Diagnose...

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @fastfoot last edited by

                        @fastfoot

                        Okay. Dann muss ich nur noch für wayland was finden...
                        Werd ich wohl auf dem Bastel-Pi mal ein GUI inkl. wayland hochzimmern müssen.

                        1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Quarkmax last edited by

                          @quarkmax

                          Kannst du mal schauen was dabei in deinem LXC herum kommt?

                          echo `[ ! -f /.dockerenv ]` $?
                          
                          Quarkmax 1 Reply Last reply Reply Quote 0
                          • Quarkmax
                            Quarkmax @Thomas Braun last edited by

                            @thomas-braun

                            
                            pi@ioBroker:~$ echo `[ ! -f /.dockerenv ]` $?
                            0
                            pi@ioBroker:~$
                            
                            
                            
                            Thomas Braun 2 Replies Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Quarkmax last edited by

                              @quarkmax

                              Schade. Ich such noch einen Weg einen (Proxmox) LXC zu identifizieren.

                              1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Quarkmax last edited by

                                @quarkmax

                                Kannst du mal

                                cat /proc/1/sched | head -n 1
                                

                                im Container ausführen?

                                Quarkmax 1 Reply Last reply Reply Quote 0
                                • Quarkmax
                                  Quarkmax @Thomas Braun last edited by

                                  @thomas-braun
                                  Da kommt dann diese Ausgabe

                                  pi@ioBroker:~$ cat /proc/1/sched | head -n 1
                                  systemd (1, #threads: 1)
                                  pi@ioBroker:~$
                                  
                                  
                                  Thomas Braun 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Quarkmax last edited by

                                    @quarkmax
                                    Schade. Hatte gehofft das sei evtl. 'bash' statt 'systemd'.

                                    1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Quarkmax last edited by

                                      @quarkmax

                                      Bitte mal

                                      systemd-detect-virt
                                      

                                      versuchen.

                                      Quarkmax 1 Reply Last reply Reply Quote 0
                                      • Quarkmax
                                        Quarkmax @Thomas Braun last edited by

                                        @thomas-braun
                                        Perfekt

                                        pi@ioBroker:~$ systemd-detect-virt
                                        lxc
                                        pi@ioBroker:~$
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 1
                                        • Thomas Braun
                                          Thomas Braun Most Active @Quarkmax last edited by Thomas Braun

                                          @quarkmax

                                          BINGO! 😄

                                          [Edit:] skript ist aktualisiert.

                                          Quarkmax 1 Reply Last reply Reply Quote 2
                                          • Quarkmax
                                            Quarkmax @Thomas Braun last edited by Quarkmax

                                            @thomas-braun
                                            ...und da ist der LXC

                                            *** BASISSYSTEM ***
                                            CPU-Architektur: x86_64
                                            Docker: Nein
                                            LXC: lxc
                                            Distributor ID: Ubuntu
                                            Description:    Ubuntu 22.04.1 LTS
                                            Release:        22.04
                                            Codename:       jammy
                                            
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            727
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            49
                                            738
                                            148458
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo