-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Milestone
Description
The associated forum post URL from https://forum.rclone.org
https://forum.rclone.org/t/how-to-check-mount-upload-progress-from-scripts/27396
What is your current rclone version (output from rclone version)?
rclone v1.57.0
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.4.0-90-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.2
- go/linking: static
- go/tags: none
What problem are you are trying to solve?
I would like to query the VFS cache stats of rclone mount from scripts using rclone's remote control (rc) API. At the moment I have to parse rclone's output or logfile and examine the corresponding INFO messages such as vfs cache: cleaned: objects 2 (was 2) in use 2, to upload 0, uploading 2, total size 76.831Mi (was 76.831Mi)
How do you think rclone should be changed to solve that?
It would be awesome to query these statistics via remote control, such as (arbitrary example, could also look a little bit different):
rclone rc vfscache/stats
{
"objects": 10,
"inUse": 5,
"toUpload": 3,
"uploading": 2,
"totalSize": 131072
}
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.