Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. (Gelöst) Auslesen ioBroker Hosts Systeminformationen?

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    535

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.7k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.6k

(Gelöst) Auslesen ioBroker Hosts Systeminformationen?

Geplant Angeheftet Gesperrt Verschoben Skripten / Logik
blocklyjavascript
53 Beiträge 7 Kommentatoren 5.0k Aufrufe 6 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • M MCU

    @oli Ist hier was dabei?

    const os = require('os');
    log(os.platform())
    log(os.arch())
    log(os.release())
    log(os.hostname())
    log(os.cpus())
    log(os.totalmem())
    log(os.freemem())
    log(os.uptime())
    log(os.networkInterfaces())
    log(os.homedir())
    log(os.tmpdir())
    log(os.type())
    log(os.endianness())
    
    
    HomoranH Nicht stören
    HomoranH Nicht stören
    Homoran
    Global Moderator Administrators
    schrieb am zuletzt editiert von
    #30

    @mcu war das nicht in dem Export dabei?

          "os": {
            "hostname": "ioBroker",
            "type": "Linux",
            "platform": "linux",
            "arch": "x64",
            "release": "5.10.60-qnap",
            "endianness": "LE",
            "tmpdir": "/tmp"
    

    Ausschnitt!

    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

    M 1 Antwort Letzte Antwort
    0
    • HomoranH Homoran

      @mcu war das nicht in dem Export dabei?

            "os": {
              "hostname": "ioBroker",
              "type": "Linux",
              "platform": "linux",
              "arch": "x64",
              "release": "5.10.60-qnap",
              "endianness": "LE",
              "tmpdir": "/tmp"
      

      Ausschnitt!

      M Online
      M Online
      MCU
      schrieb am zuletzt editiert von MCU
      #31

      @homoran Doch, aber es nicht das Gesuchte.
      04af0e97-c498-4745-9cf7-cada3000f990-image.png
      Was er möchte ist
      81b6a113-140b-4b40-b862-cf8d612e1f88-image.png

      NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
      Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

      O 1 Antwort Letzte Antwort
      0
      • M MCU

        @homoran Doch, aber es nicht das Gesuchte.
        04af0e97-c498-4745-9cf7-cada3000f990-image.png
        Was er möchte ist
        81b6a113-140b-4b40-b862-cf8d612e1f88-image.png

        O Online
        O Online
        Oli
        schrieb am zuletzt editiert von
        #32

        @mcu

        erstmal danke für deine Unterstützung,

        da ist alles mögliche dabei aber leider nicht das was ich suche

        Gruß
        Oliver

        liv-in-skyL M 2 Antworten Letzte Antwort
        0
        • M MCU

          @oli Ist hier was dabei?

          const os = require('os');
          log(os.platform())
          log(os.arch())
          log(os.release())
          log(os.hostname())
          log(os.cpus())
          log(os.totalmem())
          log(os.freemem())
          log(os.uptime())
          log(os.networkInterfaces())
          log(os.homedir())
          log(os.tmpdir())
          log(os.type())
          log(os.endianness())
          
          
          HomoranH Nicht stören
          HomoranH Nicht stören
          Homoran
          Global Moderator Administrators
          schrieb am zuletzt editiert von
          #33

          @mcu

          @mcu sagte in Auslesen ioBroker Hosts Systeminformationen?:

          aber es nicht das Gesuchte.

          das weiss ich auch :joy:
          Aber dann kann man sich das ja sparen.

          ich hab keine Ahnung wie das in die system.host kommt, und wie @thomas-braun das ausliest.

          @Oli hat ja die linux Befehle noch nicht getestet

          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • O Oli

            @mcu

            erstmal danke für deine Unterstützung,

            da ist alles mögliche dabei aber leider nicht das was ich suche

            liv-in-skyL Offline
            liv-in-skyL Offline
            liv-in-sky
            schrieb am zuletzt editiert von
            #34

            @oli

            du könntest aucch auf der git seite von buanet nachfragen, wie du daran kommst

            nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

            M 1 Antwort Letzte Antwort
            0
            • liv-in-skyL liv-in-sky

              @oli

              du könntest aucch auf der git seite von buanet nachfragen, wie du daran kommst

              M Online
              M Online
              MCU
              schrieb am zuletzt editiert von
              #35

              @liv-in-sky iobroker.admin
              b35799bb-d456-4de6-bad5-784728c8577f-image.png

              NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
              Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

              liv-in-skyL 1 Antwort Letzte Antwort
              0
              • HomoranH Homoran

                @mcu

                @mcu sagte in Auslesen ioBroker Hosts Systeminformationen?:

                aber es nicht das Gesuchte.

                das weiss ich auch :joy:
                Aber dann kann man sich das ja sparen.

                ich hab keine Ahnung wie das in die system.host kommt, und wie @thomas-braun das ausliest.

                @Oli hat ja die linux Befehle noch nicht getestet

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #36

                @homoran

                Gar nicht. Der gesuchte String ist nicht aus iob diag, oder?

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                HomoranH 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @homoran

                  Gar nicht. Der gesuchte String ist nicht aus iob diag, oder?

                  HomoranH Nicht stören
                  HomoranH Nicht stören
                  Homoran
                  Global Moderator Administrators
                  schrieb am zuletzt editiert von
                  #37

                  @thomas-braun
                  hier doch
                  https://forum.iobroker.net/post/1164765

                  kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                  1 Antwort Letzte Antwort
                  0
                  • M MCU

                    @liv-in-sky iobroker.admin
                    b35799bb-d456-4de6-bad5-784728c8577f-image.png

                    liv-in-skyL Offline
                    liv-in-skyL Offline
                    liv-in-sky
                    schrieb am zuletzt editiert von
                    #38

                    @mcu wo hast du das hergezaubert ?

                    nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                    M 1 Antwort Letzte Antwort
                    0
                    • liv-in-skyL liv-in-sky

                      @mcu wo hast du das hergezaubert ?

                      M Online
                      M Online
                      MCU
                      schrieb am zuletzt editiert von MCU
                      #39

                      @liv-in-sky
                      https://github.com/ioBroker/ioBroker.admin/blob/master/packages/admin/src/src/tabs/Hosts.tsx#L122

                      Es wäre sinnvoll ein Feature Request für iobroker.js-controller zu erstellen, so dass auch die Docker Infos in dem richtigen OS-Pfad landen?

                      NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                      Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                      liv-in-skyL 1 Antwort Letzte Antwort
                      0
                      • M MCU

                        @liv-in-sky
                        https://github.com/ioBroker/ioBroker.admin/blob/master/packages/admin/src/src/tabs/Hosts.tsx#L122

                        Es wäre sinnvoll ein Feature Request für iobroker.js-controller zu erstellen, so dass auch die Docker Infos in dem richtigen OS-Pfad landen?

                        liv-in-skyL Offline
                        liv-in-skyL Offline
                        liv-in-sky
                        schrieb am zuletzt editiert von
                        #40

                        @mcu

                        aber ich finde die info nicht - ist die unter system.adapter.admin ?

                        ich habe proxmox, daher kann ich nicht suchen

                        nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                        M 1 Antwort Letzte Antwort
                        0
                        • liv-in-skyL liv-in-sky

                          @mcu

                          aber ich finde die info nicht - ist die unter system.adapter.admin ?

                          ich habe proxmox, daher kann ich nicht suchen

                          M Online
                          M Online
                          MCU
                          schrieb am zuletzt editiert von
                          #41

                          @liv-in-sky Nein. Das war nur ein Hinweis, wo es im Admin gesetzt wird. Da kommt man aber so nicht dran.
                          Deswegen ist da ein Feature Request für den js-controller bzw. Admin sinnvoll.
                          Je nach dem wer die Daten in die system-Pfade schreibt.

                          NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                          Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                          liv-in-skyL 1 Antwort Letzte Antwort
                          1
                          • M MCU

                            @liv-in-sky Nein. Das war nur ein Hinweis, wo es im Admin gesetzt wird. Da kommt man aber so nicht dran.
                            Deswegen ist da ein Feature Request für den js-controller bzw. Admin sinnvoll.
                            Je nach dem wer die Daten in die system-Pfade schreibt.

                            liv-in-skyL Offline
                            liv-in-skyL Offline
                            liv-in-sky
                            schrieb am zuletzt editiert von
                            #42

                            @mcu

                            danke dir

                            aber ich schätze mal, das man sich die "image" version anzeigen lassen kann, welches gerade läuft - auf consolen ebene

                            aber das soll sich jmd ansehen, der docker nutzt - sowas kommt mir nicht ins haus :-)

                            nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                            Thomas BraunT 1 Antwort Letzte Antwort
                            0
                            • O Oli

                              @mcu

                              erstmal danke für deine Unterstützung,

                              da ist alles mögliche dabei aber leider nicht das was ich suche

                              M Online
                              M Online
                              MCU
                              schrieb am zuletzt editiert von
                              #43

                              @oli Was zeigt dies an?

                              
                              const { exec } = require('child_process');
                              
                              exec('cat /opt/scripts/.docker_config/.thisisdocker', (error, stdout, stderr) => {
                                if (error) {
                                  console.error(`Fehler: ${error.message}`);
                                  return;
                                }
                                if (stderr) {
                                  console.error(`stderr: ${stderr}`);
                                  return;
                                }
                                console.log(`CPU-Informationen:\n${stdout}`);
                              });
                              
                              exec('cat /proc/cpuinfo', (error, stdout, stderr) => {
                                if (error) {
                                  console.error(`Fehler: ${error.message}`);
                                  return;
                                }
                                if (stderr) {
                                  console.error(`stderr: ${stderr}`);
                                  return;
                                }
                                console.log(`CPU-Informationen:\n${stdout}`);
                              });
                              

                              NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                              Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                              O 1 Antwort Letzte Antwort
                              0
                              • liv-in-skyL liv-in-sky

                                @mcu

                                danke dir

                                aber ich schätze mal, das man sich die "image" version anzeigen lassen kann, welches gerade läuft - auf consolen ebene

                                aber das soll sich jmd ansehen, der docker nutzt - sowas kommt mir nicht ins haus :-)

                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                schrieb am zuletzt editiert von
                                #44

                                @liv-in-sky sagte in Auslesen ioBroker Hosts Systeminformationen?:

                                aber ich schätze mal, das man sich die "image" version anzeigen lassen kann, welches gerade läuft - auf consolen ebene

                                Ja, die Version kann man auslesen.
                                Steht u.a. im Code zu 'iob diag' drin, welche Datei die Info drin hat.

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                1 Antwort Letzte Antwort
                                0
                                • M MCU

                                  @oli Was zeigt dies an?

                                  
                                  const { exec } = require('child_process');
                                  
                                  exec('cat /opt/scripts/.docker_config/.thisisdocker', (error, stdout, stderr) => {
                                    if (error) {
                                      console.error(`Fehler: ${error.message}`);
                                      return;
                                    }
                                    if (stderr) {
                                      console.error(`stderr: ${stderr}`);
                                      return;
                                    }
                                    console.log(`CPU-Informationen:\n${stdout}`);
                                  });
                                  
                                  exec('cat /proc/cpuinfo', (error, stdout, stderr) => {
                                    if (error) {
                                      console.error(`Fehler: ${error.message}`);
                                      return;
                                    }
                                    if (stderr) {
                                      console.error(`stderr: ${stderr}`);
                                      return;
                                    }
                                    console.log(`CPU-Informationen:\n${stdout}`);
                                  });
                                  
                                  O Online
                                  O Online
                                  Oli
                                  schrieb am zuletzt editiert von
                                  #45

                                  @mcu
                                  hier kommt folgende Ausgabe:

                                  script.js.common.System.Skript_1: CPU-Informationen: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 55 model name : Intel(R) Celeron(R) CPU J1900 @ 1.99GHz stepping : 8 microcode : 0x82d cpu MHz : 2000.002 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 : 11 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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb pti tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm arat vmx flags : vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest bugs : cpu_meltdown spectre_v1 spectre_v2 mds msbds_only bogomips : 4000.00 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 55 model name : Intel(R) Celeron(R) CPU J1900 @ 1.99GHz stepping : 8 microcode : 0x82d cpu MHz : 2000.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 : 11 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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb pti tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm arat vmx flags : vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest bugs : cpu_meltdown spectre_v1 spectre_v2 mds msbds_only bogomips : 4000.00 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 2 vendor_id : GenuineIntel cpu family : 6 model : 55 model name : Intel(R) Celeron(R) CPU J1900 @ 1.99GHz stepping : 8 microcode : 0x82d cpu MHz : 2000.002 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 : 11 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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb pti tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm arat vmx flags : vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest bugs : cpu_meltdown spectre_v1 spectre_v2 mds msbds_only bogomips : 4000.00 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 55 model name : Intel(R) Celeron(R) CPU J1900 @ 1.99GHz stepping : 8 microcode : 0x82d cpu MHz : 2000.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 : 11 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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb pti tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm arat vmx flags : vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest bugs : cpu_meltdown spectre_v1 spectre_v2 mds msbds_only bogomips : 4000.00 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management:
                                  

                                  Gruß
                                  Oliver

                                  M 1 Antwort Letzte Antwort
                                  0
                                  • O Oli

                                    @mcu
                                    hier kommt folgende Ausgabe:

                                    script.js.common.System.Skript_1: CPU-Informationen: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 55 model name : Intel(R) Celeron(R) CPU J1900 @ 1.99GHz stepping : 8 microcode : 0x82d cpu MHz : 2000.002 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 : 11 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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb pti tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm arat vmx flags : vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest bugs : cpu_meltdown spectre_v1 spectre_v2 mds msbds_only bogomips : 4000.00 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 55 model name : Intel(R) Celeron(R) CPU J1900 @ 1.99GHz stepping : 8 microcode : 0x82d cpu MHz : 2000.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 : 11 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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb pti tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm arat vmx flags : vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest bugs : cpu_meltdown spectre_v1 spectre_v2 mds msbds_only bogomips : 4000.00 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 2 vendor_id : GenuineIntel cpu family : 6 model : 55 model name : Intel(R) Celeron(R) CPU J1900 @ 1.99GHz stepping : 8 microcode : 0x82d cpu MHz : 2000.002 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 : 11 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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb pti tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm arat vmx flags : vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest bugs : cpu_meltdown spectre_v1 spectre_v2 mds msbds_only bogomips : 4000.00 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management: processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 55 model name : Intel(R) Celeron(R) CPU J1900 @ 1.99GHz stepping : 8 microcode : 0x82d cpu MHz : 2000.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 : 11 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 rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer rdrand lahf_lm 3dnowprefetch epb pti tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms dtherm arat vmx flags : vnmi preemption_timer invvpid ept_x_only flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest bugs : cpu_meltdown spectre_v1 spectre_v2 mds msbds_only bogomips : 4000.00 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management:
                                    
                                    M Online
                                    M Online
                                    MCU
                                    schrieb am zuletzt editiert von
                                    #46

                                    @oli Mal nur das

                                    const { exec } = require('child_process');
                                     
                                    exec('cat /opt/scripts/.docker_config/.thisisdocker', (error, stdout, stderr) => {
                                      if (error) {
                                        console.error(`Fehler: ${error.message}`);
                                        return;
                                      }
                                      if (stderr) {
                                        console.error(`stderr: ${stderr}`);
                                        return;
                                      }
                                      console.log(`CPU-Informationen:\n${stdout}`);
                                    });
                                    

                                    NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                                    Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                                    O 1 Antwort Letzte Antwort
                                    2
                                    • M MCU

                                      @oli Mal nur das

                                      const { exec } = require('child_process');
                                       
                                      exec('cat /opt/scripts/.docker_config/.thisisdocker', (error, stdout, stderr) => {
                                        if (error) {
                                          console.error(`Fehler: ${error.message}`);
                                          return;
                                        }
                                        if (stderr) {
                                          console.error(`stderr: ${stderr}`);
                                          return;
                                        }
                                        console.log(`CPU-Informationen:\n${stdout}`);
                                      });
                                      
                                      O Online
                                      O Online
                                      Oli
                                      schrieb am zuletzt editiert von
                                      #47

                                      @mcu
                                      hier kommt folgenden:

                                      	script.js.common.System.Skript_1: CPU-Informationen: v9.1.1
                                      

                                      Super, das ist es, vielen herzlichen Dank!!!

                                      Gruß
                                      Oliver

                                      M 1 Antwort Letzte Antwort
                                      1
                                      • mickymM Online
                                        mickymM Online
                                        mickym
                                        Most Active
                                        schrieb am zuletzt editiert von
                                        #48

                                        @oli sagte in (Gelöst) Auslesen ioBroker Hosts Systeminformationen?:

                                        Hallo zusammen,
                                        in den Reiter "Hosts" werden Systeminformationen angezeigt, welche teilweise als Datenpunkte aufgeführt werden, leider fehlen mir da ein paar Infos.

                                        Ist es möglich folgende Informationen über ein Skript auszulesen?

                                        Plattform: docker (official image - v9.1.1)
                                        Betriebssystem: linux
                                        Architektur: x64
                                        CPUs: 4
                                        Geschwindigkeit: 2000 MHz
                                        Modell: Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz
                                        RAM: 7.6 GB
                                        

                                        Hier mal wieder eine JSONATA Lösung, um aus dem Text ein Objekt zu erstellen:

                                        ab5f7324-f521-455d-b89c-7f004e71ff5b-image.png

                                        <xml xmlns="https://developers.google.com/blockly/xml">
                                         <variables>
                                           <variable id="UKpID;90t#p;%vf~Fl?e">text</variable>
                                           <variable id="HiJUf;%uY7g7U~|s`KU!">objekt</variable>
                                         </variables>
                                         <block type="variables_set" id="*~4t]}V;Dc1i@{qDhc)(" x="-862" y="-362">
                                           <field name="VAR" id="UKpID;90t#p;%vf~Fl?e">text</field>
                                           <value name="VALUE">
                                             <block type="text_multiline" id="{g-;CG*A@i;Ek0Y:*%cr">
                                               <field name="TEXT">Plattform: docker (official image - v9.1.1)&amp;#10;Betriebssystem: linux&amp;#10;Architektur: x64&amp;#10;CPUs: 4&amp;#10;Geschwindigkeit: 2000 MHz&amp;#10;Modell: Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz&amp;#10;RAM: 7.6 GB&amp;#10;</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="variables_set" id="%fnw!`SXd+,04{wU^7$7">
                                               <field name="VAR" id="HiJUf;%uY7g7U~|s`KU!">objekt</field>
                                               <value name="VALUE">
                                                 <block type="convert_jsonata" id="]G}^*)gPKW+O?(P,TnwZ">
                                                   <value name="EXPRESSION">
                                                     <shadow type="text" id=",@_s}@r$H@VrqKynltb;">
                                                       <field name="TEXT">$match($,/(.*):\s(.*)/ ).{groups[0]:groups[1]}~&gt;$merge()</field>
                                                     </shadow>
                                                   </value>
                                                   <value name="TARGET">
                                                     <block type="variables_get" id="huNa_!rkGM(!S0W*Ox*Y">
                                                       <field name="VAR" id="UKpID;90t#p;%vf~Fl?e">text</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="debug" id=".]Jnu-BalJl+!5.PbK$=">
                                                   <field name="Severity">info</field>
                                                   <value name="TEXT">
                                                     <shadow type="text" id="5}QTQ[YkViw|Bmm%eS^6">
                                                       <field name="TEXT">test</field>
                                                     </shadow>
                                                     <block type="variables_get" id="Di|Dxo~cwlRXcT=hQ6I)">
                                                       <field name="VAR" id="HiJUf;%uY7g7U~|s`KU!">objekt</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="debug" id="twPG:]uwHfZ]fkO/^tNt">
                                                       <field name="Severity">info</field>
                                                       <value name="TEXT">
                                                         <shadow type="text" id="CRl5J)4reL2*WWFX-)9u">
                                                           <field name="TEXT">test</field>
                                                         </shadow>
                                                         <block type="text_join" id="PkmmuaV6?5Rj8bXH(GHB">
                                                           <mutation items="2"></mutation>
                                                           <value name="ADD0">
                                                             <block type="text" id="r{LX=|xT)!E7YcpxYbQy">
                                                               <field name="TEXT">Arbeitsspeicher: </field>
                                                             </block>
                                                           </value>
                                                           <value name="ADD1">
                                                             <block type="get_attr" id="btrS$W)B*u:A;iVZ(;b$">
                                                               <value name="PATH">
                                                                 <shadow type="text" id="QQF=Mlj)u9+!N#xfh[O1">
                                                                   <field name="TEXT">RAM</field>
                                                                 </shadow>
                                                               </value>
                                                               <value name="OBJECT">
                                                                 <shadow type="get_object" id="bg)Dq-~4:;}vst{,x@^Z">
                                                                   <field name="OID">Object ID</field>
                                                                 </shadow>
                                                                 <block type="variables_get" id="i+JYUqacJB#oP%59[984">
                                                                   <field name="VAR" id="HiJUf;%uY7g7U~|s`KU!">objekt</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                        </xml>
                                        

                                        Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

                                        HomoranH 1 Antwort Letzte Antwort
                                        0
                                        • mickymM mickym

                                          @oli sagte in (Gelöst) Auslesen ioBroker Hosts Systeminformationen?:

                                          Hallo zusammen,
                                          in den Reiter "Hosts" werden Systeminformationen angezeigt, welche teilweise als Datenpunkte aufgeführt werden, leider fehlen mir da ein paar Infos.

                                          Ist es möglich folgende Informationen über ein Skript auszulesen?

                                          Plattform: docker (official image - v9.1.1)
                                          Betriebssystem: linux
                                          Architektur: x64
                                          CPUs: 4
                                          Geschwindigkeit: 2000 MHz
                                          Modell: Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz
                                          RAM: 7.6 GB
                                          

                                          Hier mal wieder eine JSONATA Lösung, um aus dem Text ein Objekt zu erstellen:

                                          ab5f7324-f521-455d-b89c-7f004e71ff5b-image.png

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                           <variables>
                                             <variable id="UKpID;90t#p;%vf~Fl?e">text</variable>
                                             <variable id="HiJUf;%uY7g7U~|s`KU!">objekt</variable>
                                           </variables>
                                           <block type="variables_set" id="*~4t]}V;Dc1i@{qDhc)(" x="-862" y="-362">
                                             <field name="VAR" id="UKpID;90t#p;%vf~Fl?e">text</field>
                                             <value name="VALUE">
                                               <block type="text_multiline" id="{g-;CG*A@i;Ek0Y:*%cr">
                                                 <field name="TEXT">Plattform: docker (official image - v9.1.1)&amp;#10;Betriebssystem: linux&amp;#10;Architektur: x64&amp;#10;CPUs: 4&amp;#10;Geschwindigkeit: 2000 MHz&amp;#10;Modell: Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz&amp;#10;RAM: 7.6 GB&amp;#10;</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="variables_set" id="%fnw!`SXd+,04{wU^7$7">
                                                 <field name="VAR" id="HiJUf;%uY7g7U~|s`KU!">objekt</field>
                                                 <value name="VALUE">
                                                   <block type="convert_jsonata" id="]G}^*)gPKW+O?(P,TnwZ">
                                                     <value name="EXPRESSION">
                                                       <shadow type="text" id=",@_s}@r$H@VrqKynltb;">
                                                         <field name="TEXT">$match($,/(.*):\s(.*)/ ).{groups[0]:groups[1]}~&gt;$merge()</field>
                                                       </shadow>
                                                     </value>
                                                     <value name="TARGET">
                                                       <block type="variables_get" id="huNa_!rkGM(!S0W*Ox*Y">
                                                         <field name="VAR" id="UKpID;90t#p;%vf~Fl?e">text</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="debug" id=".]Jnu-BalJl+!5.PbK$=">
                                                     <field name="Severity">info</field>
                                                     <value name="TEXT">
                                                       <shadow type="text" id="5}QTQ[YkViw|Bmm%eS^6">
                                                         <field name="TEXT">test</field>
                                                       </shadow>
                                                       <block type="variables_get" id="Di|Dxo~cwlRXcT=hQ6I)">
                                                         <field name="VAR" id="HiJUf;%uY7g7U~|s`KU!">objekt</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="debug" id="twPG:]uwHfZ]fkO/^tNt">
                                                         <field name="Severity">info</field>
                                                         <value name="TEXT">
                                                           <shadow type="text" id="CRl5J)4reL2*WWFX-)9u">
                                                             <field name="TEXT">test</field>
                                                           </shadow>
                                                           <block type="text_join" id="PkmmuaV6?5Rj8bXH(GHB">
                                                             <mutation items="2"></mutation>
                                                             <value name="ADD0">
                                                               <block type="text" id="r{LX=|xT)!E7YcpxYbQy">
                                                                 <field name="TEXT">Arbeitsspeicher: </field>
                                                               </block>
                                                             </value>
                                                             <value name="ADD1">
                                                               <block type="get_attr" id="btrS$W)B*u:A;iVZ(;b$">
                                                                 <value name="PATH">
                                                                   <shadow type="text" id="QQF=Mlj)u9+!N#xfh[O1">
                                                                     <field name="TEXT">RAM</field>
                                                                   </shadow>
                                                                 </value>
                                                                 <value name="OBJECT">
                                                                   <shadow type="get_object" id="bg)Dq-~4:;}vst{,x@^Z">
                                                                     <field name="OID">Object ID</field>
                                                                   </shadow>
                                                                   <block type="variables_get" id="i+JYUqacJB#oP%59[984">
                                                                     <field name="VAR" id="HiJUf;%uY7g7U~|s`KU!">objekt</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                          </xml>
                                          

                                          HomoranH Nicht stören
                                          HomoranH Nicht stören
                                          Homoran
                                          Global Moderator Administrators
                                          schrieb am zuletzt editiert von
                                          #49

                                          @mickym sagte in (Gelöst) Auslesen ioBroker Hosts Systeminformationen?:

                                          Hier mal wieder eine JSONATA Lösung,

                                          Der Knackpunkt ist aber diese Informationen, die du jetzt als Text vorgibst, dem System zu entlocken

                                          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                          mickymM 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          379

                                          Online

                                          32.5k

                                          Benutzer

                                          81.8k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe