20 December, 2016

Mysql Uninstall from Ubuntu 16.04

Follow the steps

1) sudo apt-get remove dbconfig-mysql
2) sudo apt-get remove --purge mysql-server mysql-client mysql-common

06 December, 2016

iperf3 compilation for ARM in Ubuntu

For compiling for ARM target board

Get the cross compiler details and pass it as argument to the configure script. I used iperf-3.1.3
Below method is for building iperf3 as static, so that we need to push only the iperf3 binary , without any shared libraries

First this assumes you had set the ARM compiler in the path

cd iperf-3.1.3/

1) ./configure --host=arm-linux-gnueabi CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnueabi-g++ CFLAGS=-static CXXFLAGS=-static --enable-static --prefix=`pwd`/output

2) make install


the binary will be available inside output/bin/

22 September, 2016

Increasing the linux terminal console column width and number of rows

very useful tip for embedded Linux engineers and those who work with Linux Console using minicom or teraterm


very useful tip for embedded Linux engineers and those who work with Linux Console using minicom or teraterm

normally if we type ps in serial console, it will show the process , if the length is more than 80 character(which is default) we cannot see the string after 80 characters in the consol,

with the below command you can adjust the width of the terminal with cols argument and number of rows using the  argument rows to the command stty

stty cols 160 rows 40

this can be used separate also
stty cols 160
stty rows 50

Hope this help in ps and htop command when u run and other applications