Process Monitoring Commands

Duration: 8 min

This video lesson is available to enrolled students.

Return to /learn/ISRO/operating-system/linux-os/essential-commands/asset-process-monitoring-commands after enrolling

Inside: a video lesson and guided study material.

Module outline

  1. About Course: About the Course
  2. General Aptitude & Reasoning: Number System, Percentage, Ratio and Proportion (Ratios), Average, Profit and Loss, Simple Interest and Compound Interest, Time and Work, Speed Time and Distance, Mixture and Alligation, Data Interpretation, Algebra, Probability, Permutation and Combination, Venn Diagram, HCF LCM, Divisibility Rules, Age Problems, Pipe and Cistern, Partnership, Linear Algebra, Sequence and Series (Series), Statistics, Powers and Exponents (Surds and Indices), Arithmetic, Mensuration and Geometry, Calculus, Trigonometry, Vectors, Speed Mathematics and Basic Mathematics, Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning), Analogy, Series (Number and Letter Series) (Numerical Relations and Reasoning), Puzzle Solving (Puzzles), Syllogisms, Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning), Calendar, Seating Arrangements, Coding Decoding, Blood Relations, Directions (Direction Test), Clock, Analytical Reasoning (Counting Figures Reasoning), Ranking, Order and Sequence, Logical Sequence Of Words, Inequality, Data Sufficiency, Cubes & Dices
  3. Computer Networks & Cybersecurity: Introduction to CN, Data Communication, DLL: Access Control, DLL: Flow Control, DLL: Error Control, DLL: Framing, Data Link Layer - Ethernet, Net Layer: IPv4 & Proto, Net Layer: IP Addressing, Net Layer:Routing Protocol, Transport Layer Services, TL: Congestion & UDP, Application Layer, Hardware Basics, Network Security
  4. Programming, Data Structures & Algorithms: C Fundamentals, Control Flow, Functions, Arrays & Pointers, Storage Classes, Structures & Enums, DMA, Macros, Scoping & File Handling, OOPS with C++, Introduction to DS, Array, Stack, Queue, Linked List, Tree, Graphs, Hashing, Algorithm Analysis, Time Complexity Analysis, Sorting Algorithms, Greedy Algorithms, Dynamic Programming, Minimum Spanning Trees, Shortest Path Algos, Advanced Algorithms
  5. AI, Machine Learning, Big Data & Cloud: Emerging Tech Trends, Artificial Intelligence, Big Data Systems, Approaches to AI, Search Algorithms, Knowledge Representation, Cloud Computing
  6. Digital Logic & Computer Organization: Digital Systems & Boolean Basics, Logic Gates & Hardware, Boolean Expression, Boolean Minimization, Combinational Circuit, Sequential Circuits, Number System, Number Representation, Basics of COA, Floating Point Rep, Cache Memory Organization, Input Output Organisation, Pipelining, Instr Formats & Modes, Register Transfer and Microoperations, Control Unit Design, Programming the Basic Computer
  7. TOC & Compiler: Introduction to TOC, Deterministic FA (DFA), Non-Deterministic FA, Regular Expressions, Grammar, Regular Language Properties, Moore & Mealy Machines, Pushdown Automata & CFG, Turing Machines, Complexity Theory, Intro to Compilers, Lexical Analysis, Grammar & CFG, Syntax Analysis: Top-Down, Syntax Analysis: Bottom-Up, Semantic Analysis & SDT, Intermediate Code Gen, Code Optimization, Run Time Environment
  8. Discrete Mathematics: Set Theory, Relations, Functions, Graph Theory, Group Theory, Propositional and Predicate Logic
  9. Operating System: Introduction to OS, Process Management, CPU Scheduling, Process Synchronization, Threads & Process Creation, Deadlock, Memory Management, Virtual Memory, Disc Scheduling, File Management, Unix OS, Linux OS, Distributed Systems
  10. Software Engineering: Fundamentals of Software Engineering, Software Requirements and Quality Assurance, Software Design, Estimation and Metrics, Software Testing, Software Maintenance and Configuration Management, Object Oriented Technology, HTML Basics, JavaScript-Basics, Java, XML
  11. Database Management System: Basics of DBMS, ER Diagram, Relational Model & Functional Dependencies, Keys & Integrity Constraints, Normalization (1NF - BCNF), Decomposition Properties & 4NF, File Organization & Indexing, Relational Algebra, SQL, Relational Calculus, Transaction Management, Concurrency Control, Database Recovery, Data Warehousing & Mining, Enhanced Data Models, NoSQL
  12. Other Recurring CS Topics: Basics of Computer Graphics, 2-D Geometrical Transforms and Viewing, Multimedia
  13. Live Classes: ISRO Live classes
  14. Full Mock Test:
