ostreedev / ostree

Operating system and container binary deployment and upgrades
https://ostreedev.github.io/ostree/
Other
1.27k stars 291 forks source link

How can we stop the pull from the remote server when the net is weak? #1718

Open keguo1119 opened 6 years ago

keguo1119 commented 6 years ago

How can we get the net speed when using ostree to pull from a remote server, I know the "ostree pull" will print the download info to the screen, but how to redirect to a log file to record it?

cgwalters commented 6 years ago

If you're doing something nontrivial, libostree has a C API that's also exposed via GObject Introspection.