Book Image

Mastering Linux Network Administration

By : Jay LaCroix
Book Image

Mastering Linux Network Administration

By: Jay LaCroix

Overview of this book

Linux is everywhere. Whether you run a home office, a small business, or manage enterprise systems, Linux can empower your network to perform at its very best. Armed with the advanced tools and best practice guidance of this practical guide, you'll be able to mold Linux networks to your will, empowering your systems and their users to take advantage of all that Linux-based networks have to offer. Understand how Linux networks function and get to grips with essential tips and tricks to manage them - whether you're already managing a networks, or even just starting out. With Debian and CentOS as its source, this book will divulge all the details you need to manage a real Linux-based network. With detailed activities and instructions based on real-world scenarios, this book will be your guide to the exciting world of Linux networking.
Table of Contents (17 chapters)
Mastering Linux Network Administration
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Understanding the systemd journal


Another component of systemd is journald, which handles logging. The systemd method of journald enables binary logs, which is quite a different approach to simple text files as used before. Due to the fact that many distributions which have adopted systemd are still in a transitional phase, you're likely to still see text file logs in /var/log in much the same way as you still may see init scripts in /etc/init.d. It's always recommended to use the systemd approach whenever possible, as that is the current solution that distributions are moving toward.

You can view journald logs with the journalctl command. In addition, various options can be used with the journalctl command in order to narrow down the output or perform certain actions. For example, you can use journalctl -f to follow new log output on your system, similar to how you could do the same with tail -f against log files stored in /var/log. Additionally, you can use journalctl to show output from...