"login" Processes - Login Window and Services

This section describes 'login' processes, which are created by the operating system to display the login window and provide login services.

What are "login" Processes? - "login" processes are created by the operating system to display the login window and provide login services.

Here is what I did about "login" processes.

1. View "login" processes with "ps" command.

herong$ ps -A | grep login

  102 ??      0:00.61 /System/Library/CoreServices/logind
  101 ??      1:18.11 /System/Library/CoreServices/loginwindow.app/Contents
    /MacOS/loginwindow console
10088 ??      0:43.55 /System/Library/CoreServices/loginwindow.app/Contents
    /MacOS/loginwindow
27957 ??      0:00.25 /usr/libexec/loginitemregisterd
  805 ttys000 0:00.02 login -pfl herong /bin/bash -c exec -la bash /bin/bash
  ...

2. Check CPU and memory usages of "login" processes using "top" command.

herong$ top -pid 101 ...

  PID COMMAND      %CPU TIME     #TH  #WQ  #POR MEM  PURG CMPR  PGRP  PPID
  101 loginwindow  0.0  01:24.70 3    2    642  24M  0B   37M   101   1
  102 logind       0.0  00:00.63 2    1    134  972K 0B   596K  102   1
27957 loginitemreg 0.0  00:00.25 2    2    34   644K 0B   588K  27957 1

3. Keep "login" processes running. You need the login window to be able to login to the computer.

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