Linux CS

Commands Logging journalctl -f [f]ollow new messages (like `tail -f` for traditional syslog): journalctl -u kibana -f journalctl –since now|today|yesterday|tomorrow –until YYYY-MM-DD HH:MM:SS Filter messages within a time range (either timestamp or placeholders like “yesterday”): journalctl _PID=pid Show all messages by a specific process: Process Files Users Kernel lsmod Shows the status of linux kernel modules. modprobe Add or remove modules from the Linux kernel....

April 4, 2022 · 1 min · Jaaved Khan

Interacting with processes in Linux(Debian)

Summary Process Commands to show running processes ps: snap short of current processes top: Display and update sorted information about Linux processes. atop: Advanced System & Process Monitor for Linux. htop: Interactive process viewer in Linux. pgrep: Look up or signal processes based on name and other pstree: Display a tree of processes. ps ps -aux | grep buildbot ref

April 4, 2022 · 1 min · Jaaved Khan