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 @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
                      • Glasfaser
                        Glasfaser @Glasfaser last edited by

                        @mrjeschke

                        @glasfaser sagte in iob diag - Skript:
                        @mrjeschke

                        Mein setup ist übrigens etwas sehr speziell.

                        könntest du mal das testen :

                        EDIT :

                        gibt auch das Modell aus , mit :

                        root@iobroker:/opt/iobroker# cat /sys/devices/virtual/dmi/id/product_name
                        DS918+
                        

                        Was kommt damit !?

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

                          @glasfaser

                          root@8b0ad1f33859:/opt/iobroker# cat /sys/devices/virtual/dmi/id/product_name
                          10V8S04H0W
                          root@8b0ad1f33859:/opt/iobroker#
                          
                          M 1 Reply Last reply Reply Quote 0
                          • M
                            mrjeschke @mrjeschke last edited by

                            @mrjeschke
                            Ich hätte noch anzubieten.

                            root@8b0ad1f33859:~# cat /sys/devices/virtual/dmi/id/product_sku
                            LENOVO_MT_10V8_BU_Think_FM_ThinkCentre M920q
                            
                            root@8b0ad1f33859:~# cat /sys/devices/virtual/dmi/id/product_version
                            ThinkCentre M920q
                            
                            root@8b0ad1f33859:~# cat /sys/devices/virtual/dmi/id/product_family
                            ThinkCentre M920q
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @mrjeschke last edited by

                              @mrjeschke @Glasfaser

                              Den vendor hab ich jetzt noch drin, das genaue Modell sollte unerheblich sein, denke ich.

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

                                @thomas-braun sagte in iob diag - Skript:

                                das genaue Modell sollte unerheblich sein, denke ich.

                                sehe ich auch so ... 🙂

                                Skript v.2023-05-28-3
                                
                                *** BASE SYSTEM ***
                                model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                                Hardware Vendor : Synology
                                Kernel          : x86_64
                                Userland        : amd64
                                Docker          : v8.0.0
                                
                                model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                                Virtualization  : Unknown (buanet/Synology?)
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Glasfaser last edited by

                                  @glasfaser sagte in iob diag - Skript:

                                  model name : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz

                                  Ist noch doppelt drin. Muss ich nochmal schauen wo es hängt.
                                  (Kommt davon, wenn man Codebauteile hin- und herkopiert...)

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

                                    @thomas-braun

                                    ee4b40ef-8708-4057-8a3e-f4dcd937a49c-grafik.png

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

                                      @glasfaser

                                      Ja, hab ich rausgenommen. Allerdings an der Stelle davor, ich will das ja auch bei non-Docker sehen.

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

                                        @thomas-braun

                                        Skript v.2023-05-28-3
                                        
                                        *** BASE SYSTEM ***
                                        Hardware Vendor : Synology
                                        Kernel          : x86_64
                                        Userland        : amd64
                                        Docker          : v8.0.0
                                        
                                        model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                                        Virtualization  : Unknown (buanet/Synology?)
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Glasfaser last edited by

                                          @glasfaser

                                          Auf einem nativen System so:

                                          *** BASE SYSTEM ***
                                           Static hostname: chet
                                                 Icon name: computer
                                                Machine ID: f308261801864558bb616d8b786d6028
                                                   Boot ID: b0878e96b549444dbb8ac7f9e60d16f0
                                          Operating System: Debian GNU/Linux 12 (bookworm)
                                                    Kernel: Linux 6.1.21-v8+
                                              Architecture: arm64
                                          
                                          Model           : Raspberry Pi 4 Model B Rev 1.4
                                          Virtualization  : none
                                          
                                          

                                          Sollte also passen.

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

                                            @thomas-braun sagte in iob diag - Skript:

                                            @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).

                                            Denke es hat sich schon erledigt

                                            *** BASE SYSTEM ***
                                            Hardware Vendor : Synology
                                            Kernel          : x86_64
                                            Userland        : amd64
                                            Docker          : v7.0.0
                                            
                                            model name      : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz
                                            Virtualization  : Unknown (buanet/Synology?)
                                            Kernel          : x86_64
                                            Userland        : amd64
                                            
                                            Systemuptime and Load:
                                             18:49:01 up 121 days,  3:06,  0 users,  load average: 0.22, 0.70, 0.94
                                            CPU threads: 4
                                            
                                            
                                            *** Time and Time Zones ***
                                            Sun May 28 16:49:01 UTC 2023
                                            Sun May 28 18:49:01 CEST 2023
                                            CEST +0200
                                            Etc/UTC
                                            
                                            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

                                            653
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            49
                                            725
                                            138164
                                            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