Week 5 Flashcards
Programs
The applications
Processes
Programs that are running
What is each process given when started up?
A processID
What’s another name for background process?
Daemon process
What is the first non kernel user mode that starts when Windows boots up?
Session Manager Subsystem (smss.exe)
What handles the Windows GUI and command line council?
Client/Server Runtime Subsystem or csrss.exe
How to kill a task in command prompt?
taskkill /pid pid#
What’s a difference between processes in windows and linux
The child process is independent of the parent process in Windows, but not in Linux. The init in Linux has a processID of 1 and all processes stem from it.
How do you obtain the process list in command prompt and PowerShell?
tasklist in command prompt
Get-Process in PowerShell
How to see process list in Linux?
ps -x
How would you see if a specific process is running in Linux?
ps -ef | grep application_name
Signal
A way to tell a process that something’s just happened
Process Explorer
A utility Microsoft created to let IT support specialists, system administrators, and other users look at running processes
What’s the command to kill a process in Linux
kill
To stop a process in Linux?
kill -TSTP