====== Linux ======
* https://0x.tools/ 0x.tools (GitHub) is a set of open-source utilities for analyzing application performance on Linux. It has a goal of deployment simplicity and minimal dependencies, to reduce friction of systematic troubleshooting. No need to install kernel modules or heavy monitoring frameworks. 0x.tools allow you to measure individual thread level activity, like executed code, sleep states, system calls and wait locations - by tracking (not tracing) and then sampling the right events at the right time.
* https://ntk148v.github.io/posts/linux-network-performance-ultimate-guide/
* https://0x.tools/#table-of-contents X-Ray vision for Linux systems
* https://github.com/ClementTsang/bottom?tab=readme-ov-file bottom wie top...
* https://github.com/tmux-plugins/tmux-resurrect
* Falls die Caps-Taste hängt: xdotool key Caps_Lock
* https://github.com/TibixDev/winboat WinBoat is an Electron app to run Windows as a VM inside a Docker container. Displays via FreeRDP together with Windows's RemoteApp protocol.
* https://github.com/pranshuparmar/witr Why is this running? Lists Process Infos and which Prog listens on Port x
* https://www.npmjs.com/package/ezff ff — Plain English ffmpeg
* https://blog.thechases.com/posts/assorted-less-tips/
===== Grub =====
[[Grub]]
===== Tmux =====
* https://evgeniipendragon.com/posts/customizing-tmux-and-making-it-less-dreadful/
* https://github.com/tmux-plugins/tmux-resurrect
===== disk management =====
* wipefs -a: ACHTUNG: löscht eine Festplatte von ihren Partitionen!
* partprobe: erkennt Partitionen etc. nach Neupartitionierung
* sfdisk -d äquivalent für sgdisk:
''
sgdisk --backup=table /dev/destination
sgdisk /dev/source -R /dev/destination
sgdisk -G /dev/destination
''
===== mdadm =====
==== Neu aufsetzen ====
* mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1
* mdadm --detail --scan >> /etc/mdadm/mdadm.conf
==== Festplatte ersetzen ====
* mdadm --manage /dev/md127 -a /dev/sdd3
==== Geschwindigkeit anpassen ====
* echo 50000 > /proc/sys/dev/raid/speed_limit_min
* echo 500000 > /proc/sys/dev/raid/speed_limit_max
* cat /proc/mdstat
===== Distro builders =====
- https://t2sde.org/
- https://yocto.org
===== Auth =====
* https://github.com/lldap/lldap
* https://www.authelia.com/
===== Snap Dreck =====
* veraltete Snaps löschen: for i in $(snap list --all | grep deaktiviert$ | tr -s " " | cut -d " " -f 1,3); do OLDIFS=$IFS; IFS=" "; set -- $i; name=$1; rev=$2; echo snap remove --revision=$rev $name; IFS=$OLDIFS; done
===== Suspend/Resume Probleme =====
cat /sys/power/mem_sleep
cat /sys/power/state
Wenn die Ausgabe
s2idle [deep]
freeze mem disk
ist dann kann man probieren:
sudo echo s2idle > /sys/power/mem_sleep
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=s2idle"
sudo update-grub