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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    iob diag - Skript

    This topic has been deleted. Only users with topic management privileges can see it.
    • andre
      andre Developer @haselchen last edited by andre

      @haselchen sagte in iob diag - Skript:

      Sehr sehr merkwürdig.

      Wieso? Dass unter Docker damit nicht gearbeitet wird heißt ja nicht, dass es nicht funktioniert. Ist mit iobroker start und iobroker stop
      ja auch so. Sollte man im Container nicht benutzen, mag aber trotzdem funktionieren.
      Das ist dann wieder das Thema, dass iobroker an sich nicht exclusiv für Docker entwickelt wurde...

      MfG,
      André

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

        Das heißt auf 'Nicht-Dockern' funktioniert die Abfrage? Den Docker kann ich ja ausklammern. Ist ja nicht der einzige Docker-Umschiffungs-Code in dem Skript.

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

          Ich hab gerade eine neue Version hochgeladen. Die Ermittlung der Basisumgebung erfolgt jetzt anders.
          Können insbesondere die Docker-User das mal testen?
          Ich vermute da ist noch was zu verbessern.

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

            @thomas-braun

            folgende Fehler kommen

            *** BASE SYSTEM ***
            ./iob_diag: line 45: hostnamectl: command not found
            
            ======================= SUMMARY =======================
                                 v.2023-05-27
            
            
            ./iob_diag: line 320: hostnamectl: command not found
            
            Thomas Braun 2 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @emil70 last edited by

              @emil70

              Danke, hatte ich schon befürchtet. Also wieder Sonderstrick...

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

                @emil70

                Magst du noch mal testen?
                Interessant für mich ist der Block
                *** BASE SYSTEM ***
                aus dem Hauptteil und die ersten Zeilen aus der Summary (bis zur Anzahl der Updates).

                M Glasfaser E 3 Replies Last reply Reply Quote 0
                • M
                  mrjeschke @Thomas Braun last edited by

                  @thomas-braun
                  In Zeile 65 ist noch ein d zu viel. Nach entfernen sieht es bei mir so aus.

                  Skript v.2023-05-28
                  
                  *** BASE SYSTEM ***
                  Kernel          : x86_64
                  Userland        : amd64
                  Docker          : v8.0.1
                  
                  Kernel          : x86_64
                  Userland        : amd64
                  Docker          : v8.0.1
                  Virtualization  : Unknown (buanet/Synology?)
                  
                  Systemuptime and Load:
                   14:26:49 up 12 days,  2:47,  0 users,  load average: 0.22, 0.32, 0.35
                  CPU threads: 6
                  
                  ======================= SUMMARY =======================
                                       v.2023-05-28
                  
                  
                  Kernel          : x86_64
                  Userland        : amd64
                  Docker          : v8.0.1
                  
                  Installation:           Docker
                  Kernel:                 x86_64
                  Userland:               amd64
                  Timezone:               Europe/Berlin
                  User-ID:                0
                  X-Server:               false
                  
                  1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @Thomas Braun last edited by

                    @thomas-braun
                    Keine Ausgabe

                    root@iobroker:/opt/iobroker# grep Model /proc/cpuinfo
                    root@iobroker:/opt/iobroker#
                    

                    meinst du so :

                    root@iobroker:/opt/iobroker# grep 'model name' /proc/cpuinfo
                    model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                    model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                    model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                    model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                    root@iobroker:/opt/iobroker# grep 'model name' /proc/cpuinfo | tail -1
                    model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                    root@iobroker:/opt/iobroker#
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Glasfaser last edited by

                      @glasfaser @mrjeschke

                      Bitte nochmal durchorgeln 🙂

                      Glasfaser M 3 Replies Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @Thomas Braun last edited by

                        @thomas-braun

                        root@iobroker:/opt/iobroker# grep -i model /proc/cpuinfo
                        model           : 92
                        model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                        model           : 92
                        model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                        model           : 92
                        model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                        model           : 92
                        model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                        root@iobroker:/opt/iobroker#
                        
                        
                        1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @Thomas Braun last edited by

                          @thomas-braun sagte in iob diag - Skript:

                          @glasfaser @mrjeschke

                          Bitte nochmal durchorgeln 🙂

                          Hast du nicht mein ... gesehn :

                          @glasfaser sagte in iob diag - Skript:

                          meinst du so :

                          root@iobroker:/opt/iobroker# grep 'model name' /proc/cpuinfo
                          model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                          model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                          model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                          model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                          root@iobroker:/opt/iobroker# grep 'model name' /proc/cpuinfo | tail -1
                          model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                          root@iobroker:/opt/iobroker#
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Glasfaser last edited by

                            @glasfaser

                            echad@chet:~/iob_diag $ cat /proc/cpuinfo
                            processor       : 0
                            BogoMIPS        : 108.00
                            Features        : fp asimd evtstrm crc32 cpuid
                            CPU implementer : 0x41
                            CPU architecture: 8
                            CPU variant     : 0x0
                            CPU part        : 0xd08
                            CPU revision    : 3
                            
                            processor       : 1
                            BogoMIPS        : 108.00
                            Features        : fp asimd evtstrm crc32 cpuid
                            CPU implementer : 0x41
                            CPU architecture: 8
                            CPU variant     : 0x0
                            CPU part        : 0xd08
                            CPU revision    : 3
                            
                            processor       : 2
                            BogoMIPS        : 108.00
                            Features        : fp asimd evtstrm crc32 cpuid
                            CPU implementer : 0x41
                            CPU architecture: 8
                            CPU variant     : 0x0
                            CPU part        : 0xd08
                            CPU revision    : 3
                            
                            processor       : 3
                            BogoMIPS        : 108.00
                            Features        : fp asimd evtstrm crc32 cpuid
                            CPU implementer : 0x41
                            CPU architecture: 8
                            CPU variant     : 0x0
                            CPU part        : 0xd08
                            CPU revision    : 3
                            
                            Hardware        : BCM2835
                            Revision        : d03114
                            Serial          : 10000000b60d25ed
                            Model           : Raspberry Pi 4 Model B Rev 1.4
                            

                            Da scheint die Ausgabe von System zu System unterschiedlich zu sein. Ziel ist es eigentlich das 'Model' aus der letzten Zeile auszulesen.

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

                              @thomas-braun

                              Skript v.2023-05-28-1
                              
                              *** BASE SYSTEM ***
                              model           : 158
                              model name      : Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
                              model           : 158
                              model name      : Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
                              model           : 158
                              model name      : Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
                              model           : 158
                              model name      : Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
                              model           : 158
                              model name      : Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
                              model           : 158
                              model name      : Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
                              Kernel          : x86_64
                              Userland        : amd64
                              Docker          : v8.0.1
                              
                              model           : 158
                              model name      : Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
                              model           : 158
                              model name      : Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
                              model           : 158
                              model name      : Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
                              model           : 158
                              model name      : Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
                              model           : 158
                              model name      : Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
                              model           : 158
                              model name      : Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
                              Virtualization  : Unknown (buanet/Synology?)
                              
                              Systemuptime and Load:
                               14:45:01 up 12 days,  3:05,  0 users,  load average: 0.69, 0.46, 0.40
                              CPU threads: 6
                              
                              ======================= SUMMARY =======================
                                                   v.2023-05-28-1
                              
                              
                              Kernel          : x86_64
                              Userland        : amd64
                              Docker          : v8.0.1
                              
                              Installation:           Docker
                              Kernel:                 x86_64
                              Userland:               amd64
                              Timezone:               Europe/Berlin
                              User-ID:                0
                              X-Server:               false
                              
                              1 Reply Last reply Reply Quote 0
                              • Glasfaser
                                Glasfaser @Thomas Braun last edited by

                                @thomas-braun sagte in iob diag - Skript:

                                Da scheint die Ausgabe von System zu System unterschiedlich zu sein. Ziel ist es eigentlich das 'Model' aus der letzten Zeile auszulesen.

                                SYNOLOGY

                                root@iobroker:/opt/iobroker# cat /proc/cpuinfo
                                processor       : 0
                                vendor_id       : GenuineIntel
                                cpu family      : 6
                                model           : 92
                                model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                                stepping        : 9
                                microcode       : 0x3c
                                cpu MHz         : 1501.000
                                cache size      : 1024 KB
                                physical id     : 0
                                siblings        : 4
                                core id         : 0
                                cpu cores       : 4
                                apicid          : 0
                                initial apicid  : 0
                                fpu             : yes
                                fpu_exception   : yes
                                cpuid level     : 21
                                wp              : yes
                                flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch intel_pt ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust smep erms mpx rdseed smap clflushopt sha_ni xsaveopt xsavec xgetbv1 dtherm ida arat pln pts md_clear arch_capabilities
                                bugs            : spectre_v1 spectre_v2
                                bogomips        : 2995.06
                                clflush size    : 64
                                cache_alignment : 64
                                address sizes   : 39 bits physical, 48 bits virtual
                                power management:
                                
                                processor       : 1
                                vendor_id       : GenuineIntel
                                cpu family      : 6
                                model           : 92
                                model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                                stepping        : 9
                                microcode       : 0x3c
                                cpu MHz         : 1501.000
                                cache size      : 1024 KB
                                physical id     : 0
                                siblings        : 4
                                core id         : 1
                                cpu cores       : 4
                                apicid          : 2
                                initial apicid  : 2
                                fpu             : yes
                                fpu_exception   : yes
                                cpuid level     : 21
                                wp              : yes
                                flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch intel_pt ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust smep erms mpx rdseed smap clflushopt sha_ni xsaveopt xsavec xgetbv1 dtherm ida arat pln pts md_clear arch_capabilities
                                bugs            : spectre_v1 spectre_v2
                                bogomips        : 2995.06
                                clflush size    : 64
                                cache_alignment : 64
                                address sizes   : 39 bits physical, 48 bits virtual
                                power management:
                                
                                processor       : 2
                                vendor_id       : GenuineIntel
                                cpu family      : 6
                                model           : 92
                                model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                                stepping        : 9
                                microcode       : 0x3c
                                cpu MHz         : 1501.000
                                cache size      : 1024 KB
                                physical id     : 0
                                siblings        : 4
                                core id         : 2
                                cpu cores       : 4
                                apicid          : 4
                                initial apicid  : 4
                                fpu             : yes
                                fpu_exception   : yes
                                cpuid level     : 21
                                wp              : yes
                                flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch intel_pt ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust smep erms mpx rdseed smap clflushopt sha_ni xsaveopt xsavec xgetbv1 dtherm ida arat pln pts md_clear arch_capabilities
                                bugs            : spectre_v1 spectre_v2
                                bogomips        : 2995.06
                                clflush size    : 64
                                cache_alignment : 64
                                address sizes   : 39 bits physical, 48 bits virtual
                                power management:
                                
                                processor       : 3
                                vendor_id       : GenuineIntel
                                cpu family      : 6
                                model           : 92
                                model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                                stepping        : 9
                                microcode       : 0x3c
                                cpu MHz         : 1501.000
                                cache size      : 1024 KB
                                physical id     : 0
                                siblings        : 4
                                core id         : 3
                                cpu cores       : 4
                                apicid          : 6
                                initial apicid  : 6
                                fpu             : yes
                                fpu_exception   : yes
                                cpuid level     : 21
                                wp              : yes
                                flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch intel_pt ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust smep erms mpx rdseed smap clflushopt sha_ni xsaveopt xsavec xgetbv1 dtherm ida arat pln pts md_clear arch_capabilities
                                bugs            : spectre_v1 spectre_v2
                                bogomips        : 2995.06
                                clflush size    : 64
                                cache_alignment : 64
                                address sizes   : 39 bits physical, 48 bits virtual
                                power management:
                                
                                root@iobroker:/opt/iobroker#
                                
                                

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

                                  @glasfaser @mrjeschke

                                  Hab noch was geändert.

                                  Glasfaser M 2 Replies Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @Thomas Braun last edited by

                                    @thomas-braun

                                    Ja war mir klar 😉

                                    root@iobroker:/opt/iobroker# grep -i model /proc/cpuinfo | tail -1
                                    model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                                    root@iobroker:/opt/iobroker#
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      mrjeschke @Thomas Braun last edited by

                                      @thomas-braun
                                      Mein setup ist übrigens etwas sehr speziell. Docker läuft unter Proxmox im LCX-Container.
                                      Ist nur eine Testinstanz.

                                      Skript v.2023-05-28-2
                                      
                                      *** BASE SYSTEM ***
                                      model name      : Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
                                      Kernel          : x86_64
                                      Userland        : amd64
                                      Docker          : v8.0.1
                                      
                                      model name      : Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
                                      Virtualization  : Unknown (buanet/Synology?)
                                      
                                      Systemuptime and Load:
                                       14:57:17 up 12 days,  3:17,  0 users,  load average: 0.80, 0.52, 0.41
                                      CPU threads: 6
                                      
                                      ======================= SUMMARY =======================
                                                           v.2023-05-28-2
                                      
                                      
                                      model name      : Intel(R) Core(TM) i5-8500T CPU @ 2.10GHz
                                      Kernel          : x86_64
                                      Userland        : amd64
                                      Docker          : v8.0.1
                                      
                                      Installation:           Docker
                                      Kernel:                 x86_64
                                      Userland:               amd64
                                      Timezone:               Europe/Berlin
                                      User-ID:                0
                                      X-Server:               false
                                      
                                      Thomas Braun Glasfaser 2 Replies Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @mrjeschke last edited by

                                        @mrjeschke @Glasfaser

                                        Jetzt scheints zu passen.

                                        1 Reply Last reply Reply Quote 0
                                        • Glasfaser
                                          Glasfaser @mrjeschke last edited by Glasfaser

                                          @mrjeschke

                                          Mein setup ist übrigens etwas sehr speziell.

                                          könntest du mal das testen :

                                          cat /sys/devices/virtual/dmi/id/sys_vendor
                                          

                                          bei mir :

                                          root@iobroker:/opt/iobroker# cat /sys/devices/virtual/dmi/id/sys_vendor
                                          Synology
                                          root@iobroker:/opt/iobroker#
                                          

                                          EDIT :

                                          gibt auch das Modell aus , mit :

                                          root@iobroker:/opt/iobroker# cat /sys/devices/virtual/dmi/id/product_name
                                          DS918+
                                          
                                          M Glasfaser 2 Replies Last reply Reply Quote 0
                                          • M
                                            mrjeschke @Glasfaser last edited by

                                            @glasfaser
                                            Ja das passt.

                                            root@8b0ad1f33859:/opt/iobroker# cat /sys/devices/virtual/dmi/id/sys_vendor
                                            LENOVO
                                            root@8b0ad1f33859:/opt/iobroker#
                                            
                                            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

                                            761
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            49
                                            738
                                            149037
                                            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