[Linux](EN) Check systemd log using journalctl

Briefly review about journalctl

Environment and Prerequisite

  • Linux base system
  • Bash shell(/bin/bash)

What is journalctl?


  • systemd log is called journal.
  • journalctl query logs of systemd.


Basic Usage

  • Use journalctl command with options
journalctl [OPTIONS...] [MATCHES...]

Example - Check end of journals with explanatory explanations(errors or events)

  • Use -xe option
journalctl -xe

Example - Check specific unit journals

  • Use -u option
journalctl -u [systemd unit name]

Example - Keep tracking journals

  • Use -f option
journalctl -f


[Python] pdb를 이용해 파이썬 코드 디버깅하기

> pdb를 이용해 python 코드를 디버깅하는 방법을 알아보자.## 환경- Linux 기반 시스템- Bash shell(/bin/bash)- Python## pdb### pdb란?- ```pdb``` : 파이썬 디버깅 도구로 파인썬 인터프리터...… Continue reading