how to get PBS storage free space

Apr 28, 2021
23
1
8
34
Hello Dears

i want to get pbs storage free space in my client but i cant.
for example : can i get json response from this command? "pvesm status --storage pbs-local"
or specific command to get my storage space to manage my backups.


thanks
 
thanks @oversite
this command work in CLI and get password in next step, i want a command to use in my php script.
do you know other solution or you can send password in command?

thnaks