mgutt Posted February 6, 2022 Share Posted February 6, 2022 Ich werde diese Liste noch deutlich erweitern. Ist nur erst mal ein kleiner Start: # Datei-Explorer "Midnight Commander" starten mc # VM service stoppen (das stoppt nur libvirt, entfernt aber nicht den Mount /var/lib/libvirt auf das libvirt.img) /etc/rc.d/rc.libvirt stop # VM service starten /etc/rc.d/rc.libvirt start # bestimmte VM herunterfahren (erfordert innerhalb der VM die Installation der Guest-Tools) virsh shutdown "Windows 11" # bestimmte VM starten virsh start "Windows 11" 5 7 Quote Link to comment
frah Posted September 8, 2022 Share Posted September 8, 2022 Freue mich schon auf die Ergänzungen. Mit hilfe dieser Befehle ist eine Automatisierung (User Scripts) äußerste bequem. Quote Link to comment
Tidus1307 Posted September 25 Share Posted September 25 On 2/6/2022 at 1:47 PM, mgutt said: Ich werde diese Liste noch deutlich erweitern. Ist nur erst mal ein kleiner Start: # Datei-Explorer "Midnight Commander" starten mc # VM service stoppen (das stoppt nur libvirt, entfernt aber nicht den Mount /var/lib/libvirt auf das libvirt.img) /etc/rc.d/rc.libvirt stop # VM service starten /etc/rc.d/rc.libvirt start # bestimmte VM herunterfahren (erfordert innerhalb der VM die Installation der Guest-Tools) virsh shutdown "Windows 11" # bestimmte VM starten virsh start "Windows 11" Hallo, danke für die Idee, finde ich Klasse. Was ich noch als Nützlich empfinde ist folgendes. (Bitte korrigiert mich wenn ich Fehler habe, sehr gut im Terminal bin ich nämlich nicht): # Herunterfahren von Unraid: powerdown -r #Stop Mover mover stop # Kill all rsync processes pkill -x rsync # Stop alle Docker /etc/rc.d/rc.docker stop #Start Alle Docker /etc/rc.d/rc.docker start Quote Link to comment
ich777 Posted September 25 Share Posted September 25 5 hours ago, Tidus1307 said: powerdown -r Mit der option -r wird es ein restart, einfach nur powerdown ist ein shutdown. 5 hours ago, Tidus1307 said: # Stop alle Docker /etc/rc.d/rc.docker stop #Start Alle Docker /etc/rc.d/rc.docker start Die beiden Befehle stimmen zwar aber eigentlich stoppen die den Docker Dienst und nicht die container. Der start Befehl heißt auch nicht automatisch das alle Container wieder gestartet werden, das hängt von den Autostart Einstellungen ab. 1 Quote Link to comment
sonic6 Posted September 26 Share Posted September 26 ###show syslog tail -f /var/log/syslog #restart GUI /etc/rc.d/rc.nginx restart /etc/rc.d/rc.php-fpm restart ###show cpu usage watch -n 1.5 grep MHz /proc/cpuinfo watch -n 1.3 "cpufreq-info | grep 'current CPU'" ###show cpu frequ cpufreq-info -o Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.