AI summary & chapters

AI Summary

An AI-generated summary of this video lecture.

This lecture introduces Linux process monitoring commands, focusing on mpstat, pidof, pmap, ps, and top. The instructor uses a slide titled “Process Monitoring Commands” with a table listing each command, its purpose, and example terminal output. mpstat is shown reporting CPU utilization on a multiprocessor system using “mpstat 2 3,” with output columns such as %usr, %nice, %sys, %iowait, %irq, and %idle. pidof is demonstrated by “pidof nginx” returning PIDs 2456, 24157, and 2458, while “pidof sshd” returns 1120. pmap is shown with “pmap 2456,” displaying the memory map of an nginx master process, including Address, Kbytes, RSS, Dirty Mode, and Mapping columns. The lesson then transitions to ps and top: “ps -ef | head -5” provides a static snapshot of current processes, while “top” shows real-time interactive monitoring with load average, task counts, CPU/memory lines, and a live process table. The key distinction emphasized is that ps captures one-time process state, whereas top continuously updates process information.

Chapters

  1. 0:00 – 2:00 00:00-02:00

    The opening slide presents a table of process monitoring commands with columns “Command,” “What it Does,” and “Example (with Output).” The first rows cover mpstat, pidof, and pmap. On-screen terminal examples include “mpstat 2 3” with CPU columns such as %usr, %nice, %sys, %iowait, %irq, and %idle; “pidof nginx” returning “2456 24157 2458”; and “pmap 2456” showing an nginx process memory map.

  2. 2:00 – 5:00 02:00-05:00

    The instructor continues explaining the same command table, using red annotations to highlight important output details. A red box marks “(4 CPU)” in the mpstat header, a red underline and arrow point to “pidof nginx,” and a red circle surrounds the returned PIDs. The slide text defines mpstat as reporting CPU utilization on a multiprocessor system, pidof as returning the PID of a running process by name, and pmap as displaying the memory map of a process.

  3. 5:00 – 7:45 05:00-07:45

    The slide shifts to the ps and top commands. The example “ps -ef | head -5” lists processes such as systemd, kthreadd, rcu_gp, and nginx, while the “top” example shows load average, “Tasks: 189 total,” CPU and memory lines, and a process table including nginx and sshd. A bottom note states that ps provides a static snapshot of processes, while top provides real-time interactive process monitoring.

The lecture builds a practical overview of Linux process monitoring by pairing command definitions with concrete terminal output. The first part emphasizes system-level and per-process inspection: mpstat for CPU utilization, pidof for finding process IDs by name, and pmap for examining a process’s memory map. The second part contrasts two core monitoring tools: ps, which gives a static snapshot of current processes, and top, which provides continuous real-time monitoring. For exam revision, students should remember that mpstat reports multiprocessor CPU statistics; pidof maps process names to PIDs; pmap shows memory mappings for a given PID; ps -ef lists current processes in full format; and top is interactive, displaying live load average, task counts, CPU/memory usage, and per-process activity. The central teaching point is choosing the right tool: use ps for a one-time snapshot and top when ongoing, real-time process monitoring is needed.

Loading lesson…