today's howtos
-
Startup/execution time for a specific command line tool
Generally I don’t have to bother about the startup time of any command line tool. For a human eye and normal day to day usage, if a command takes half a second to finish the job, it is not much of a problem. But, the story changes the moment we talk about a command which we have to run multiple times. What about about a command which have to execute multiple times every minute? This is the time when the startup and execution time matters.
A few weeks ago I was looking at a Python script which was executing as part of Nagios run, it was doing an API call to a remote server with JSON data coming in as command line arguments. Now, to make it scale more the first thought was to move the actual API call to a different process and get the original script to load things into a Redis queue. But, the other issue was the startup time for the Python script, having something with lesser startup time would be more help in this case, where nagios may execute the script/command over a few hundred times in every minute.
-
Beginners Guide for Sleep Command in Linux
As its name suggests, the sleep command is commonly used by shell script writers to delay the execution of individual or portions of commands specified after this command in script.
Using this command, you can delay the next command’s execution for the specified number of seconds (the default), minutes, hours, and days using different suffixes.
In this article, you will learn about the sleep command with its different suffixes and how to use it in shell scripts to pause the execution for a certain period of time.
-
Starlink -> Google -> Blocking altnerative DNS Servers!!! – how to setup Firefox to use Tor Proxy
the reason this time was NOT on the server-side, but on the Google side, blocking all DNS servers that are NOT google.
while this can be understood in the terms of CyberSec:
+ (manipulation of DNS servers, forwarding visitors of banking.com to a malicious website, that looks exactly like the original site).
– it is another step towards more internet surveillance, as a DNS server is de-facto asked EVERY time a client makes a connection to domain.com
possible solution: tunnel all traffic over tor.
-
Update the ISPConfig Perfect Server from Ubuntu 20.04 to Ubuntu 22.04
This tutorial will take you through updating a server managed by ISPConfig from Ubuntu 20.04 (Focal Fossa) to Ubuntu 22.04 (Jammy Jellyfish).