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.
    • liv-in-sky
      liv-in-sky last edited by

      mal ne frage zwischendurch - 58000 states und 50000 objects - wo kommt der unterschied her ?

      die 8000 sates müßten doch datenleichen sein - oder nicht ?

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

        @liv-in-sky sagte in iob diag - Skript:

        oder nicht ?

        ich kenne da ein sehr gutes Skript ...

        Klick mich 🙂

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

          @glasfaser

          wow - cooles script 🙂

          aber wie sieht den z.b. dein vergleich aus

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

            @liv-in-sky

            Zahl der Objekte:       41902
            Zahl der Zustände:      39290
            

            EDIT:

            08191146-3f8e-4abe-8223-54b608fc8ae7-grafik.png

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

              @glasfaser mehr objekte als states versteh ich noch - aber mehr states als objekte (wie bei mir) hört sich falsch an - aber evtl sollten wir das nicht hier machen

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

                NOTIZ an mich selbst:

                Zusammenfassung und ggf. Problemlösungshinweise am Ende des Skripts hinzufügen.

                Jey Cee 1 Reply Last reply Reply Quote 0
                • Jey Cee
                  Jey Cee Developer @Thomas Braun last edited by

                  @thomas-braun sagte in iob diag - Skript:

                  Problemlösungshinweise am Ende des Skripts hinzufügen.

                  Vielleicht besser ein Link? Die Ausgabe ist ohnehin schon sehr lang.
                  Das Dokument kann man ja in der Allgemeinen Doku ablegen, dann ist es beisammen.

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

                    @jey-cee sagte in iob diag - Skript:

                    Die Ausgabe ist ohnehin schon sehr lang.

                    Ja, Zusammenfassung und Links zu Lösungsansätzen.
                    Auf keinen Fall werde ich da im Skript versuchen Dinge 'auf Tastendruck' zu korrigieren. Das geht zu oft schief.

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @Thomas Braun last edited by

                      @thomas-braun

                      Klasse Script! 👍 , sollte hier im Forum in die Support-Formulare eingebaut werden, damit man nicht jedesmal nachfragen muss..

                      Als Icon wuerd ich ne Glaskugel empfehlen 🙂

                      Hier mal meine Ausgabe vom Prime (Multihost):

                      *** BASISSYSTEM ***
                      CPU-Architektur: x86_64
                      Docker: Nein
                      LXC: lxc
                      Distributor ID: Debian
                      Description:    Debian GNU/Linux 10 (buster)
                      Release:        10
                      Codename:       buster
                      
                      Systemuptime und Load:
                       12:45:30 up 18:48,  2 users,  load average: 6.89, 6.25, 6.05
                      CPU threads: 4
                      
                      *** Zeit und Zeitzonen ***
                      Fri Nov  4 11:45:30 UTC 2022
                      Fri Nov  4 12:45:30 CET 2022
                      CET +0100
                      Europe/Berlin
                      
                      *** User und Gruppen ***
                      ilovegym
                      /opt/iobroker
                      ilovegym iobroker
                      
                      *** X-Server-Setup ***
                      X-Server: Nein
                      Desktop:
                      Konsole: tty
                      
                      *** ARBEITSSPEICHER ***
                                    total        used        free      shared  buff/cache   available
                      Mem:          8.0Gi       4.7Gi       2.2Gi        24Mi       1.0Gi       3.2Gi
                      Swap:         2.0Gi       3.0Mi       2.0Gi
                      Total:          9Gi       4.7Gi       4.2Gi
                      
                      *** DATEISYSTEM ***
                      Filesystem                       Type   Size  Used Avail Use% Mounted on
                      /dev/mapper/pve-vm--113--disk--0 ext4    59G   18G   38G  33% /
                      none                             tmpfs  492K  4.0K  488K   1% /dev
                      tmpfs                            tmpfs   63G     0   63G   0% /dev/shm
                      tmpfs                            tmpfs   63G   25M   63G   1% /run
                      tmpfs                            tmpfs  5.0M     0  5.0M   0% /run/lock
                      //10.10.2.2/daten                cifs    11T  6.2T  4.4T  59% /mnt/daten
                      //10.10.2.2/photo                cifs    11T  6.2T  4.4T  59% /mnt/photo
                      tmpfs                            tmpfs   13G     0   13G   0% /run/user/1000
                      
                      Daten in neuralgischen Verzeichnissen:
                      
                      /var:
                      4.6G    /var/
                      2.5G    /var/log
                      1.9G    /var/lib
                      1.7G    /var/lib/redis
                      186M    /var/cache
                      
                      /opt/iobroker/backups:
                      36M     /opt/iobroker/backups/
                      
                      /opt/iobroker/iobroker-data:
                      77M     /opt/iobroker/iobroker-data/
                      16M     /opt/iobroker/iobroker-data/files
                      12M     /opt/iobroker/iobroker-data/files/vis.0
                      5.4M    /opt/iobroker/iobroker-data/files/vis.0/MD_Demo
                      2.8M    /opt/iobroker/iobroker-data/files/info.admin
                      
                      Die 5 größten Dateien in iobroker-data:
                       35M objects.json
                       24M states.json
                      1.9M objects.json.bak
                      312K states.json.bak
                      8.0K iobroker.json
                      
                      *** Nodejs-Installation ***
                      /usr/bin/nodejs         v16.18.0
                      /usr/bin/node           v16.18.0
                      /usr/bin/npm            8.19.2
                      
                      nodejs:
                        Installed: 16.18.0-deb-1nodesource1
                        Candidate: 16.18.0-deb-1nodesource1
                        Version table:
                       *** 16.18.0-deb-1nodesource1 500
                              500 https://deb.nodesource.com/node_16.x buster/main amd64 Packages
                              100 /var/lib/dpkg/status
                           10.24.0~dfsg-1~deb10u2 500
                              500 http://security.debian.org buster/updates/main amd64 Packages
                           10.24.0~dfsg-1~deb10u1 500
                              500 http://ftp.debian.org/debian buster/main amd64 Packages
                      
                      *** ioBroker-Installation ***
                      
                      Versionsnummern der Kern-Adapter
                      js-controller:  4.0.23
                      Admin-Adapter:  6.2.23
                      
                      ioBroker-Repos und Updates
                      Stable (default): http://download.iobroker.net/sources-dist.json
                      Beta (latest) : http://download.iobroker.net/sources-dist-latest.json
                      Live-Beta     : http://iobroker.live/repo/sources-dist-latest.json
                      Live-Stable   : http://iobroker.live/repo/sources-dist.json
                      
                      Active repo(s): Beta (latest)
                      
                      Used repository: Beta (latest)
                      Adapter    "mihome-vacuum": 3.8.3    , installed 3.6.0  [Updatable]
                      
                      Objekte und Zustände
                      werden ermittelt - Dies kann einen Moment dauern.
                      Objekte:        91808
                      Zustände:       79782
                      
                      *** Repositories und OS-Updates ***
                      Hit:1 http://security.debian.org buster/updates InRelease
                      Hit:2 http://ftp.debian.org/debian buster InRelease
                      Hit:3 http://ftp.debian.org/debian buster-updates InRelease
                      Hit:4 https://deb.nodesource.com/node_16.x buster InRelease
                      Hit:5 https://packagecloud.io/ookla/speedtest-cli/debian buster InRelease
                      Reading package lists... Done
                      Ausstehende Updates: 4
                      
                      *** Lauschende Ports ***
                      Active Internet connections (only servers)
                      Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode      PID/Program name
                      tcp        0      0 127.0.0.1:5037          0.0.0.0:*               LISTEN      0          66149      311/adb
                      tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          56203      370/master
                      tcp        0      0 0.0.0.0:43655           0.0.0.0:*               LISTEN      1001       145925     2711/io.yahka.0
                      tcp        0      0 127.0.0.1:34983         0.0.0.0:*               LISTEN      1001       4977871    2711/io.yahka.0
                      tcp        0      0 0.0.0.0:1886            0.0.0.0:*               LISTEN      1001       88475      519/io.mqtt.0
                      tcp        0      0 0.0.0.0:1884            0.0.0.0:*               LISTEN      1001       95796      710/io.mqtt.1
                      tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      1001       10431477   840584/io.sonoff.0
                      tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          65657      1/init
                      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          65887      169/sshd
                      tcp        0      0 0.0.0.0:6010            0.0.0.0:*               LISTEN      1000       176368     5598/sshd: ilovegym
                      tcp        0      0 0.0.0.0:8188            0.0.0.0:*               LISTEN      1000       10867840   877640/nc
                      tcp        0      0 0.0.0.0:6379            0.0.0.0:*               LISTEN      107        43469      224/redis-server 0.
                      tcp6       0      0 :::8880                 :::*                    LISTEN      1001       147934     2727/io.rest-api.0
                      tcp6       0      0 :::111                  :::*                    LISTEN      0          52997      1/init
                      tcp6       0      0 :::81                   :::*                    LISTEN      1001       10045770   803237/io.web.0
                      tcp6       0      0 :::22                   :::*                    LISTEN      0          65889      169/sshd
                      tcp6       0      0 :::6010                 :::*                    LISTEN      1000       176369     5598/sshd: ilovegym
                      tcp6       0      0 :::8087                 :::*                    LISTEN      1001       94828      779/io.simple-api.0
                      tcp6       0      0 :::8081                 :::*                    LISTEN      1001       91541      396/io.admin.0
                      udp        0      0 0.0.0.0:53030           0.0.0.0:*                           1001       133613     3133/io.snmp.0
                      udp        0      0 0.0.0.0:53421           0.0.0.0:*                           1001       88616      617/io.mihome-vacuu
                      udp        0      0 0.0.0.0:53422           0.0.0.0:*                           1001       94542      605/io.mihome-vacuu
                      udp        0      0 0.0.0.0:53423           0.0.0.0:*                           1001       91385      562/io.mihome-vacuu
                      udp        0      0 0.0.0.0:53424           0.0.0.0:*                           1001       95339      501/io.mihome-vacuu
                      udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          52994      1/init
                      udp        0      0 192.168.3.41:123        0.0.0.0:*                           0          55952      171/ntpd
                      udp        0      0 127.0.0.1:123           0.0.0.0:*                           0          55950      171/ntpd
                      udp        0      0 0.0.0.0:123             0.0.0.0:*                           0          55946      171/ntpd
                      udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       145922     2711/io.yahka.0
                      udp6       0      0 :::111                  :::*                                0          53000      1/init
                      udp6       0      0 :::123                  :::*                                0          55943      171/ntpd
                      
                      

                      haette noch Client-Raspi4 und 3x LXC Client verteilt auf andere Nodes anzubieten.. ? 🙂

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

                        @ilovegym sagte in iob diag - Skript:

                        haette noch Client-Raspi4 und 3x LXC Client verteilt auf andere Nodes anzubieten.. ?

                        Kannst ja mal überall laufen lassen. Ausgaben aber nur noch wenn da was 'krummes' oder 'unerwartetes' oder 'falsches' zurückgegeben wird.
                        So Unschönheiten wie die Fehlermeldung bei @Homoran z. B.

                        1 Reply Last reply Reply Quote 0
                        • Feuersturm
                          Feuersturm last edited by

                          @Thomas-Braun Danke für das Skript.

                          Beeinflusst du die Farbe in der Ausgabe auf der Konsole mit deinem Skript oder ist das eher ein Thema was man lokal in putty anpassen muss. Das dunkel Blau ist sehr schlecht lesbar.

                          2114906b-965b-4060-9644-1bfa2889210f-grafik.png

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

                            @feuersturm sagte in iob diag - Skript:

                            Beeinflusst du die Farbe in der Ausgabe auf der Konsole mit deinem Skript

                            Das ist so im Skript.
                            Wollte die 'Hausfarben' vom ioBroker einfangen...
                            War mir aber auch schon aufgefallen, dass der Kontrast da etwas zu gering ist.
                            Stell ich bei Gelegenheit mal auf was anderes um.

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

                              Soll ich mal solche eine Zusammenfassung ans Ende schreiben?

                              Bitte die Zusammenfassung zum Forenposting hinzufügen:
                              
                              KOPIER MICH:
                              
                              
                              =============== ÜBERSICHT ======================
                              
                              Betriebssystem: Debian 11 'Bullseye'
                              Virt          : Docker // Nativ // LXC
                              Zeitzone      : Europe/Berlin
                              root shell    : aktiv
                              X-Server      : aktiv
                              RAM verfügbar : 65%
                              SWAP-Nutzung  : 0%
                              
                              nodeJS        : /usr/bin/nodejs         v19.0.1
                                              /usr/bin/node           v19.0.1
                                              /usr/bin/npm            8.19.2
                              
                              ioBroker core : js-controller           4.0.23
                                              Admin-Adapter           6.2.23
                              Active repo(s): beta
                              Objekte:        8463
                              Zustände:       6610
                              Datenbanken   : objects.jsonl  34M
                                              states.jsonl   6.8M
                              
                              
                              ^^ Bis hier kopieren, Danke! ^^
                              
                              
                              
                              ? 1 Reply Last reply Reply Quote 1
                              • ?
                                A Former User @Thomas Braun last edited by

                                @thomas-braun

                                Vielleicht ne gute Idee!!

                                Thomas Braun 2 Replies Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Guest last edited by

                                  @ilovegym

                                  Bin dran...
                                  Hab noch etwas Feintuning mit den Farben gemacht.

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

                                    @ilovegym

                                    Zusammenfassung steht soweit.
                                    Ich muss da aber bei Gelegenheit noch etwas mehr Variablen einfügen.

                                    @all
                                    Bitte mal anschauen, insbesondere die Verwender von Docker, Containern und ähnlichem.

                                    Negalein 1 Reply Last reply Reply Quote 0
                                    • Negalein
                                      Negalein Global Moderator @Thomas Braun last edited by

                                      @thomas-braun sagte in iob diag - Skript:

                                      Bitte mal anschauen, insbesondere die Verwender von Docker, Containern und ähnlichem.

                                      Bin gerade auf deinen Thread gestoßen.

                                      Habs gleich ausprobiert (Proxmox LXC)

                                      =================== ZUSAMMENFASSUNG ====================
                                      
                                      
                                      Betriebssystem:         Ubuntu 20.04.4 LTS
                                      Installation:           lxc
                                      Zeitzone:               Europe/Vienna
                                      User-ID:                1001
                                      X-Server:               deaktiv
                                      Nodejs-Installation:    /usr/bin/nodejs         v16.15.1
                                                              /usr/bin/node           v16.15.1
                                                              /usr/bin/npm            8.11.0
                                      ioBroker Core:          js-controller           4.0.23
                                                                              admin:  6.2.23
                                      Active repo(s): Beta (latest)
                                      Objekte:                43860
                                      Zustände:               40289
                                      
                                      Größe der iob-Datenbanken:
                                      
                                       12K backup-objects
                                       29M objects.json.bak.migrated
                                         0 objects.json.broken
                                       29M objects.json.migrated
                                       62M objects.jsonl
                                      4.0K objects.jsonl.lock
                                      9.4M states.json.bak.migrated
                                         0 states.json.broken
                                      9.4M states.json.migrated
                                       74M states.jsonl
                                      4.0K states.jsonl.lock
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Negalein last edited by

                                        @negalein

                                        Dankeschön!
                                        Da fällt mir noch auf, ich wollte die ausstehenden Updates sowohl des ioBrokers wie auch des Systems noch in der Zusammenfassung haben.

                                        Vermutlich wäre da bei dir auch schon etwas aufgelaufen... System aktuell halten!

                                        Negalein liv-in-sky 2 Replies Last reply Reply Quote 1
                                        • Negalein
                                          Negalein Global Moderator @Thomas Braun last edited by

                                          @thomas-braun sagte in iob diag - Skript:

                                          Vermutlich wäre da bei dir auch schon etwas aufgelaufen... System aktuell halten!

                                          Ja, definitiv!
                                          Ich schiebs immer raus! 😉

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

                                            @thomas-braun

                                            nur so morgendliche ideen:

                                            • ich weiß nicht, ob folgender befehl auf allen system funktioniert
                                            printf "\033c"
                                            

                                            aber damit kann ich - anstatt des clear bevor der zusammenfassung - wieder ganz zurückscrollen in putty

                                            dann müßte man nicht "enter" drücken vor der zusammenfassung und hat trotzdem eine neue seite

                                            • evtl eine warnung in der zusammenfassung, wenn der root-plattenplatz über 90 % ist ?
                                            E 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

                                            923
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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