I like to use the linux utility sar (system activity reporter (?)) I gives a fast and quite complete overview over the performance of a linux system. SAR has a lot of possibilitys. I just highlight a few of them to remember how the syntax is 🙂 CPU information of today oracle@lqas4342:~$sar Linux 4.18.0-425.13.1.el8_7.x86_64 (lqas4342.mod.nl) …
Just a write up of the filters I sometimes use/need. (work in progress…) Filtering _out_ ssh: tcpdump “port ! ssh” Just seeing ICMP packets: tcpdump “icmp” Filtering on port _and_ host: tcpdump “port ssh && host host-name”
When installing security/kernel packages the system must be rebooted. It would be a bit silly to reboot always. So..without further ado…you can solve this for example with the following playbook: [martijn@fedora basis]$ cat update_all.yaml — – name: Update alle hosts hosts: all become: true tasks: – name: install dnf tools dnf: state: present name: dnf-utils …
I’m was going crazy because off the annoying bell sound vi(m) makes all the time. To solve it I put “set belloff=all” in my .vimrc martijn@radijs:~$ cat .vimrc set belloff=all martijn@radijs:~$
Whenever I need to do something concerning DNS resolving I resort to dig. Some examples: Getting the IP adres for maboc.nl: martijnmbos@penguin:~$ dig maboc.nl ; DiG 9.11.5-P4-5.1+deb10u3-Debian maboc.nl ;; global options: +cmd ;; Got answer: ;; ->>HEADERHEADERHEADERHEADER