Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
linux [2025/08/08 10:27] muonitlinux [2026/07/17 14:57] (aktuell) muonit
Zeile 3: Zeile 3:
   * https://ntk148v.github.io/posts/linux-network-performance-ultimate-guide/    * https://ntk148v.github.io/posts/linux-network-performance-ultimate-guide/ 
   * https://0x.tools/#table-of-contents X-Ray vision for Linux systems   * 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 ===== ===== Tmux =====
   * https://evgeniipendragon.com/posts/customizing-tmux-and-making-it-less-dreadful/   * https://evgeniipendragon.com/posts/customizing-tmux-and-making-it-less-dreadful/
 +  * https://github.com/tmux-plugins/tmux-resurrect
  
 ===== disk management ===== ===== disk management =====
   * wipefs -a: ACHTUNG: löscht eine Festplatte von ihren Partitionen!    * wipefs -a: ACHTUNG: löscht eine Festplatte von ihren Partitionen! 
   * partprobe: erkennt Partitionen etc.  nach Neupartitionierung   * 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 ===== ===== mdadm =====
 +==== Neu aufsetzen ====
   * mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1   * mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1
   * mdadm --detail --scan >> /etc/mdadm/mdadm.conf   * 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: <code>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</code> 
 + 
 + 
 +===== Suspend/Resume Probleme ===== 
 +<code>cat /sys/power/mem_sleep 
 +cat /sys/power/state</code> 
 + 
 +Wenn die Ausgabe  
 +<code>s2idle [deep] 
 +freeze mem disk</code> 
 + 
 +ist dann kann man probieren:  
 +<code> 
 +sudo echo s2idle > /sys/power/mem_sleep 
 +GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=s2idle" 
 +sudo update-grub 
 +</code>