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 goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    iob diag - Skript

    This topic has been deleted. Only users with topic management privileges can see it.
    • liv-in-sky
      liv-in-sky @Thomas Braun last edited by

      @thomas-braun
      vielen dank - ports werden aufgelistet

      weiß nicht, ob das sinn macht - aber evtl so eine anzeige, falls die verschiedenen systeme das können ? nur 'ne idee - muss nicht sein

      sudo ss -tulwp | grep LISTEN | awk '{print "PORT: "$5" DIENST: "$7}' | column -t
      PORT:  0.0.0.0:sunrpc        DIENST:  users:(("rpcbind",pid=124,fd=4),("systemd",pid=1,fd=28))
      PORT:  192.168.178.59:8082   DIENST:  users:(("io.web.0",pid=2019,fd=27))
      PORT:  127.0.0.53%lo:domain  DIENST:  users:(("systemd-resolve",pid=127,fd=18))
      PORT:  0.0.0.0:ssh           DIENST:  users:(("sshd",pid=245,fd=3))
      PORT:  0.0.0.0:1880          DIENST:  users:(("node-red",pid=593,fd=21))
      PORT:  0.0.0.0:1883          DIENST:  users:(("io.mqtt.1",pid=1299,fd=27))
      PORT:  0.0.0.0:microsoft-ds  DIENST:  users:(("smbd",pid=324,fd=49))
      PORT:  127.0.0.1:44129       DIENST:  users:(("chrome",pid=2459,fd=133))
      PORT:  0.0.0.0:1505          DIENST:  users:(("io.sonoff.0",pid=1831,fd=26))
      PORT:  0.0.0.0:1506          DIENST:  users:(("io.mqtt.0",pid=1284,fd=27))
      PORT:  0.0.0.0:1606          DIENST:  users:(("io.sonoff.1",pid=1855,fd=26))
      
      
      sudo ss -tulwp | grep LISTEN | awk '{print "PORT: "$5" DIENST: "$7}' | column -t
      
      1 Reply Last reply Reply Quote 0
      • E
        emil70 @Thomas Braun last edited by emil70

        @thomas-braun

        Kannst das schon drin lassen. Bau einfach am Anfang des script mit ein, das die benötigten Paket installiert werden

                        echo "Installiere die benoetigte Pakete, bitte warten .."
        		echo "-------------------------------------------------------------------------------"
        		echo ""
        		apt-get autoclean && apt-get update
                        apt-get install iproute2
        
        iproute2 ist für ss
        
        R Thomas Braun 2 Replies Last reply Reply Quote 0
        • R
          reutli @emil70 last edited by

          @emil70 sagte in iob diag - Skript:

          Bau einfach am Anfang des script mit ein, das die benötigten Paket installiert werden

          Das würde ich nicht tun, sollte ja nur ein Analyse Script sein und sollte nicht ins System eingreifen, oder?

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

            @emil70

            Ich mag nicht 'durch die kalte Küche' da irgendwelche Pakete installieren.
            Hatte schon bei dem symlink auf node/nodejs Bauchweh.

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

              @thomas-braun

              Was bringt das script, wenn nachher doch bei jemand es hackt, weil Pakete fehlen

              bei

              column
              

              gabe es bei mir auch eine Fehlermeldung, das es nicht installiert ist

              apt-get install bsdmainutils
              

              ausgeführt und gut ist

              Man kann am Anfang des script ja darauf hinweisen, das Abhängigkeit für das script installiert werden

              Edit: Man kann die installieren Paket ja danach auf wieder automatisch deinstallieren lassen

              Homoran Thomas Braun liv-in-sky 3 Replies Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @emil70 last edited by Homoran

                @emil70 dann sollte es mit einer Fehlermeldung abbrechen und der Frage ob es installiert werdrn darf! (Luxusvariante), oder der Aufforderung es zu installieren.

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

                  @emil70

                  Nee, da geh ich lieber auf den kleinsten gemeinsamen Nenner.
                  netstat in dem Fall dann.

                  Paketverwaltung funktioniert auf anderen Linuxen halt auch anders.
                  pacman, yum und wie die alle heißen...

                  Gut, ich setze mal voraus das die Arch oder Alpine oder was auch immer Leute nicht unbedingt so'n Diagnose-Skript brauchen. Aber funktionieren sollte es auch in diesen Fällen.

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

                    @emil70 sagte in iob diag - Skript:

                    column

                    gabe es bei mir auch eine Fehlermeldung, das es nicht installiert ist

                    habe ich schon fast vermutet

                    was auch ginge zum. bei mir:

                    sudo ss -tulwp | grep LISTEN | awk '{print "PORT: "$5"\t\t DIENST: "$7}'
                    

                    ist nicht ganz tabelle - aber besser lesbar

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

                      @liv-in-sky

                      Hab es jetzt mal auf den Klassiker

                      sudo netstat -tulpen | grep LISTEN
                      

                      umgestellt. Das sollte ohne Gedönse überall laufen.

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

                        @thomas-braun sagte in iob diag - Skript:

                                                *** ARBEITSSPEICHER ***
                        

                        sachma!

                        hab ich den Plattenplatz übersehen?

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

                          @homoran sagte in iob diag - Skript:

                          hab ich den Plattenplatz übersehen?

                          Nee, ist nicht drin. Hatte ich auch schon drüber nachgedacht... 😄
                          Da hätte ich gerne duf zur Verfügung, aber das ist viel zu frisch, das gibt es auf so gut wie keiner Distribution.

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

                            @thomas-braun wenn wieder jemand vergisst das filesystem zu expandierrn 😂 oder i
                            mit Videos zuballert

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

                              @homoran

                              Mach mir mal ein Issue im github auf.
                              Mal schauen ob / wie das funktioniert.

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

                                @thomas-braun du jetzt auch 😡

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

                                  @homoran

                                  Ich muss doch github auch noch lernen...

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

                                    @thomas-braun akzeptiert, aber ich komm da nicht rein im Moment. bin am Handy, die Mail mit der PIN bekomme ich da nicht

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

                                      Added 'df' for File System check.

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

                                        @thomas-braun

                                        Ich werfe mal hier was rein ... eventuell etwas dabei ..

                                        Verwahrungsort / URL richtig !?

                                        iob repo list
                                        

                                        Objekt Anzahl

                                        iob list objects | wc -l
                                        

                                        jsonl Größe

                                        ls -lh /opt/iobroker/iobroker-data/objects.jsonl
                                        
                                        Homoran Thomas Braun 3 Replies Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @Glasfaser last edited by

                                          @glasfaser sagte in iob diag - Skript:

                                          jsonl Größe

                                          hab noch file und nu?

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

                                            @thomas-braun weiß nicht - war das schon

                                            die ordner größen von /opt/iobrocker/backups und dem var verzeichnis und den gesamten platten verbrauch - diese fragen kommen auch immer wieder

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            422
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            49
                                            715
                                            136566
                                            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