Module 5 bulk Flashcards

1
Q

when Windows first boots up, what is the first non-kernel and user mode that starts up?

A

the Session Manager Subsystem, smss.exe

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is the smss.exe process in charge of?

A

some stuff that gets the OS to work. initializing the system environment, setting up system variables, starting core processes like winlogon.exe and csrss.exe.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what starts winlogon.exe?

A

smss.exe

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is the client server runtime subystem process in charge of?

A

csrss.exe is in charge of the GUI and command line console.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what process does Linux use as the first process?

A

Init

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what does each new process in Windows need to tell the operating system that a new process needs to be made?

A

a parent

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what do child processes in Windows inherit from parents?

A

variables, settings: environment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

can linux processes operate independently of their parents?

A

no

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what happens if you kill a parent process in Windows?

A

the child keeps running

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

how do you stop a process from running in Windows if you are most users?

A

click the x in the GUI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what command prompt utility can you use to end tasks in Windows? to find and end them.

A

taskkill

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what is a common way to use taskkill to end tasks in Windows?

A

use an identification number.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what is PID?

A

process identification number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what is the format for taskkill to use PID to kill the task that you want to kill?

A

taskkill /pid PID#

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

how do you find the PID of a process you want to kill in Task Manager?

A

Task manager, by doing ctrl+alt+del and selecting task manager, and going to the details tab.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what is image name?

A

the exe name and extension without the file path to the exe. the name of the executable file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

in taskkill, what does “”“/s <computer””” specify?

A

the name or IP address of a remote computer. the default is the local computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

in taskkill, what does “”“/u <domain> \<username>""" do?</username></domain>

A

runs the command with the account permissions of the user who is specified by the username or by the domain/username. can be specified only if /s is specified. the default is permissions of the user who is logged into the computer issuing the command.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

with taskkill, what does “”“/p <password>""" specify?</password>

A

the password of the user account that is specified in the /u parameter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

in taskkill, what does /fi do?

A

applies a filter to select a set of tasks. can use * to specify all tasks or image names.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

what does /pid do in taskkill?

A

specifies the process ID of the process to be terminated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

what does /f do in taskkill?

A

specifies that processes by forcefully ended. Parameter is ignored for remote processes. all remote processes are forcefully ended.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

what does /t do in taskkill?

A

ends the specified process and any child processes it started.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

what does it mean for processes to have a parent child relationship?

A

the processes that are launched come from other processes. Linux.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

in this command, what process is the parent process?
less /etc/some_file | grep Hello

A

the less command is the parent process to the grep process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

what is the PID of init?

A

1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

what is the parent process of all other processes in Linux?

A

init

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

what happens when we finish processes in Linux?

A

they will terminate automatically and release all the resources they were using so they can be used for other processes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

what is one main difference between Windows and Linux processes?

A

the Linux processes cannot operate independently of parent processes (they have a parent-child relationship), and Windows processes can operate independently.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

when we execute a program, what do we launch?

A

a process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

what type of process is a daemon process?

A

a background process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

what is the name of the process that starts up other processes needed to boot a Linux OS?

A

Init

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

what process in Windows OS handles running the GUI and command line console?

A

csrss.exe?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

what can I think of processes as?

A

codes in motion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

what runs process codes stored on the hard drive?

A

the OS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

what is the usual way of seeing process information on Windows?

A

taskmgr.exe

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

what key combo opens task mgr?

A

ctrl+shift+esc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

what do you see in processes tab of task manager:

A

processes user is running and that the system is running.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

what do the process manager page columns tell you?

A

what apps are running, user who launched it, CPU used, memory used, disk used,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

how to kill a process in task manager

A

select the process, hit end task button in low right corner

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

where is the pid in task manger?

A

details menu.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
42
Q

what utility in command prompt shows all running processes? with pid and all.

A

tasklist.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

what command in PowerShell will get a list of processes and their pids?

A

Get-Process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
44
Q

what does Get-Process do by default without parameters?

A

get all processes on the local computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
45
Q

what command can be used to view process in linux?

A

ps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
46
Q

what happens if you run ps -x?

A

system shows a snapshot of current processes running.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
47
Q

in ps, what is the terminal associated with a process?

A

TTY column

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
48
Q

what column is the process status in Linux ps -x?

A

stat.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
49
Q

what do the letters mean in STAT?

A

