Linux command-line: Gather process resource utilization directly by viewing files in /proc.

Опубликовано: 10 Октябрь 2024
на канале: Chandrashekar Babu
224
11

Linux exposes a lot of statistics related to a running process under /proc/[pid]/ folder (where /proc is mounted as the proc filesystem).

In this video, you will learn how to use basic Linux commands (cat, grep, cut, watch) to gather process memory, CPU and I/O usage statistics. This feature will be useful if you are going to create your own monitoring tool for Linux based systems.