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.
    • 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
                    • Thomas Braun
                      Thomas Braun Most Active @Quarkmax last edited by Thomas Braun

                      @quarkmax
                      Jippie!

                      Jetzt ist noch reines wayland auf der todo-Liste. Mal schauen ob ich das auch noch hinbekomme.

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

                        @thomas-braun Sind in der Übersicht auch USB-Geräte sinnvoll? Verwendete / offene Ports?

                        Thomas Braun liv-in-sky 2 Replies Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @MCU last edited by

                          @mcu
                          Finde ich beides schwierig.
                          USB ist nur bei Virtuellem Zeug ein Problem und Ports ist eine Frage beim Router, was da nach draußen offen ist.

                          N liv-in-sky 2 Replies Last reply Reply Quote 0
                          • N
                            Nordischerjung @Thomas Braun last edited by

                            @thomas-braun

                            Moin, hier auch ein lxc, funktioniert bestens. Auch das Einfügen mit den CODE Zeichen ist eine sehr gute Idee und wirklich Benutzerfreundlich 😁

                            *** BASISSYSTEM ***
                            CPU-Architektur: x86_64
                            Docker: Nein
                            LXC: lxc
                            Distributor ID: Debian
                            Description:    Debian GNU/Linux 11 (bullseye)
                            Release:        11
                            Codename:       bullseye
                            
                            Systemuptime und Load:
                             07:31:21 up 8 days, 20 min,  1 user,  load average: 3.69, 3.38, 2.24
                            CPU threads: 4
                            
                            *** Zeit und Zeitzonen ***
                            Wed Nov  2 06:31:21 UTC 2022
                            Wed Nov  2 07:31:21 CET 2022
                            CET +0100
                            Europe/Berlin
                            
                            *** ARBEITSSPEICHER ***
                                           total        used        free      shared  buff/cache   available
                            Mem:           6.0Gi       3.8Gi       757Mi       0.0Ki       1.5Gi       2.2Gi
                            Swap:          7.0Gi       0.0Ki       7.0Gi
                            Total:          12Gi       3.8Gi       7.7Gi
                            
                            *** Nodejs-Installation ***
                            [sudo] password for sb:
                            /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
                                 14.20.1-deb-1nodesource1 500
                                    500 https://deb.nodesource.com/node_14.x bullseye/main amd64 Packages
                                 12.22.12~dfsg-1~deb11u1 500
                                    500 http://security.debian.org bullseye-security/main amd64 Packages
                                 12.22.5~dfsg-2~11u1 500
                                    500 http://ftp.debian.org/debian bullseye/main amd64 Packages
                            
                            *** ioBroker-Installation ***
                            js-controller:  4.0.23
                            
                            Updates + Repos:
                            Used repository: stable
                            Adapter    "mqtt"         : 4.0.7    , installed 3.0.6  [Updatable]
                            
                            *** User und Gruppen ***
                            sb
                            /home/sb
                            sb sudo iobroker
                            
                            *** X-Server-Setup ***
                            X-Server: Nein
                            Desktop:
                            Konsole:
                            
                            *** Repositories und OS-Updates ***
                            Hit:1 http://ftp.debian.org/debian bullseye InRelease
                            Hit:2 http://security.debian.org bullseye-security InRelease
                            Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease
                            Hit:4 https://deb.nodesource.com/node_14.x bullseye InRelease
                            Hit:5 https://repos.influxdata.com/debian bullseye InRelease
                            Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease
                            Reading package lists... Done
                            Building dependency tree... Done
                            Reading state information... Done
                            3 packages can be upgraded. Run 'apt list --upgradable' to see them.
                            
                            1 Reply Last reply Reply Quote 0
                            • liv-in-sky
                              liv-in-sky @Thomas Braun last edited by

                              @thomas-braun

                              cooles script - sollte in den iobroker commands integriert sein - so wie z.b. iob status

                              iob diag
                              
                              R Thomas Braun 2 Replies Last reply Reply Quote 0
                              • R
                                reutli @liv-in-sky last edited by

                                @liv-in-sky

                                jupp hat Thomas ja im ersten post bereits angedeutet...

                                @thomas-braun sagte in iob diag - Skript:

                                das man vielleicht analog zum iobroker fix direkt zu einer Basisinstallation des ioiBrokers hinzufügen könnte. Aufruf dann z. B. über ìobroker diag oder so.

                                liv-in-sky 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @liv-in-sky last edited by

                                  @liv-in-sky

                                  Das ist das Ziel. Dazu braucht es aber noch mehr Tests und vermutlich Unterstützung von mehreren Sprachen, mindestens aber wohl Englisch.
                                  Das braucht noch etwas Reifezeit.

                                  E 1 Reply Last reply Reply Quote 0
                                  • liv-in-sky
                                    liv-in-sky @reutli last edited by

                                    @reutli ich würde es sogar in den info adapter einbauen - evtl als button zum abfragen oder einmaligen laufen beim info aufruf

                                    @Thomas-Braun zur info: läuft bei mir durch auf proxmox (lxc)

                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      emil70 last edited by emil70

                                      cooles script

                                      *** BASISSYSTEM ***
                                      CPU-Architektur: x86_64
                                      Docker: Ja
                                      ./iob_diag: line 35: systemd-detect-virt: command not found
                                      LXC: 
                                      Distributor ID: Debian
                                      Description:    Debian GNU/Linux 11 (bullseye)
                                      Release:        11
                                      Codename:       bullseye
                                      
                                      Systemuptime und Load:
                                       07:47:48 up 27 days, 38 min,  0 users,  load average: 0,13, 0,23, 0,22
                                      CPU threads: 4
                                      
                                      *** Zeit und Zeitzonen ***
                                      Mi 2. Nov 06:47:48 UTC 2022
                                      Mi 2. Nov 07:47:48 CET 2022
                                      CET +0100
                                      Etc/UTC
                                      
                                      *** ARBEITSSPEICHER ***
                                                     total        used        free      shared  buff/cache   available
                                      Mem:            11Gi       3,1Gi       4,6Gi       150Mi       3,8Gi       7,9Gi
                                      Swap:          8,9Gi       1,1Gi       7,9Gi
                                      Total:          20Gi       4,2Gi        12Gi
                                      
                                      *** Nodejs-Installation ***
                                      /usr/bin/nodejs         v16.17.1
                                      /usr/bin/node           v16.17.1
                                      /usr/bin/npm            8.15.0
                                      
                                      nodejs:
                                        Installed: 16.17.1-deb-1nodesource1
                                        Candidate: 16.17.1-deb-1nodesource1
                                        Version table:
                                       *** 16.17.1-deb-1nodesource1 100
                                              100 /var/lib/dpkg/status
                                      
                                      *** ioBroker-Installation ***
                                      js-controller:  4.0.23
                                      
                                      Updates + Repos:
                                      Used repository: Stable (default)
                                      Adapter    "panasonic-comfort-cloud": 2.0.6, installed 2.0.4 [Updatable]
                                      
                                      *** 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 bullseye-updates InRelease                                 
                                      Hit:3 http://security.debian.org/debian-security bullseye-security InRelease                  
                                      Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease                                 
                                      Reading package lists... Done                     
                                      Building dependency tree... Done
                                      Reading state information... Done
                                      13 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                      

                                      da

                                      ./iob_diag: line 35: systemd-detect-virt: command not found
                                      

                                      solltest du nochmal ran

                                      Da

                                      echo -e "LXC: `systemd-detect-virt`"
                                      

                                      solltest du lieber auch eine Abfrage einbauen und wenn vorhanden eine Ausgabe setzen

                                      So vielleicht

                                      LXC=systemd-detect-virt;
                                      if [ -f "$LXC" ]; then
                                          echo "LXC: Ja"
                                      else
                                          echo "LXC: Nein"
                                      fi;
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • Nashra
                                        Nashra Most Active Forum Testing last edited by Nashra

                                        Moin, tolles Skript 👍
                                        Proxmox mit lxc auf einem i3 PC

                                        *** BASISSYSTEM ***
                                        CPU-Architektur: x86_64
                                        Docker: Nein
                                        LXC: lxc
                                        Distributor ID: Debian
                                        Description:    Debian GNU/Linux 10 (buster)
                                        Release:        10
                                        Codename:       buster
                                        
                                        Systemuptime und Load:
                                         08:00:58 up 19 days, 15:05,  1 user,  load average: 1.11, 0.80, 0.86
                                        CPU threads: 4
                                        
                                        *** Zeit und Zeitzonen ***
                                        Wed Nov  2 07:00:58 UTC 2022
                                        Wed Nov  2 08:00:58 CET 2022
                                        CET +0100
                                        Europe/Berlin
                                        
                                        *** ARBEITSSPEICHER ***
                                                      total        used        free      shared  buff/cache   available
                                        Mem:          9.9Gi       3.6Gi       5.8Gi       8.0Mi       491Mi       6.3Gi
                                        Swap:            0B          0B          0B
                                        Total:        9.9Gi       3.6Gi       5.8Gi
                                        
                                        *** Nodejs-Installation ***
                                        [sudo] password for jack: 
                                        /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 buster/main amd64 Packages
                                                100 /var/lib/dpkg/status
                                             10.24.0~dfsg-1~deb10u2 500
                                                500 http://security.debian.org buster/updates/main amd64 Packages
                                             10.24.0~dfsg-1~deb10u1 500
                                                500 http://ftp.debian.org/debian buster/main amd64 Packages
                                        
                                        *** ioBroker-Installation ***
                                        js-controller:  4.0.23
                                        
                                        Updates + Repos:
                                        Used repository: Stable (default)
                                        
                                        *** User und Gruppen ***
                                        jack
                                        /home/jack
                                        jack sudo iobroker
                                        
                                        *** X-Server-Setup ***
                                        X-Server: Nein
                                        Desktop: 
                                        Konsole: 
                                        
                                        *** Repositories und OS-Updates ***
                                        Hit:1 http://security.debian.org buster/updates InRelease
                                        Hit:2 http://ftp.debian.org/debian buster InRelease                                                                                                        
                                        Hit:3 http://ftp.debian.org/debian buster-updates InRelease                                                                                                
                                        Hit:4 https://deb.nodesource.com/node_16.x buster InRelease                                                           
                                        Hit:5 https://packagecloud.io/ookla/speedtest-cli/debian buster InRelease                       
                                        Reading package lists... Done
                                        Building dependency tree       
                                        Reading state information... Done
                                        50 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                        
                                        R 1 Reply Last reply Reply Quote 0
                                        • R
                                          reutli @Nashra last edited by

                                          @nashra sagte in iob diag - Skript:

                                          50 packages can be upgraded. Run 'apt list --upgradable' to see them.

                                          Na Du solltest aber mal ran an die Updates 🤗

                                          Nashra 1 Reply Last reply Reply Quote 0
                                          • Nashra
                                            Nashra Most Active Forum Testing @reutli last edited by Nashra

                                            @reutli sagte in iob diag - Skript:

                                            @nashra sagte in iob diag - Skript:

                                            50 packages can be upgraded. Run 'apt list --upgradable' to see them.

                                            Na Du solltest aber mal ran an die Updates 🤗

                                            Jow, bin schon dabei bzw. erledigt 😁

                                            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

                                            588
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            49
                                            733
                                            147099
                                            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