Categories
SysOps

How to use OpenResty to perform health checks

Use OpenResty to perform health checks in your cloud environment as it incorporates Nginx, Lua and comes with batteries included.

Categories
Uncategorized

How to use official RabbitMQ repository on Debian Buster

RabbitMQ uses Bintray to provide official repositories for RabbitMQ message broker and Erlang, but there is a small catch as at this moment repository for Debian Buster does not contain RabbitMQ application…

Categories
SysOps

How to generate sequence of numbers

Generate and print sequences of numbers to perform specific operations using command-line or shell script.

Categories
SysOps

How to determine how long specified remote server or device was offline

Create a shell script to determine how long a specified remote server or device was offline. It is not designed to substitute monitoring solutions but to determine how long it will take to reboot the server or device.
It is using convert seconds to human readable time code to display results.

Categories
Uncategorized

How to check website for broken links

Check website for broken links using HTTrack website copier.

Categories
SysOps

How to pretty print size in bytes using AWK

Pretty print size in bytes using AWK.

Categories
Uncategorized

How to display memory used by processes in human readable form using Python script

Display memory used by processes in human readable form using Python script.

Categories
SysOps

How to avoid the two most common caveats when using read command

These are easy mistakes to make as the bash builtin read command will terminate with the error exit code on the end-of-file condition and use Internal Field Separator to split the line into words. It is kind of tricky, but it is worth knowing how to deal with such problems.

Categories
SysOps

How to display memory used by processes in human readable form

Display memory used by processes in human-readable form using ps and awk utilities.

Categories
Uncategorized

How to erase LUKS header

Learn how to erase the LUKS header on a specific device.