To measure boot times use
systemd-analyze
Result should look something like:
Startup finished in 2.463s (kernel) + 53.052s (userspace) = 55.516s
Continue reading “Analyze and optimize boot up with systemd”
To measure boot times use
systemd-analyze
Result should look something like:
Startup finished in 2.463s (kernel) + 53.052s (userspace) = 55.516s
Continue reading “Analyze and optimize boot up with systemd”
I had an issue with my root partition and I could not force fsck to be executed with creating /forcefsck.
Here is my /uEnv.txt that handles mounting of /dev/root:
bootargs_video=gpumem=64M video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 fbmem=10M linux=boot/dongle.img devicetree=boot/dongle.dtb options=console=ttymxc3,115200n8 root=/dev/mmcblk0p1 ro rootwait
Continue reading “Force fsck on gk802 and other i.MX6 based systems”
If you list your packages for example with “dpkg -l” and notice following:
rc linux-image-3.14-7.dmz.2-liquorix-686 3.14-11 rc linux-image-3.14-8.dmz.1-liquorix-686 3.14-12 rc linux-image-3.14-9.dmz.1-liquorix-686 3.14-13 rc linux-image-3.15-2.dmz.1-liquorix-686 3.15-1
Continue reading “Purge old config files of “rc” marked packages in Debian / Ubuntu”
For almost a year now I am proud owner of gk802 iMX.6 quad stick. Ever since I bought the device, I immediately installed linux and used it as 24/7 powered personal server.
Device itself is great with quad core chip and 1GB of RAM, but limited only to WiFi connectivity provided by RTL8152 chip which is not fast or stable enough to be used for my purposes. Continue reading “Good USB 2 Ethernet adapter that works with android/linux usb dongles like gk802, mk802”
To count socket states use following command:
# netstat -an | awk '/^tcp/ {A[$(NF)]++} END {for (I in A) {printf "%5d %s\n", A[I], I}}'Output should be something like this: Continue reading “Count TCP socket state and decrease TIME_WAIT state”