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.
    • 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
        • JackDaniel
          JackDaniel last edited by JackDaniel

          spitzen idee, läuft 🙂

          *** BASISSYSTEM ***
          CPU-Architektur: x86_64
          Docker: Nein
          LXC: none
          Distributor ID: Debian
          Description:    Debian GNU/Linux 11 (bullseye)
          Release:        11
          Codename:       bullseye
          
          PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
          NAME="Debian GNU/Linux"
          VERSION_ID="11"
          VERSION="11 (bullseye)"
          VERSION_CODENAME=bullseye
          ID=debian
          HOME_URL="https://www.debian.org/"
          SUPPORT_URL="https://www.debian.org/support"
          BUG_REPORT_URL="https://bugs.debian.org/"
          
          Systemuptime und Load:
           06:52:52 up 15 days, 23:29,  1 user,  load average: 1,08, 1,40, 1,45
          CPU threads: 4
          
          *** Zeit und Zeitzonen ***
          So 06 Nov 2022 05:52:52 UTC
          So 06 Nov 2022 06:52:52 CET
          CET +0100
          Europe/Vienna
          
          *** User und Gruppen ***
          jackdaniel
          /home/jackdaniel
          jackdaniel cdrom floppy sudo audio dip video plugdev netdev iobroker ftpuser
          
          *** X-Server-Setup ***
          X-Server: Nein
          Desktop:
          Konsole: tty
          
          *** ARBEITSSPEICHER ***
                        gesamt       benutzt     frei      gemns.  Puffer/Cache verfügbar
          Speicher:        15G        4,8G        6,3G        1,0M        4,8G         11G
          Swap:           976M        694M        282M
          Gesamt:          16G        5,5G        6,6G
          
                  15897 M Gesamtspeicher
                   4808 M benutzter Speicher
                   5677 M aktiver Speicher
                   3293 M inaktiver Speicher
                   6327 M freier Speicher
                    937 M Pufferspeicher
                   3823 M Auslagerungsspeicher-Cache
                    976 M Gesamt-Auslagerungsspeicher
                    694 M benutzter Auslagerungsspeicher
                    282 M freier Auslagerungsspeicher
          
          *** DATEISYSTEM ***
          Dateisystem             Typ      Größe Benutzt Verf. Verw% Eingehängt auf
          udev                    devtmpfs  7,8G       0  7,8G    0% /dev
          tmpfs                   tmpfs     1,6G    932K  1,6G    1% /run
          /dev/sda2               ext4      227G     16G  200G    8% /
          tmpfs                   tmpfs     7,8G     20K  7,8G    1% /dev/shm
          tmpfs                   tmpfs     5,0M       0  5,0M    0% /run/lock
          /dev/sda1               vfat      511M    8,7M  503M    2% /boot/efi
          192.168.1.18:/media/hdd nfs4      894G    689G  206G   78% /mnt/DM900
          tmpfs                   tmpfs     1,6G       0  1,6G    0% /run/user/1000
          
          Daten in neuralgischen Verzeichnissen:
          
          /var:
          7,1G    /var/
          4,6G    /var/log
          4,1G    /var/log/journal/f5e55b59a0a541aabd064976f508cdc9
          4,1G    /var/log/journal
          1,6G    /var/lib
          
          /opt/iobroker/backups:
          510M    /opt/iobroker/backups/
          
          /opt/iobroker/iobroker-data:
          786M    /opt/iobroker/iobroker-data/
          343M    /opt/iobroker/iobroker-data/files
          240M    /opt/iobroker/iobroker-data/backup-objects
          51M     /opt/iobroker/iobroker-data/files/javascript.admin
          42M     /opt/iobroker/iobroker-data/files/devices.admin
          
          Die 5 größten Dateien in iobroker-data:
           79M states.jsonl
           42M objects.jsonl
           22M objects.json.migrated
           22M objects.json.bak.migrated
          6,7M states.json.migrated
          
          *** Nodejs-Installation ***
          /usr/bin/nodejs         v16.18.1
          /usr/bin/node           v16.18.1
          /usr/bin/npm            8.19.2
          
          nodejs:
            Installiert:           16.18.1-deb-1nodesource1
            Installationskandidat: 16.18.1-deb-1nodesource1
            Versionstabelle:
           *** 16.18.1-deb-1nodesource1 500
                  500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages
                  100 /var/lib/dpkg/status
               12.22.12~dfsg-1~deb11u1 500
                  500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
               12.22.5~dfsg-2~11u1 500
                  500 http://deb.debian.org/debian bullseye/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
          
          Active repo(s): Beta (latest)
          
          Used repository: Beta (latest)
          
          Objekte und Zustände
          werden ermittelt - Dies kann einen Moment dauern.
          Objekte:        27000
          Zustände:       37460
          
          *** Repositories und OS-Updates ***
          OK:1 http://security.debian.org/debian-security bullseye-security InRelease
          OK:2 http://deb.debian.org/debian bullseye InRelease
          OK:3 https://downloads.plex.tv/repo/deb public InRelease
          OK:4 http://deb.debian.org/debian bullseye-updates InRelease
          OK:5 https://deb.nodesource.com/node_16.x bullseye InRelease
          OK:6 https://repos.influxdata.com/debian bullseye InRelease
          Paketlisten werden gelesen… Fertig
          Ausstehende Updates:
          
          *** Lauschende Ports ***
          Aktive Internetverbindungen (Nur Server)
          Proto Recv-Q Send-Q Local Address           Foreign Address         State       Benutzer   Inode      PID/Program name
          tcp        0      0 127.0.0.1:38239         0.0.0.0:*               LISTEN      997        65001875   547519/Plex Plug-in
          tcp        0      0 127.0.0.1:7999          0.0.0.0:*               LISTEN      0          18820      600/motion
          tcp        0      0 127.0.0.1:36193         0.0.0.0:*               LISTEN      997        65000012   547431/Plex Plug-in
          tcp        0      0 127.0.0.1:36097         0.0.0.0:*               LISTEN      997        64997983   547344/Plex Plug-in
          tcp        0      0 192.168.1.72:9092       0.0.0.0:*               LISTEN      1001       28108      2293/io.nuki.0
          tcp        0      0 192.168.1.72:9093       0.0.0.0:*               LISTEN      1001       30303      2310/io.nuki.1
          tcp        0      0 127.0.0.1:3493          0.0.0.0:*               LISTEN      0          18887      749/upsd
          tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       18230      592/iobroker.js-con
          tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       18825      592/iobroker.js-con
          tcp        0      0 127.0.0.1:34253         0.0.0.0:*               LISTEN      997        65005691   547763/Plex Plug-in
          tcp        0      0 127.0.0.1:38189         0.0.0.0:*               LISTEN      997        65003353   547594/Plex Plug-in
          tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          11424      1/init
          tcp        0      0 0.0.0.0:32400           0.0.0.0:*               LISTEN      997        65001626   547317/Plex Media S
          tcp        0      0 192.168.1.72:80         0.0.0.0:*               LISTEN      0          15087      810/AdGuardHome
          tcp        0      0 127.0.0.1:46545         0.0.0.0:*               LISTEN      997        65004449   547718/Plex Plug-in
          tcp        0      0 127.0.0.1:32401         0.0.0.0:*               LISTEN      997        65001628   547317/Plex Media S
          tcp        0      0 0.0.0.0:8081            0.0.0.0:*               LISTEN      0          18819      600/motion
          tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      108        151401879  1068262/proftpd: (a
          tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          18689      507/sshd: /usr/sbin
          tcp        0      0 192.168.1.72:8087       0.0.0.0:*               LISTEN      1001       30937      2418/io.simple-api.
          tcp        0      0 127.0.0.1:32600         0.0.0.0:*               LISTEN      997        65000938   547402/Plex Tuner S
          tcp        0      0 127.0.0.1:8088          0.0.0.0:*               LISTEN      998        14970      484/influxd
          tcp        0      0 192.168.1.72:2010       0.0.0.0:*               LISTEN      1001       143896286  1030733/io.hm-rpc.0
          tcp        0      0 192.168.1.72:8701       0.0.0.0:*               LISTEN      1001       143902925  1030748/io.hm-rpc.1
          tcp        0      0 0.0.0.0:8765            0.0.0.0:*               LISTEN      0          18836      467/python2
          tcp6       0      0 ::1:3493                :::*                    LISTEN      0          18888      749/upsd
          tcp6       0      0 :::61991                :::*                    LISTEN      1001       153040913  1076574/io.harmony.
          tcp6       0      0 :::111                  :::*                    LISTEN      0          10615      1/init
          tcp6       0      0 :::8082                 :::*                    LISTEN      1001       32098      2480/io.web.0
          tcp6       0      0 :::53                   :::*                    LISTEN      0          18976      810/AdGuardHome
          tcp6       0      0 :::8086                 :::*                    LISTEN      998        12078      484/influxd
          tcp6       0      0 :::22                   :::*                    LISTEN      0          18151      507/sshd: /usr/sbin
          tcp6       0      0 :::8089                 :::*                    LISTEN      1001       15066      741/io.admin.0
          udp        0      0 192.168.1.72:41541      0.0.0.0:*                           997        65000937   547317/Plex Media S
          udp        0      0 127.0.0.1:33856         0.0.0.0:*                           997        65000934   547317/Plex Media S
          udp        0      0 127.0.0.1:34322         0.0.0.0:*                           997        65000932   547317/Plex Media S
          udp        0      0 0.0.0.0:1901            0.0.0.0:*                           997        65000936   547317/Plex Media S
          udp        0      0 192.168.1.72:51260      0.0.0.0:*                           997        65000933   547317/Plex Media S
          udp        0      0 0.0.0.0:53421           0.0.0.0:*                           1001       144163542  1031886/io.mihome-v
          udp        0      0 0.0.0.0:61991           0.0.0.0:*                           1001       153040915  1076574/io.harmony.
          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           1001       144130552  1031700/io.chromeca
          udp        0      0 0.0.0.0:5683            0.0.0.0:*                           1001       20494294   188375/io.shelly.0
          udp        0      0 192.168.1.72:46919      0.0.0.0:*                           997        65000935   547317/Plex Media S
          udp        0      0 0.0.0.0:55211           0.0.0.0:*                           1001       34790      2622/io.miio.0
          udp        0      0 0.0.0.0:32410           0.0.0.0:*                           997        65000929   547317/Plex Media S
          udp        0      0 0.0.0.0:32412           0.0.0.0:*                           997        65000930   547317/Plex Media S
          udp        0      0 0.0.0.0:32413           0.0.0.0:*                           997        65000931   547317/Plex Media S
          udp        0      0 0.0.0.0:32414           0.0.0.0:*                           997        65000928   547317/Plex Media S
          udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          14855      393/dhclient
          udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          11425      1/init
          udp6       0      0 :::53                   :::*                                0          18975      810/AdGuardHome
          udp6       0      0 :::111                  :::*                                0          10618      1/init
          
          
          =================== ZUSAMMENFASSUNG ====================
          
          
          Betriebssystem:         Debian GNU/Linux 11 (bullseye)
          Installation:           Nativ
          Zeitzone:               Europe/Vienna
          User-ID:                1000
          X-Server:               deaktiv
          Nodejs-Installation:    /usr/bin/nodejs         v16.18.1
                                  /usr/bin/node           v16.18.1
                                  /usr/bin/npm            8.19.2
          ioBroker Core:          js-controller           4.0.23
                                                  admin:  6.2.23
          Active repo(s): Beta (latest)
          Objekte:                27000
          Zustände:               37460
          
          Größe der iob-Datenbanken:
          
           12K backup-objects
           22M objects.json.bak.migrated
           43M objects.jsonl
          4,0K objects.jsonl.lock
           22M objects.json.migrated
          6,7M states.json.bak.migrated
           82M states.jsonl
          4,0K states.jsonl.lock
          6,7M states.json.migrated
          
          1 Reply Last reply Reply Quote 0
          • E
            emil70 @liv-in-sky last edited by emil70

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

            printf "\033c"

            Moin, Auf docker funktioniert es.
            Frage mich nur, wie man sich dann den ersten Teil ansehen will. Hochscrollen geht da nicht

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Nashra
              Nashra Most Active Forum Testing last edited by

              Moin, aktuelles Skript, Proxmox lxc

              *** BASISSYSTEM ***
              CPU-Architektur: x86_64
              Docker: Nein
              LXC: lxc
              Distributor ID: Debian
              Description:    Debian GNU/Linux 10 (buster)
              Release:        10
              Codename:       buster
              
              PRETTY_NAME="Debian GNU/Linux 10 (buster)"
              NAME="Debian GNU/Linux"
              VERSION_ID="10"
              VERSION="10 (buster)"
              VERSION_CODENAME=buster
              ID=debian
              HOME_URL="https://www.debian.org/"
              SUPPORT_URL="https://www.debian.org/support"
              BUG_REPORT_URL="https://bugs.debian.org/"
              
              Systemuptime und Load:
               08:21:41 up 23:21,  1 user,  load average: 1.68, 1.37, 1.48
              CPU threads: 4
              
              *** Zeit und Zeitzonen ***
              Sun Nov  6 07:21:41 UTC 2022
              Sun Nov  6 08:21:41 CET 2022
              CET +0100
              Europe/Berlin
              
              *** User und Gruppen ***
              jack
              /home/jack
              jack sudo iobroker
              
              *** X-Server-Setup ***
              X-Server: Nein
              Desktop: 
              Konsole: 
              
              *** ARBEITSSPEICHER ***
                            total        used        free      shared  buff/cache   available
              Mem:            10G        3.8G        5.3G        8.0M        1.0G        6.3G
              Swap:            0B          0B          0B
              Total:          10G        3.8G        5.3G
              
                      10112 M total memory
                       3808 M used memory
                        310 M active memory
                       4253 M inactive memory
                       5297 M free memory
                          0 M buffer memory
                       1005 M swap cache
                          0 M total swap
                          0 M used swap
                          0 M free swap
              
              *** DATEISYSTEM ***
              Filesystem                       Type      Size  Used Avail Use% Mounted on
              /dev/mapper/pve-vm--100--disk--1 ext4       21G  7.9G   12G  41% /
              none                             tmpfs     492K  4.0K  488K   1% /dev
              udev                             devtmpfs  7.8G     0  7.8G   0% /dev/tty
              tmpfs                            tmpfs     7.8G     0  7.8G   0% /dev/shm
              tmpfs                            tmpfs     7.8G  8.1M  7.8G   1% /run
              tmpfs                            tmpfs     5.0M     0  5.0M   0% /run/lock
              
              Daten in neuralgischen Verzeichnissen:
              
              /var:
              404M    /var/
              222M    /var/cache
              218M    /var/cache/apt
              178M    /var/lib
              157M    /var/cache/apt/archives
              
              /opt/iobroker/backups:
              1.1G    /opt/iobroker/backups/
              3.1M    /opt/iobroker/backups/scripte
              844K    /opt/iobroker/backups/scripte/Allerlei
              472K    /opt/iobroker/backups/scripte/Wetter
              440K    /opt/iobroker/backups/scripte/global
              
              /opt/iobroker/iobroker-data:
              1.7G    /opt/iobroker/iobroker-data/
              630M    /opt/iobroker/iobroker-data/files
              623M    /opt/iobroker/iobroker-data/backup-objects
              206M    /opt/iobroker/iobroker-data/files/vis.0
              90M     /opt/iobroker/iobroker-data/history
              
              Die 5 größten Dateien in iobroker-data:
              145M states.jsonl
               66M objects.jsonl
               28M objects.json.migrated
               28M objects.json.bak.migrated
               17M states.json.migrated
              
              *** 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.1-deb-1nodesource1
                Version table:
                   16.18.1-deb-1nodesource1 500
                      500 https://deb.nodesource.com/node_16.x buster/main amd64 Packages
               *** 16.18.0-deb-1nodesource1 100
                      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
              stable-live   : http://iobroker.live/repo/sources-dist.json
              latest-live   : http://iobroker.live/repo/sources-dist-latest.json
              
              Active repo(s): Stable (default)
              
              Used repository: Stable (default)
              
              Objekte und Zustände
              werden ermittelt - Dies kann einen Moment dauern.
              Objekte:        39924
              Zustände:       37014
              
              *** Repositories und OS-Updates ***
              Hit:1 http://security.debian.org buster/updates InRelease
              Hit:2 http://ftp.debian.org/debian buster InRelease                                                                     
              Hit:3 https://deb.nodesource.com/node_16.x buster InRelease                                                             
              Hit:4 http://ftp.debian.org/debian buster-updates InRelease                                                             
              Hit:5 https://packagecloud.io/ookla/speedtest-cli/debian buster InRelease
              Reading package lists... Done
              Ausstehende Updates: 1
              
              *** 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:25            0.0.0.0:*               LISTEN      0          47286      315/master          
              tcp        0      0 0.0.0.0:9999            0.0.0.0:*               LISTEN      1000       13031318   1000692/nc          
              tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          46775      165/sshd            
              tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          41781      1/init              
              tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN      1001       46975      131/iobroker.js-con 
              tcp        0      0 0.0.0.0:9000            0.0.0.0:*               LISTEN      1001       47529      131/iobroker.js-con 
              tcp6       0      0 :::8093                 :::*                    LISTEN      1001       80925      3151/io.rest-api.0  
              tcp6       0      0 :::8081                 :::*                    LISTEN      1001       49243      330/io.admin.0      
              tcp6       0      0 :::8082                 :::*                    LISTEN      1001       69651      2247/io.web.0       
              tcp6       0      0 :::8084                 :::*                    LISTEN      1001       64451      1833/io.socketio.0  
              tcp6       0      0 :::8087                 :::*                    LISTEN      1001       63384      1747/io.simple-api. 
              tcp6       0      0 :::3030                 :::*                    LISTEN      1001       72270      2352/io.radar-trap. 
              tcp6       0      0 :::22                   :::*                    LISTEN      0          46777      165/sshd            
              tcp6       0      0 :::111                  :::*                    LISTEN      0          41783      1/init              
              tcp6       0      0 ::1:25                  :::*                    LISTEN      0          47287      315/master          
              udp        0      0 0.0.0.0:5683            0.0.0.0:*                           1001       53971      975/io.shelly.0     
              udp        0      0 0.0.0.0:6666            0.0.0.0:*                           1001       2742988    226480/io.tuya.0    
              udp        0      0 0.0.0.0:6667            0.0.0.0:*                           1001       2742989    226480/io.tuya.0    
              udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          41782      1/init              
              udp        0      0 0.0.0.0:57624           0.0.0.0:*                           1001       66125      1878/io.upnp.0      
              udp        0      0 0.0.0.0:1900            0.0.0.0:*                           1001       69164      1878/io.upnp.0      
              udp        0      0 192.168.1.14:5353       0.0.0.0:*                           1001       53167      990/io.tr-064.0     
              udp6       0      0 :::111                  :::*                                0          41784      1/init              
              
              
              =================== ZUSAMMENFASSUNG ====================
              
              
              Betriebssystem:         Debian GNU/Linux 10 (buster)
              Installation:           lxc
              Zeitzone:               Europe/Berlin
              User-ID:                1000
              X-Server:               deaktiv
              Nodejs-Installation:    /usr/bin/nodejs         v16.18.0
                                      /usr/bin/node           v16.18.0
                                      /usr/bin/npm            8.19.2
              ioBroker Core:          js-controller           4.0.23
                                                      admin:  6.2.23
              Active repo(s): Stable (default)
              Objekte:                39924
              Zustände:               37014
              
              Größe der iob-Datenbanken:
              
               12K backup-objects
               28M objects.json.bak.migrated
                 0 objects.json.broken
               28M objects.json.migrated
               66M objects.jsonl
              4.0K objects.jsonl.lock
               17M states.json.bak.migrated
                 0 states.json.broken
               17M states.json.migrated
              148M states.jsonl
              4.0K states.jsonl.lock
              
              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @emil70 last edited by

                @emil70 sagte in iob diag - Skript:

                Frage mich nur, wie man sich dann den ersten Teil ansehen will. Hochscrollen geht da nicht

                Bevor man auf die Zusammenfassung geht kann man scrollen.

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

                  @thomas-braun sagte in iob diag - Skript:

                  @emil70 sagte in iob diag - Skript:

                  Frage mich nur, wie man sich dann den ersten Teil ansehen will. Hochscrollen geht da nicht

                  Bevor man auf die Zusammenfassung geht kann man scrollen.

                  Das ist mir klar.

                  Hatte im script

                  printf "\033c"
                  

                  mit eingebaut und

                  read -p "Zur Zusammenfassung drücke die Enter-Taste";
                  

                  deaktiviert

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

                    @emil70
                    Ah, Missverständnis bei mir.

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

                      @thomas-braun

                      Die Fehlermeldung

                      ./iob_diag: line 47: systemd-detect-virt: command not found
                      LXC: 
                      ./iob_diag: line 48: systemd-detect-virt: command not found
                      

                      Habe ich jetzt 2 x unter docker durch

                      echo -e "LXC: `systemd-detect-virt`"
                      SYSTDDVIRT=$(systemd-detect-virt)
                      

                      da muss doch eine

                      if Abfrage auch geht

                      so vielleicht oder ähnlich

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

                        @emil70

                        Schau jetzt nochmal wie dein LXC erkannt wird.

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

                          @thomas-braun X-Server Info ist doch Windows, oder? Sollte es dann auch dort stehen?

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

                            @mcu sagte in iob diag - Skript:

                            X-Server Info ist doch Windows, oder? Sollte es dann auch dort stehen?

                            Nein, der X-Server ist die Server-Umgebung für eine graphische Oberfläche unter Linux.

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

                              Hilfreiches Script!
                              Bei der Zusammenfassung fehlen noch die Steuerzeichen für die Code-Tags.

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

                                @ostfrieseunterwegs

                                Sind jetzt drin.

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

                                  @thomas-braun

                                  Jetzt hab ich mal die komplette ausgabe hier.
                                  Was sagt das so vom System (abgesehen von den Updates)? Gut, schlecht?

                                  *** BASISSYSTEM ***
                                  CPU-Architektur: x86_64
                                  Docker: Nein
                                  LXC: lxc
                                  Distributor ID: Ubuntu
                                  Description:    Ubuntu 20.04.4 LTS
                                  Release:        20.04
                                  Codename:       focal
                                  
                                  NAME="Ubuntu"
                                  VERSION="20.04.4 LTS (Focal Fossa)"
                                  ID=ubuntu
                                  ID_LIKE=debian
                                  PRETTY_NAME="Ubuntu 20.04.4 LTS"
                                  VERSION_ID="20.04"
                                  HOME_URL="https://www.ubuntu.com/"
                                  SUPPORT_URL="https://help.ubuntu.com/"
                                  BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
                                  PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
                                  VERSION_CODENAME=focal
                                  UBUNTU_CODENAME=focal
                                  
                                  Systemuptime und Load:
                                   15:06:25 up 59 days,  3:24,  1 user,  load average: 2.02, 2.04, 1.94
                                  CPU threads: 4
                                  
                                  *** Zeit und Zeitzonen ***
                                  Sun Nov  6 14:06:25 UTC 2022
                                  Sun Nov  6 15:06:25 CET 2022
                                  CET +0100
                                  Europe/Vienna
                                  
                                  *** User und Gruppen ***
                                  nega
                                  /home/nega
                                  nega adm dialout sudo users iobroker
                                  
                                  *** X-Server-Setup ***
                                  X-Server: Nein
                                  Desktop:
                                  Konsole: tty
                                  
                                  *** ARBEITSSPEICHER ***
                                                total        used        free      shared  buff/cache   available
                                  Mem:           6.1G        4.8G        918M        0.0K        474M        1.4G
                                  Swap:          2.0G        1.7G        303M
                                  Total:         8.2G        6.5G        1.2G
                                  
                                           6144 M total memory
                                           4751 M used memory
                                           3807 M active memory
                                           1044 M inactive memory
                                            918 M free memory
                                              0 M buffer memory
                                            474 M swap cache
                                           2048 M total swap
                                           1744 M used swap
                                            303 M free swap
                                  
                                  *** DATEISYSTEM ***
                                  Filesystem                       Type      Size  Used Avail Use% Mounted on
                                  /dev/mapper/pve-vm--100--disk--0 ext4       20G   14G  5.1G  73% /
                                  10.0.1.21:/volume1/Backups       nfs4       14T  7.6T  6.5T  54% /opt/iobroker/backups
                                  none                             tmpfs     492K  4.0K  488K   1% /dev
                                  udev                             devtmpfs  7.8G     0  7.8G   0% /dev/tty
                                  tmpfs                            tmpfs     7.8G     0  7.8G   0% /dev/shm
                                  tmpfs                            tmpfs     1.6G  132K  1.6G   1% /run
                                  tmpfs                            tmpfs     5.0M     0  5.0M   0% /run/lock
                                  tmpfs                            tmpfs     1.6G     0  1.6G   0% /run/user/1001
                                  
                                  Daten in neuralgischen Verzeichnissen:
                                  
                                  /var:
                                  [sudo] password for nega:
                                  2.5G    /var/
                                  2.0G    /var/log/journal/b354c482f7cc342776f020ee5ea440c3
                                  2.0G    /var/log/journal
                                  2.0G    /var/log
                                  294M    /var/lib
                                  
                                  /opt/iobroker/backups:
                                  3.3G    /opt/iobroker/backups/
                                  
                                  /opt/iobroker/iobroker-data:
                                  4.0G    /opt/iobroker/iobroker-data/
                                  2.5G    /opt/iobroker/iobroker-data/history
                                  1014M   /opt/iobroker/iobroker-data/files
                                  341M    /opt/iobroker/iobroker-data/files/vis.0
                                  316M    /opt/iobroker/iobroker-data/backup-objects
                                  
                                  Die 5 größten Dateien in iobroker-data:
                                  126M states.jsonl
                                   43M objects.jsonl
                                   29M objects.json.migrated
                                   29M objects.json.bak.migrated
                                  9.4M states.json.migrated
                                  
                                  *** Nodejs-Installation ***
                                  /usr/bin/nodejs         v16.15.1
                                  /usr/bin/node           v16.15.1
                                  /usr/bin/npm            8.11.0
                                  
                                  nodejs:
                                    Installed: 16.15.1-deb-1nodesource1
                                    Candidate: 16.18.1-deb-1nodesource1
                                    Version table:
                                       16.18.1-deb-1nodesource1 500
                                          500 https://deb.nodesource.com/node_16.x focal/main amd64 Packages
                                   *** 16.15.1-deb-1nodesource1 100
                                          100 /var/lib/dpkg/status
                                       10.19.0~dfsg-3ubuntu1 500
                                          500 http://archive.ubuntu.com/ubuntu focal/universe 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
                                  
                                  Active repo(s): Beta (latest)
                                  
                                  Used repository: Beta (latest)
                                  Adapter    "vis-materialdesign": 0.5.9, installed 0.5.5 [Updatable]
                                  
                                  Objekte und Zustände
                                  werden ermittelt - Dies kann einen Moment dauern.
                                  Objekte:        44024
                                  Zustände:       40453
                                  
                                  *** Repositories und OS-Updates ***
                                  Hit:1 https://deb.nodesource.com/node_16.x focal InRelease
                                  Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease
                                  Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
                                  Hit:4 http://archive.ubuntu.com/ubuntu focal-security InRelease
                                  Hit:5 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
                                  Reading package lists... Done
                                  Ausstehende Updates: 160
                                  
                                  *** 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 0.0.0.0:22              0.0.0.0:*               LISTEN      0          33162      144/sshd: /usr/sbin
                                  tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      0          31745      1/init
                                  tcp        0      0 0.0.0.0:49541           0.0.0.0:*               LISTEN      1000       44973986   199443/wput
                                  tcp        0      0 0.0.0.0:33179           0.0.0.0:*               LISTEN      1000       44724275   198404/wput
                                  tcp        0      0 0.0.0.0:41371           0.0.0.0:*               LISTEN      1000       43004499   191228/wput
                                  tcp        0      0 0.0.0.0:33251           0.0.0.0:*               LISTEN      1000       44643010   198128/wput
                                  tcp        0      0 0.0.0.0:8701            0.0.0.0:*               LISTEN      1000       40089      770/io.hm-rpc.2
                                  tcp        0      0 0.0.0.0:57615           0.0.0.0:*               LISTEN      1000       43167669   192281/wput
                                  tcp        0      0 0.0.0.0:49771           0.0.0.0:*               LISTEN      1000       44518133   197607/wput
                                  tcp        0      0 0.0.0.0:50049           0.0.0.0:*               LISTEN      1000       44392437   197031/wput
                                  tcp        0      0 0.0.0.0:9000            0.0.0.0:*               LISTEN      1000       32287      120/iobroker.js-con
                                  tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN      1000       34067      120/iobroker.js-con
                                  tcp        0      0 0.0.0.0:34003           0.0.0.0:*               LISTEN      1000       43824216   194549/wput
                                  tcp        0      0 0.0.0.0:50219           0.0.0.0:*               LISTEN      1000       43682667   193926/wput
                                  tcp        0      0 0.0.0.0:50595           0.0.0.0:*               LISTEN      1000       44224282   196358/wput
                                  tcp        0      0 127.0.0.1:6010          0.0.0.0:*               LISTEN      1001       459018472  2020380/sshd: nega@
                                  tcp        0      0 0.0.0.0:34351           0.0.0.0:*               LISTEN      1000       44100092   195644/wput
                                  tcp        0      0 0.0.0.0:2001            0.0.0.0:*               LISTEN      1000       264468026  1162298/io.hm-rpc.1
                                  tcp        0      0 0.0.0.0:2010            0.0.0.0:*               LISTEN      1000       264468032  1162305/io.hm-rpc.0
                                  tcp        0      0 0.0.0.0:59225           0.0.0.0:*               LISTEN      1000       43961951   195082/wput
                                  tcp        0      0 127.0.0.1:39533         0.0.0.0:*               LISTEN      1000       75833      2444/chrome
                                  tcp        0      0 0.0.0.0:43455           0.0.0.0:*               LISTEN      1000       43006388   191447/wput
                                  tcp        0      0 0.0.0.0:35221           0.0.0.0:*               LISTEN      1000       43003855   191402/wput
                                  tcp        0      0 0.0.0.0:35075           0.0.0.0:*               LISTEN      1000       44974560   199032/wput
                                  tcp        0      0 0.0.0.0:51879           0.0.0.0:*               LISTEN      1000       44972794   199121/wput
                                  tcp        0      0 0.0.0.0:43891           0.0.0.0:*               LISTEN      1000       44271852   196521/wput
                                  tcp        0      0 0.0.0.0:60251           0.0.0.0:*               LISTEN      1000       44627799   198053/wput
                                  tcp        0      0 0.0.0.0:52405           0.0.0.0:*               LISTEN      1000       44054142   195482/wput
                                  tcp        0      0 10.0.1.202:8100         0.0.0.0:*               LISTEN      1000       51625      1182/io.doorbird.0
                                  tcp        0      0 0.0.0.0:44075           0.0.0.0:*               LISTEN      1000       43358491   192556/wput
                                  tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      106        31365      100/systemd-resolve
                                  tcp        0      0 0.0.0.0:52609           0.0.0.0:*               LISTEN      1000       44238554   196384/wput
                                  tcp        0      0 0.0.0.0:37085           0.0.0.0:*               LISTEN      1000       43005160   191286/wput
                                  tcp        0      0 0.0.0.0:45139           0.0.0.0:*               LISTEN      1000       44485383   197472/wput
                                  tcp        0      0 0.0.0.0:37335           0.0.0.0:*               LISTEN      1000       43106212   192002/wput
                                  tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          33238      296/master
                                  tcp        0      0 0.0.0.0:53881           0.0.0.0:*               LISTEN      1000       43093131   191976/wput
                                  tcp        0      0 0.0.0.0:46065           0.0.0.0:*               LISTEN      1000       45025654   199681/wput
                                  tcp        0      0 0.0.0.0:54035           0.0.0.0:*               LISTEN      1000       44970604   199166/wput
                                  tcp        0      0 0.0.0.0:54677           0.0.0.0:*               LISTEN      1000       43004848   191522/wput
                                  tcp        0      0 0.0.0.0:55605           0.0.0.0:*               LISTEN      1000       44348045   196856/wput
                                  tcp        0      0 0.0.0.0:55641           0.0.0.0:*               LISTEN      1000       44972791   199371/wput
                                  tcp        0      0 0.0.0.0:55973           0.0.0.0:*               LISTEN      1000       44365268   196933/wput
                                  tcp        0      0 0.0.0.0:39571           0.0.0.0:*               LISTEN      1000       43340786   192452/wput
                                  tcp        0      0 0.0.0.0:55901           0.0.0.0:*               LISTEN      1000       44975404   199328/wput
                                  tcp        0      0 0.0.0.0:39817           0.0.0.0:*               LISTEN      1000       43777455   194268/wput
                                  tcp        0      0 0.0.0.0:47885           0.0.0.0:*               LISTEN      1000       44286400   196625/wput
                                  tcp        0      0 0.0.0.0:47903           0.0.0.0:*               LISTEN      1000       44301836   196685/wput
                                  tcp        0      0 0.0.0.0:56143           0.0.0.0:*               LISTEN      1000       43005597   191328/wput
                                  tcp        0      0 0.0.0.0:40105           0.0.0.0:*               LISTEN      1000       43154688   192203/wput
                                  tcp        0      0 0.0.0.0:56613           0.0.0.0:*               LISTEN      1000       44207006   196223/wput
                                  tcp        0      0 0.0.0.0:40239           0.0.0.0:*               LISTEN      1000       44675322   198247/wput
                                  tcp        0      0 0.0.0.0:40943           0.0.0.0:*               LISTEN      1000       44972788   199269/wput
                                  tcp        0      0 0.0.0.0:57187           0.0.0.0:*               LISTEN      1000       44533340   197681/wput
                                  tcp6       0      0 :::22                   :::*                    LISTEN      0          33164      144/sshd: /usr/sbin
                                  tcp6       0      0 :::111                  :::*                    LISTEN      0          31747      1/init
                                  tcp6       0      0 ::1:6010                :::*                    LISTEN      1001       459018471  2020380/sshd: nega@
                                  tcp6       0      0 :::61991                :::*                    LISTEN      1000       31264400   140098/io.harmony.1
                                  tcp6       0      0 ::1:25                  :::*                    LISTEN      0          33239      296/master
                                  tcp6       0      0 :::8082                 :::*                    LISTEN      1000       256495404  1127044/io.web.0
                                  tcp6       0      0 :::8081                 :::*                    LISTEN      1000       279040541  1226006/io.admin.0
                                  tcp6       0      0 :::8087                 :::*                    LISTEN      1000       241264278  1059609/io.simple-a
                                  tcp6       0      0 :::8084                 :::*                    LISTEN      1000       64858      2100/io.socketio.0
                                  tcp6       0      0 :::8093                 :::*                    LISTEN      1000       66370      2381/io.rest-api.0
                                  udp        0      0 0.0.0.0:9898            0.0.0.0:*                           1000       439148881  848/io.mihome.0
                                  udp        0      0 0.0.0.0:59620           0.0.0.0:*                           1000       318977549  1401696/io.snmp.0
                                  udp        0      0 0.0.0.0:59889           0.0.0.0:*                           1000       318977550  1401696/io.snmp.0
                                  udp        0      0 0.0.0.0:44504           0.0.0.0:*                           1000       458560000  1877717/io.xbox.0
                                  udp        0      0 0.0.0.0:61991           0.0.0.0:*                           1000       31264401   140098/io.harmony.1
                                  udp        0      0 0.0.0.0:5683            0.0.0.0:*                           1000       352740191  1551038/io.shelly.0
                                  udp        0      0 127.0.0.53:53           0.0.0.0:*                           106        31364      100/systemd-resolve
                                  udp        0      0 10.0.1.202:68           0.0.0.0:*                           105        457919803  95/systemd-networkd
                                  udp        0      0 0.0.0.0:111             0.0.0.0:*                           0          31746      1/init
                                  udp6       0      0 :::111                  :::*                                0          31748      1/init
                                  
                                  
                                  =================== 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:                44024
                                  Zustände:               40453
                                  
                                  Größe der iob-Datenbanken:
                                  
                                   12K backup-objects
                                   29M objects.json.bak.migrated
                                     0 objects.json.broken
                                   29M objects.json.migrated
                                   43M objects.jsonl
                                  4.0K objects.jsonl.lock
                                  9.4M states.json.bak.migrated
                                     0 states.json.broken
                                  9.4M states.json.migrated
                                  128M 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 sagte in iob diag - Skript:

                                    Ausstehende Updates: 160

                                    Da musst du DRINGEND ran. Je mehr das wird, umso komplexer wird ein Update. Und 160 ist schon echt viel.

                                    Homoran Negalein 3 Replies Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @Thomas Braun last edited by

                                      @thomas-braun ich war nochmal kurz auf der Eisbahn.
                                      bei updates der Pakete steht nix

                                      OK:2 http://deb.debian.org/debian bullseye-updates InRelease
                                      OK:3 http://security.debian.org/debian-security bullseye-security InRelease
                                      OK:4 https://deb.nodesource.com/node_14.x bullseye InRelease
                                      Paketlisten werden gelesen… Fertig
                                      Ausstehende Updates:
                                      
                                      *** Lauschende Ports ***
                                      Aktive Internetverbindungen (Nur Server)
                                      Proto Recv-Q Send-Q Local Address           Foreign Address         State       Benutzer   Inode      PID/Program name
                                      

                                      ist aber falsch

                                      i@iobroker-VM03:~$ sudo apt update                                                                       OK:1 http://security.debian.org/debian-security bullseye-security InRelease
                                      OK:2 http://deb.debian.org/debian bullseye InRelease                                                      OK:3 http://deb.debian.org/debian bullseye-updates InRelease
                                      OK:4 https://deb.nodesource.com/node_14.x bullseye InRelease
                                      Paketlisten werden gelesen… Fertig
                                      Abhängigkeitsbaum wird aufgebaut… Fertig
                                      Statusinformationen werden eingelesen… Fertig
                                      Aktualisierung für 74 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                                      pi@iobroker-VM03:~$
                                      

                                      hab jetzt nix gemacht, damit ich noch testen kann!

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

                                        @homoran

                                        Führ mal
                                        Bitte

                                        sudo apt-get update
                                        apt-get upgrade -s
                                        

                                        aus.

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

                                          @thomas-braun sagte in iob diag - Skript:

                                          @homoran

                                          Führ mal
                                          Bitte

                                          sudo apt-get upgrade
                                          apt-get upgrade -s
                                          

                                          aus.

                                          ehrlich?
                                          danach geht nix mehr zu testen

                                          upgrade? nicht update?

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

                                            @homoran sagte in iob diag - Skript:

                                            danach geht nix mehr zu testen

                                            Doch, das upgrade wird nur simuliert, nicht geschrieben.
                                            Ich seh aber schon, wo es da klemmt.

                                            Homoran OstfrieseUnterwegs 2 Replies 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

                                            881
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            49
                                            736
                                            148039
                                            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