linux
virsh list
To list all VM on a KVM server, run Example To view all Virtual machines including stopped VM’s, use –all option. To…
virsh nodeinfo
To see information about a KVM node, run virsh nodeinfo Example root@s3-m12:~# virsh nodeinfo CPU model: x86_64 CPU(s): 8 CPU frequency: 1861…
Linux KVM Virtualization
Install KVM Install Linux KVM on Debian 10 Install Linux KVM on Ubuntu Install Linux KVM on CentOS 7 Install Linux KVM…
virsh
virsh command is used to manage KVM vps. It is part of libvirt package. http://libvirt.org To list KVM virtual machines, run Start…
LXD container snapshot and restore
lxc allow you to take snapshot, restore snapshot of a container. Here we create a snapshot, then delete the /etc folder from…
Install LXD on Ubuntu
To create LXD containers, run LXD is a tool to manage LXC (Linux Containers). lxd allow you to create and manage lightweight…
blkid
To list UUID for all your storage devices, run ”’blkid -c /dev/null”’ blkid – locate/print block device attributes Example boby@bizhat ~ $…
atop
The program atop is an interactive monitor to view the load on a Linux system. To install on Ubuntu/Debian On CentOS/RHEL On…
Using apt-get to manage software
apt-get used to manage packages in Debian/Ubuntu server. Install A Package apt-get install PKG_NAME Uninstall a software (keep configuration file) apt-get remove…
PHP script to monitor exim mail queue
When you run exim mail server, it is good to keep an eye on number of emails in mail queue. here is…