fix busybox ps command truncate

This commit is contained in:
Marco Ochse 2018-06-04 19:12:03 +00:00
parent 52ecc767f8
commit d3aab284a2

View file

@ -59,7 +59,7 @@ while true
echo
if [ "$myPARAM" = "vv" ];
then
/usr/bin/docker exec -t "$i" /bin/ps awfuwfxwf | egrep -v -E "awfuwfxwf|/bin/ps"
/usr/bin/docker exec -t "$i" sh -c "stty rows 50 cols 1000 && /bin/ps aux | egrep -v -E 'awfuwfxwf|/bin/ps'"
fi
done
if [[ $myPARAM =~ ^([1-9]|[1-9][0-9]|[1-9][0-9][0-9])$ ]];