Jump to content

After print large outputs to console, then can't use 'htop', 'mesg'


gooparm

Recommended Posts

Actuaylly, I have a two problem.

 

First is, 

If I print large outputs, It's out was unpredictable. $PS1 randomly added

...snip...
      ],
      "locs": [
        "ALX",
        "SOP",
        "PNX",
        "NYC"
      ],
      "jbound": "0.010000",
      "tbound": "0.05"
    }
  ]
}
20220908.04:53:56 root@openskyr2s:~# ,      <<<<<<--------------------- really randomly appeared my $PS1 in output / Even I use less/more, it sometimes happens.
      "val1": 4,
      "val2": 0,
      "subkey1": [
        "blah"
      ],
      "filters": [
...snip...

 

Second is,

Prints large outputs(jq , cat) to default console few times, I completely can not execute 'htop' or 'mesg'.

If I change $TERM linux to xterm-256color, 'htop' works again. But still 'mesg' commands hung.

 

 

Above two issue was not resolved apt update/upgrade.

 - dmesg was clean

 - stty ixon/ixoff, add delays

 - seterial low_latency

What I tried above, it does not helped output stability.

 

Here is my stty conf

20220908.05:14:06 root@openskyr2s:~# cat /etc/armbian-release
# PLEASE DO NOT EDIT THIS FILE
BOARD=nanopi-r2s
BOARD_NAME="Nanopi R2S"
BOARDFAMILY=rockchip64
BUILD_REPOSITORY_URL=https://github.com/armbian/build
BUILD_REPOSITORY_COMMIT=13f5fba13
VERSION=22.05.3
LINUXFAMILY=rockchip64
ARCH=arm64
IMAGE_TYPE=stable
BOARD_TYPE=conf
INITRD_ARCH=arm64
KERNEL_IMAGE_TYPE=Image
BRANCH=current
20220908.05:14:15 root@openskyr2s:~# uname -a
Linux openskyr2s 5.15.52-rockchip64 #22.05.4 SMP PREEMPT Mon Jul 4 09:40:29 CEST 2022 aarch64 GNU/Linux
20220908.05:14:20 root@openskyr2s:~# stty -a
speed 1500000 baud; rows 57; columns 227; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = <undef>; min = 1; time = 0;
-parenb -parodd -cmspar cs8 hupcl -cstopb cread -clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -ixon -ixoff -iuclc -ixany -imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon -iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc
20220908.05:14:22 root@openskyr2s:~#

 

Any suggestions, solutions are welcome.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines