Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Linux Process Monitoring & Diagnostics using /proc interface
16 students

Linux Process Monitoring & Diagnostics using /proc interface

Unlock the Power of Linux Process Monitoring and Optimization via /proc and Build Custom Automation Scripts For The Same
Last updated 10/2024
English

What you'll learn

  • Learn about the significance of the procfs (/proc) interface on Linux
  • Learn how to gather process information via procfs
  • Learn how to monitor / track memory, CPU and I/O usage of a process via procfs
  • Learn how to check if a process is CPU-bound or I/O bound
  • Learn how to gather major fault / minor fault statistics, process priority, last CPU executing the process and scheduler statistics
  • Learn how to get details of files open by the process, shared libraries mapped into process memory, and process memory map
  • Learn about OOM score of a process and how to adjust them for specific use-case requirements
  • Learn how to gather CGroup and Namespace details of a process
  • Learn how to gather kernel stack info for a process, process physical memory mapping and thread information
  • Learn how to build custom scripts / tools for monitor processes

Course content

7 sections23 lectures14h 1m total length
  • Introduction to the Course3:30

    Hi,

    My name is Chandrashekar and I am your instructor for this training course on Linux Process Monitoring and Diagnostics using /proc interface.


    About this course
    In this training course, you will gain the skills to effectively monitor, analyze and troubleshoot Linux processes using the /proc filesystem interface.


    You will also learn how to access detailed, real-time information about processes - that includes memory, CPU usage and other system-wide statistics.


    I will be covering most of the concepts using practical examples and hands-on demonstrations to show you how to monitor and diagnose performance issues, optimize resource usage and gain deeper insights into the Linux process subsystem.


    This course is suitable for you if you are a developer who develops applications, frameworks or utilities for Linux, or if you are a Linux system administrator or a DevOps engineer, or a Linux enthusiast interested in deepening your understanding of Linux internals and process susbsystem in general.


    About myself
    I've been a Linux enthusiast since the year 1995, though I have extensively worked also on FreeBSD and NetBSD platforms.


    I've been delivering training programs primarily to large corporations on the Linux stack and other open source frameworks/tools and programming languages on the Linux stack since 2003.

Requirements

  • Basic knowledge of Linux command-line that includes the shell, basic linux command for managing files and processes
  • Knowledge of OS concepts and the Linux architecture covered in my course "Introduction to Linux Kernel Development" is preferred
  • A working Linux environment with command-line interface using the bash shell or equivalent with administrative access ('root' user / sudo access)

Description

Linux Process Monitoring and Diagnostics using the /proc Interface is a comprehensive course designed for system administrators, developers, and anyone looking to gain a deeper understanding of Linux process management. This course focuses on the /proc filesystem (procfs), an essential interface for monitoring, diagnosing, and analyzing Linux processes and system performance.


Throughout the course, you'll learn how to explore and utilize procfs to gather critical process-specific information, including CPU and memory usage, file descriptors, I/O statistics, and thread details. We’ll also cover system-wide statistics like CPU load, memory allocation, disk I/O, and network performance, all accessible via the /proc interface.


Beyond monitoring, you'll dive into advanced topics like resource limits, scheduler statistics, and how to troubleshoot stuck processes using procfs. Real-time monitoring tools like top, slabtop, htop, ps, lsof, fuser, and many more command-line tools will be integrated into your workflow to give you hands-on experience with dynamic system diagnostics.


By the end of the course, you’ll have the skills to write custom scripts for process monitoring and diagnostics, automate system monitoring tasks, and interpret complex process data. Whether you're managing servers, debugging applications, or optimizing system performance, this course equips you with essential tools and knowledge for mastering Linux process internals.

Who this course is for:

  • Linux System Administrators, DevOps engineers, Developers, Security Analysts and Systems Engineers
  • Linux Enthusiasts and Beginners inclined towards learning Linux features in-depth