R: running.
T: stopped
S: interruptible sleep

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
50
Q

what does R mean in Linux for a process status?

A

running or waiting to run

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
51
Q
A

stopped, suspended,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
52
Q

what does s mean in process status Linux?

A

task is waiting for an event to complete before it resumes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
53
Q

what is the TIME column in ps -x?

A

the total cpu time the process has taken up

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
54
Q

what is the command column in ps -x?

A

the name of the command we’re running.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
55
Q

what is the ps -ef command? Linux. what is -e used for? what is -f used for/

A

-e is used to get all processes, even from other users, -f is for full details about a process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
56
Q

what is UID in linux? ps -ef

A

user id of the person who launched the process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
57
Q

what is ppid in ps -ef?

A

the parent ID.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
58
Q

in ps -ef, what is C?

A

the number of children processes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
59
Q

in ps -ef, what is S?

A

the start time of the process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
60
Q

in ps -ef, what is TTY?

A

the terminal associated with the process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
61
Q

in ps -ef, what is TIME?

A

the total CPU time the process has taken up.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
62
Q

what is cmd in ps -ef?

A

the name of the command we are running

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
63
Q

how can you find processes in the ps command?

A

grep

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
64
Q

how do you use grep to find Chrome in the list of processes?

A

”"”ps -ef | grep Chrome”””

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
65
Q

how do you view the files that correspond to processes?

A

ls -l /proc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
66
Q

how do you look at a process status? subdirectory

A

cat /proc/<pid>/status</pid>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
67
Q

what is the best command to use to look at processes and troubleshoot them?

A

ps -ef

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
68
Q

what does ps do according to man?

A

report a snapshot of the current processes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
69
Q

what does ps do by default?

A

selects all processes with the same effective user ID as the current user and associated with the same terminal as the invoker.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
70
Q

what is BSD in Linux?

A

a family of os derived from berkeley unix. openbsd, freebsd, netbsd, dragonflybsd. not linux. haha. sorry.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
71
Q

what do you use in Windows to tell a process to quit at the system level?

A

a signal

72
Q

what is a way to tell a process something has happened?

A

signal

73
Q

how can you generate a signal?

A

with special characters on your keyboard, and other processes and software

74
Q

what is one of the most common signals?

A

sigint

75
Q

what does sigint stand for?

A

signal interrupt

76
Q

what key combination can you use to send a signal to a process? in the command line

A

ctrl -c

77
Q

what do signal names start with in Linux?

A

sig

78
Q

in linux, what does sig int do? by default

A

interrupt a process, terminate the process that is interrupted. with ctrl -c

79
Q

what does ctrl c show up as in the linux terminal?

A

^C, sometimes

80
Q

what process management tool lets you restart or pause processes in Windows?

A

Process Explorer

81
Q

what is a utility that Microsoft created to let IT support specialists, system admin, and other users look at running processes?

A

Process Explorer

82
Q

what does process explorer show you when you first open it up?

A

a view of the currently active processes in the top window pane., list of files a selected process is using in the bottom window pane.

83
Q

why do you want to see files a process is using?

A

so you can figure out what processes use a file, or if you want to see what a process is doing and how it works.

84
Q

how do you use ctrl -f in process explorer?

A

to find stuff. may also use binocular button

85
Q

how do you find notepad in process explorer?

A

ctrl f, notepad.exe

86
Q

what does mui stand for?

A

multilingual user interface

87
Q

where is notepad.exe nested?

A

under command.exe if it was a child of command.exe. the process explorer lists parent processes.

88
Q

what happens if you right click on a process?

A

you get a list of options you can use to manage it.

89
Q

what does kill process tree do?

A

kill the process and all of its descendants

90
Q

what does restart do in process explorer?

A

stop and start the process again.

91
Q

when you restart a process from the process explorer, what will the parent process be?

A

procexp.exe (process explorer)

92
Q

what does the suspend option in process explorer do?

A

you can use it to suspend the process and maybe continue it later.

93
Q

why would you suspend a process?

A

you can debug it, make it so it doesn’t consume the resources it did when it was active.

94
Q

how can you resume a suspended process?

A

right click in process explorer on the process, click resume

95
Q

what happens if you kill the csrss.exe process?

A

the session will be forcibly terminated, but not only that, you can really damage your computer.

in other words… this sounds like it would be funny. I kinda wanna do it. haha.

96
Q

how do you run process explorer?

