The openssl s_client utility is an SSL/TLS client that connects to remote hosts. It is primarily a diagnostic tool, and it has a very large…
Category: Linux command line
The date utility
You can use the date utility to print, format and convert a timestamp. Historically the utility was also used to set the system time, though…
Creating cPanel accounts using WHM API 1
In previous articles I looked at how to view and format account information using whmapi1 and how to update the PHP version for one or…
Batch-updating PHP versions using WHM API 1
PHP versions are supported for two years, and it is recommended to always use the latest and greatest version. In theory, that is quite easy…
An introduction to whmapi1
cPanel servers have APIs that let you do most of the admin tasks you can do via the grahpical interface from the command line. cPanel…
Parsing JSON and YAML files
JSON and YAML are file formats used to structure data. Both are primarily used so that software can parse the data, but JSON and YAML…
CSF on the command line
Although CSF has a graphical interface for WHM, you might prefer to manage the firewall using the command line. This article covers the most common…
Investigating memory usage with sar
The free and top utilities are handy if you want information about the current memory usage on your system. If you want to view historic…
Memory data in free and top
In my last article I looked at how the Linux kernel manages memory. This article covers the memory information shown in the free and top…
Understanding memory on Linux servers
Memory on modern operating systems is a complicated topic. This article covers what memory is and how the Linux kernel manages memory. The next articles…