Jump to content

Nützliche Unraid Terminal-Kommandos


Recommended Posts

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"

 

  • Like 5
  • Thanks 7
Link to comment
  • 7 months later...
  • 2 years later...
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
 

Link to comment
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.

  • Thanks 1
Link to comment

###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

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...