Jump to content

Recommended Posts

Posted

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:

post-43674-0-47003600-1413920891_thumb.p

Greez

BeNe

Posted

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...

post-43674-0-88029900-1413922896_thumb.p

Posted

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 ?

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...