BeNe Posted October 21, 2014 Posted October 21, 2014 How can i change the size the Terminal. ? If i use top or ps the complete command isn't shown and cutted Here is an example: Greez BeNe Quote
Armaal Posted October 21, 2014 Posted October 21, 2014 hey Benewhere are you getting your terminal ? from windows ? in VM with konsole etc? Quote
BeNe Posted October 21, 2014 Author Posted October 21, 2014 I use Manjaro (Arch) on my Desktop. Terminal is xfce4-terminal 0.6.3. Also tested putty and changed the windows size to 160 x 48. The windows is big enough... Quote
BeNe Posted October 26, 2014 Author Posted October 26, 2014 I installed the coreutils-tty with opkg but had no look to resize the terminal with rows and columns. Is there any other option ? How can i see the _full_ command with ps for example on the shell ? Quote
BeNe Posted October 28, 2014 Author Posted October 28, 2014 Here is a script that show´s you the full command on shell. OpenWRT comes with a modified ps command from busybox that cuts the output on a fixed size. Without Script (normal) root@Pineapple:~# ps -aef | grep wpa_supplicant 4975 root 1628 S wpa_supplicant -B -P /var/run/wifi-wlan2.pid -D nl80 17285 root 1512 S grep wpa_supplicant root@Pineapple:~# With Script (full command) root@Pineapple:~# ./full-command.sh wpa_supplicant 4975 wpa_supplicant -B -P /var/run/wifi-wlan2.pid -D nl80211 -i wlan2 -c /var/run/wpa_supplicant-wlan2.conf root@Pineapple:~# Here is the full-command.sh script pgrep $1 | while read a; do echo -n $a" " cat /proc/$a/cmdline | tr "\0" " " echo done Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.