Installing & Running VDBench on Centos 7.9
Vdbench Software (version 50407): http://www.infotinks.com/vdbench/vdbench50407.zip Vdbench Guide (version 50407): http://www.infotinks.com/vdbench/vdbench-50407.pdf
Start Reverse SSH Tunnel On Boot
My Issue: I have a Ubuntu VM running on my Windows 11 via HyperV virtualization. I cannot SSH into that Ubuntu VM because its using the default networking which creates a NAT.Read More…
Install bat (syntax coloring version of cat) on centos + other
Here is what bat is: https://github.com/sharkdp/bat
Bypassing ssh Permissions Too Open Warning
This trick works for Linux servers and also if you are using WSL2 on Windows to run Ubuntu (or whatever *nix OS) and you are trying to utilize ssh keys with yourRead More…
Trick to recall “ln -s” symlink argument order
I can never remember the order of arguments for the ln command (link command). The easiest way to think about it is to rethink of the “cp” (copy command) instead of “cpRead More…
Backup file[s] to Dropbox (without syncing)
This github page, https://github.com/andreafabrizi/Dropbox-Uploader, has the dropbox-uploader tool which I use to backup content from servers (Linux, Mac, etc) without having to sync my Dropbox content to the local disk on yourRead More…
xargs parallel note to self
Xargs is useful to run in parallel. Its parallel processing is very efficient. Read this post about its efficiency and this one about basic commands. Below, is my favorite way to runRead More…
Python remove duplicates similar to bash uniq + sort
# citing: https://www.reddit.com/r/Python/comments/jfx7wy/how_to_quickly_remove_duplicates_from_a_list/ # Let’s make some duplicates (one million numbers between 1 and 100) from random import randrange DUPLICATES = [ randrange(100) for _ in range(1_000_000) ] ### METHOD 1 ###Read More…
iostat service time (svctm) rule of thumb
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…