Categories
SysOps

How to display kernel slab cache information

You can directly inspect kernel slab allocator statistics (/proc/slabinfo file) for detailed information on buffer, inode, dentry, or other caches in the Linux kernel, though slabtop utility will sort and pretty-print information in real-time.

Categories
SysOps

How to list file names and their contents

Use basic Linux utilities to list file names and their contents.

Categories
Uncategorized

How to display process statistics

Use system performance tools for Linux to display process statistics.

Categories
Uncategorized

How to edit file in-place

Use sponge utility to read standard input and safely write it out to the same file.

Categories
SysOps

How to display strace summary

I have already described how to strace PHP-FPM processes, but you can also display a strace summary to get detailed information about count time, calls, and errors for each syscall.

Categories
Uncategorized

How to ensure that OpenSSH client uses explicitly configured authentication identity

Ensure that OpenSSH client uses explicitly configured authentication identity even if authentication agent offers more identities.

Categories
Uncategorized

How to pretty print decimal or binary numbers

Use numfmt command-line utility which is a part of the standard GNU Core Utilities to pretty print decimal or binary numbers.

Categories
DevOps

How to redeploy master certificate in OpenShift 3.11

Inspect and redeploy the master certificate in OpenShift 3.11.

Categories
DevOps

How to replace router certificate in OpenShift 3.11

Replacing the router certificate in OpenShift 3.11 is easier than you think.

Categories
SysOps

How to access rdiff-backup repository using fuse

Use FUSE (filesystem in userspace) to access rdiff-backup repository.