"WindowServer" Process - Drawing Graphics on Screen

This section describes 'WindowServer' process, which serves all apps to draw their graphical elements on the desktop.

What Is "WindowServer" Process? - "WindowServer" is a system process that serves all apps to draw their graphical elements on the desktop. The more apps you are running on the desktop, the more resources will be consumed by the "WindowServer" process.

Here is what I did about "WindowServer" process.

1. View "WindowServer" process with "ps" command.

herong$ ps -A | grep WindowServer
  138 ?? 221:28.59 /System/Library/PrivateFrameworks/SkyLight.framework
    /Resources/WindowServer -daemon

2. Get resource usage info of "WindowServer" process. It's taking 192 MB of RAM, not too bad.

herong$ top -pid 138
...

PID  COMMAND      %CPU TIME     #TH  #WQ  #PORT MEM   PURG  CMPRS PGRP PPID
138  WindowServer 5.6  03:43:49 6    2    1497  192M- 106M  416M  138  1

3. Keep "WindowServer" process running. I don't want my apps displaying blank windows.

Table of Contents

 About This Book

 Macintosh OS (Operating System) History

 macOS Operating System

 macOS File Systems

 macOS Network Connections

System and Application Processes

 What Is a Running Process

 Use Activity Monitor on macOS

 "ps" - Process Status Command

 "top" - Display Top Processes

 "nettop" - Processes Top Network Usages

 "Finder" Process - File Browser on Mac

"WindowServer" Process - Drawing Graphics on Screen

 "Dock" Related Processes

 "Siri" Processes - Voice Command Interpreter

 "mds" Processes - Metadata Server and Spotlight

 "spindump" Processes - Dump Memory Contents

 "login" Processes - Login Window and Services

 "softwareupdate" Processes - Update System and Apps

 "TeamsUpdater" Process from Microsoft Teams

 Keychain Access - Password Manager

 Keychain Access - Certificate Manager

 Productivity Tools on macOS

 Programming Tools on macOS

 Apache Web Server on macOS

 Develop and Run Java Applications

 Full Version in PDF/EPUB