Qm

Zaqen

Active Member
Mar 20, 2018
58
3
28
55
Hi,
I don't know if I'm posting in the right place, but i need help to make a script to
stop / start VM

I try with awk to divided a colum of result of qm list command, do you know if is possible ?

Best regard
 
Not sure what you mean with "divide a column". Anyways, it should be possible.

Alternatively, you might want to try using pvesh with the flag `-output-format json` or `-output-format json-pretty` to get the data as json and manipulate that.
 
Hi,
i do for do done bash who unlok an stop wm.
first i list running wm, unlok an stop.
i use qmlist, qm unlock and qm stop.
Thank 's

Regards
 
great ! thx

I have a proxmox server that I don't want to reinstall. Do you know a solution to reset all statistics (rrd graphics) ?
I'm looking for a solution to reset it if possible ?