Categories
SysOps

How to parse apt history log

Use awk to parse apt history log and filter it.

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 configure swap using zram at boot

Configure compressed swap using zram device at system boot.

Categories
SysOps

How to use compressed RAM based block devices

Take advantage of compressed RAM based block devices to create temporary filesystems and swap disks.

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
SysOps

How to fix multipath daemon error about missing path when using VirtualBox

Fix multipath daemon error about missing path when using VirtualBox.

Categories
SysOps

How to restart systemd service in case of failure

Configure systemd service to be restarted in case of failure.

Categories
SysOps

How to determine which services need to be restarted

Use needrestart utility to determine which services need to be restarted after the upgrade.

Categories
SysOps

How to access rdiff-backup repository using fuse

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

Categories
SysOps

How to create custom bash prompt

Today, I will show you my personal shell prompt, so you could define your own custom bash prompt.