iostat service time is a very useful metric when analyzing disk performance and finding bottlenecks service time is essentially the inverse of IOPs so if an operation takes 1ms to service, thenRead More…
Favorite Watch of 2019+2020
I am not a fan of bulky watches, I like them sleek and gorgeous. The winner goes to my friend’s company: https://durdenwatch.com/ The Durden watch is a sleek and sexy watch. IRead More…
Coronavirus Covid19 Dashboard
A Coronavirus COVID-19 dashboard for the world and each country created by me. There are y-axis-logarithmic plots and y-axis-normal plots. Additionally, there are plots for every state/province/territory for the US and CanadaRead More…
Suggested Robocopy Switches
Note: This article is not mine. It was written on http://www.rainingforks.com/blog/2015/suggested-robocopy-switches-explained.html. I am simply excerpting the whole article. This way if that site ever gets shutdown, at least there will be aRead More…
How to RDP over an SSH tunnel
You can use this trick to access your home PC from a remote PC (like your work PC). Instead of using Teamviewer or other similar software. You can setup up your ownRead More…
Bash convert seconds to human readable
function displaytime { local T=$1 local D=$((T/60/60/24)) local H=$((T/60/60%24)) local M=$((T/60%60)) local S=$((T%60)) (( $D > 0 )) && printf ‘%d days ‘ $D (( $H > 0 )) && printf ‘%dRead More…
Wrong Port Connected Check With ifconfig
We need to run ifconfig and look for the status line. Remember this about ifconfig output: * if “status: active“, the port is linked up and sending traffic (now you just needRead More…
My Favorite Partition Tool for Windows
Its free too: MiniTool Partition Wizard Free It does everything that EaseUS Partition Manager does (but MiniTool is free and therefore get more points). Tools like this in Linux are free (andRead More…
Grepping Thru All Rotated Logs
If your system gzips and rotates your logs. You can use this trick to search thru all of them. # zgrep -i — “SEARCHTERM” $(ls -1Str /var/log/messages*) Another way # zgrep -iRead More…
A good free syslog server
Personally, I just tried “Syslog Watcher” version 5.0.4 and it does a good job. I can start it by hitting “Start Server” then configured syslog clients to point at it. You canRead More…