Thanks, But my VMs are KVM based and this command only shows containers.
Thanks Erk, this one works.
But this command only works on Proxmox 2, any suggestion for Proxmox 1.9? I've still many servers with Proxmox 1.9
/bin/ps axo pid,cmd,etime | grep chard
1941 /usr/bin/kvm -id 301 -chard 20-00:01:30
1960 /usr/bin/kvm -id 302 -chard 20-00:01:26
1990 /usr/bin/kvm -id 303 -chard 20-00:01:22
2040 /usr/bin/kvm -id 305 -chard 20-00:01:14
2071 /usr/bin/kvm -id 306 -chard 20-00:01:10
5574 /usr/bin/kvm -id 304 -chard 19-23:19:46