I'm trying to get the full output of cpview on a gateway from the manager CLI using cprid_util and I'm only getting the stderr:
CPView: Failed windows size ioctl with 25, Inappropriate ioctl for device.
I'm guessing it's because the shell cannot set a window size since it's a remote command. Would there be a way to fix my command get the output ?
Here's my command:
$CPDIR/bin/cprid_util -server 10.0.0.2 -verbose rexec -rcmd bash -c "cpview -p"
Edit: I'm testing this on R80.20, but will it will be used with R77.20, R77.30 and R80.10 gateways.
(I also tried calling the full path of /bin/cpview_start.sh )