Using ssh to execute  Karaf commands, there's buffering going on and one cannot see a command output as it happens.
e.g.

ssh -p 8101 karaf@localhost "ls; sleep 10"

does not show the "ls" output, it's only flushed and visible after the 10s sleep.

For commands with large output (say 10k) one can see the buffering effect.

Can this be changed somehow, to achieve instant output of a command?


Reply via email to