Chapter 14: Task Management
๐ Process Auditing with tasklist
If an application freezes, hangs, or consumes too much CPU or RAM, system administrators use Command Line tools instead of the graphical Task Manager in ๐ช Windows 11:
- List Processes: Running
tasklistdisplays a table of all active applications and background services, including their Image Name, Process ID (PID), Session Name, and Mem Usage (in KB). - Verbose Details (
/v):Displays additional fields including the user account running each process and the exact window title name (e.g.>_Command Promptโโโtasklist /vInteractive ConsoleNextsem - Google Chrome). - Filtering Results (
/fi): You can filter processes using query operators (likegtfor greater than):Lists only the processes that consume more than 100 MB of system RAM.>_Command Promptโโโtasklist /fi "memusage gt 100000"Interactive Console