A

in the search bar next to the windows start menu, search procexe.exe

97
Q

what is dll?

A

dynamic link library. the executable file in Windows that many programs can share to complete tasks.

98
Q

what is dgbhelp.dll?

A

a dynamic link library that’s part of the Debug Help Library. dbg: debug. small programs larger programs can load when they need to analyse information about a file or running process.

99
Q

what is sigterm?

A

termination signal

100
Q

what does the kill command do without any flags?

A

sends a sigterm, termination signal, which will kill the process, while also giving it time to clean up the resources it was using.

101
Q

what happens if you don’t give a process the opportunity to clean the files it is working on?

A

killing it can cause file corruption.

102
Q

how do you use the kill command to kill a process in the command line?

A

””” kill <pid#> “”””

103
Q

what is the sigkill signal?

A

a signal to kill processes with fire. haha.

104
Q

what does sig term do?

A

tells process it can stop

105
Q

what does sigkill do?

A

tells process it is time to die!!!
Kills without giving time to clean up.

106
Q

what is the flag you add to the kill command which sends the SIGKILL signal?

A

-KILL “”” kill -KILL <pid> """</pid>

107
Q

when do you use kill -KILL?

A

as a last resort to terminate a process

108
Q

what signal can you send to put a process on pause?

A

send the SIGTSTP signal, the terminal stop signal. kill -TSTP pid#

109
Q

what does -TSTP do?

A

with the kill command in the command line, it puts the process in suspension.

110
Q

what do you run to see the status of processes?

A

ps -x

111
Q

what keyboard combination sends the sigtstp signal?

A

ctrl z

112
Q

what signal resumes execution of a process?

A

SIGCONT, kill -CONT

113
Q

can you see a list of running processes in mobile devices?

A

no

114
Q

what manages details of processes in android?

A

OS

115
Q

How can you manage running mobile apps in Android?

A
116
Q

how do you check which apps are running in iOS and Android?

A

open the app switcher.

117
Q

what do you call apps you are using?

A

foreground appswha

118
Q

what do you call apps you are not using that are running?

A

background

119
Q

what happens with background apps?

A

basically, the OS will suspend them as soon as it can, as much as it can.

120
Q

what will the OS of a mobile device occasionally do to a background app that is suspended?

A

wake it to allow it to do some work.

121
Q

what happens when you are on the home screen of your device?

A

all of the apps are backgrounded. to save battery.

122
Q

what apps can slow the device down and use up more battery?

A

apps that can’t be suspended because they work in the background or that are frozen.

123
Q

what do you need to do with apps that misbehave?

A

close or uninstall them.

124
Q

how do you close apps in a mobile device?

A

swipe up on it from the app switcher screen

125
Q

what is one way you can troubleshoot a device for apps that are slowing it down?

A

close apps and test which ones are affecting the device. start with the one that is currently being used to see if that helps. Work backward through time, and work one app at a time to isolate. You should not have to do this often.

126
Q

what does the app switcher order show?

A

the most recently used to least recently used apps

127
Q

when do you have to close an app for performance reasons?

A

the app is misbehaving.

128
Q

what often uses more battery:
opening and closing an app
leaving an app open and running

A

opening and closing an app

129
Q

what can you do if you discover a misbehaving app?

A

reset it by clearing its cache.

130
Q

what do you do if your device is still sluggish after you close all of the apps?

A

restart the device

131
Q

what happens if restarting the device is only a temporary fix for your issues?

A

dig deeper.

132
Q

what can you see in battery health? (settings, battery, more, battery usage)

A

how fast battery has been used since last charge, which apps use the most battery

133
Q

what can it mean if an app is using tons of battery?

A

it may not be working as it should or it may need a lot of battery to work.

134
Q

how do you force an app to close in apple?

A

if unresponsive, go to app switcher, swipe up, kills process.

135
Q

how to get to app switcher in iOS?

A

swipe up from bottom, hold, swipe left, right, tap app you want.

136
Q

what kind of process does almost every android application run in?

A

its own Linux process

137
Q

what is an application process’s memory determined by in Android?

A

the system, using a combination of the parts of the application that the system knows are running, how important they are, and how much system memory is available.

138
Q

what can result in the system killing the application’s process while it is doing important work?

A

not using activity, service, and broadcastreceiver correctly

139
Q

what kind of android process is required for what a user is currently doing?

A

foreground process

140
Q

when are foreground processes killed?

A

if there is a bug with the BroadCast Receiver or another aspect, or if the memory is so low that not even these processes can run. Happens if the memory reaches a memory paging state, and process killing is then vital to keep the user interface responsive.

141
Q

what kind of process is doing work a user is currently aware of, so killing it has a noticeable negative impact on user experience?

A

visible process

142
Q

what kind of process can have activity visible to the user on-screen, but is not in the foreground? if the activity is displayed as a dialog that lets the previous activity be seen behind, for example.

A

visible process

143
Q

what kind of process on a mobile device might be hosting a service the user is aware of, like a live wallpaper or input method service?

A

visible process

144
Q

when are visible processes killed?

A

if doing so will keep foreground processes running.

145
Q

what is process that holds a service which is not directly visible, but is generally doing things the user cares about like background network data upload or download?

A

service process.

146
Q

when are service processes demoted?

A

if they have been running a long time

147
Q

what can you do with service processes to allow them to run in a scheduled manner?

A

schedule through the AlarmManager

148
Q

what kind of process is not currently needed, so the system can kill it at will when resources from it are needed elsewhere?

A

a cached process

149
Q

what are the only processes normally killed in a normally behaving mobile device?

A

cached processes

150
Q

when does a system kill all cached processes and start killing service processes?

A

critical situations

151
Q

what should cached state apps do?

A

cease all work.

152
Q

when can a process’ priority be increased?

A

if a process is bound to a higher process, it is classified as being as important as it is. Also, the process’ importance will be determined by the importance priority of its components to the user.

153
Q

what is the amount of time a device runs before it needs to be recharged?

A

battery life

154
Q

what is the amount of time a battery lasts until it needs to be replaced?

A

battery lifespan

155
Q

how should an iPhone be stored?

A

at half charge when long-term stored, in room temp, out of direct sun exposure

156
Q

what does it mean when your iPhone battery life starts decreasing?

A

the battery’s chemical age is diminishing the amount of charge it can hold.

157
Q

what can happen when a battery in an iPhone chemically ages?

A

diminished charge hold, diminished performance, battery impedance

158
Q

when can you temporarily increase an old battery’s impedance, making it provide insufficient power?

A

get it in a low charge, in the cold.

159
Q

what happens when power is pulled from a battery with a higher level of impedance?

A

the voltage of the battery will drop to a greater degree

160
Q

what happens when operations in a mobile device can’t be supported by the battery, due to a high level of impedance?

A

it will shut down to preserve the electrical components, which can seem unexpected.

161
Q

when can a user get unexpected shutdowns related to battery?

A

low charge, high chemical age, colder temps

162
Q

what will extreme performance management by an iPhone system sometimes look like?

A

long app launch time, low frame rate, dim backlight, low speaker volume, disabled flash, refreshing apps need reloaded on launch.

163
Q

what is not affected by iPhone performance management?

A

cellular call quality, networking throughput performance, photo and video quality, GPS, Location accuracy, gyroscope, accelerometer, barometer, apple pay.

164
Q

when are performance-management changes temporary for apple?

A

low battery state and cold temps

165
Q

how do you improve device performance issues caused by chemical age?

A

replace the battery

166
Q

what happens to device battery capacity when it ages?

A

gets smaller.

167
Q

can you use a non-genuine apple battery for an iPhone?

A

yes. hah. But it will yell at you if you try to check battery health.

168
Q

how do you look at system resources in Windows?

A

resource monitoring tool

169
Q

where can you launch resource monitoring from?

A

start menu

170
Q

what do you see in resource monitoring?

A

5 tabs of info. Overview of resources on the system, and information about resources. Process monitor info, data about resources consumed by processes,

171
Q

where can you see resource monitoring information in process monitor?

A

right click on a process, properties, performance graph

172
Q

what do you see in performance graph in process management process properties?

A

CPU, memory (private bytes), disk (i/O)

173
Q

how do you get resource monitoring info in PowerShell?

A

Get-Process.

174
Q

what do you get if you run Get-Process without options?

A

get information for each running process on system.

175
Q

what is NPM(K)?

A

amount of non-paged memory the process is using in Kilobytes.

176
Q

in Get-Process, how do you display only the top three processes using the most CPU?

A

Get-Process | Sort CPU -descending | Select -first 3 -Property ID,ProcessName,CPU

177
Q
A