[Libguestfs] progress output during guestfish sh commands
Olaf Hering
olaf at aepfle.de
Tue Feb 4 15:15:09 UTC 2014
On Tue, Feb 04, Richard W.M. Jones wrote:
> > It seems to me that output is only shown once cmd.sh has finished. I
> > already split cmd.sh into smaller pieces to see overall progress. But
> > output from a verbose, long running single command within cmd.sh is not
> > shown.
>
> Verbose output is carried over a separate channel from qemu, so things
> like kernel messages appear asynchronously:
>
> https://github.com/libguestfs/libguestfs/blob/master/src/conn-socket.c#L301
Thanks.
I think doing 'cmd < /dev/null &> /dev/kmsg' will help, I will try that
way to see whats actually going on.
Olaf
More information about the Libguestfs
mailing list