Skip to main content

Useful Proxmox commands

Useful Proxmox commands/scripts

pct cpusets
Prints the assigned CPU sets to the LXC containers.


systemctl status <VMID>.scope
Displays the process of a specific VM


lscpu -e
Prints CPU topology
More details


qm showcmd <VMID>
Displays the command that Proxmox generates for a given VM


proxmox-boot-tool

Can select/list/pin kernels with PVE 7.2


If a backup fails with something like:

 tar: ./var/lib/dpkg/info/libdebconfclient0\:amd64.shlibs: Cannot stat: Bad message

Then probably there is an issue with the underlying filesystem of that specific vm/container.

To fix it ssh into the server, find the container and run:

fsck /dev/mapper/sdd--1TB-vm--100--disk--0