Module 5 bulk 2 Flashcards

1
Q

what does Get-Process do without options?

A

give you process information for each running process in the system, or on a remote computer.

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

how would you display the top processes in powershell using the most cpu?

A

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

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

what does the command
Sort CPU -descending
do?

A

feeds piped input into the sort command, which sorts the input based on the CPU column, in descending order from least to greatest.

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

the Get-Process command is singular in its name, but can it get many processes?

A

yes.

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

computer idea:

A

the ergolap: a computer or computer-holding or adapting device that is as portable as a laptop, but allows you to move the screen to be eye-level height, and to use a keyboard that can be pulled out and ergonomically manipulated from by the screen.

ideally, the device would be able to be molded to fit multiple shapes and still allow rapid keypad entries.

I wonder if this is being made or has been.

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

what does the
Format-List *
cmdlet do?

A

displays all available properties * of the piped input.

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

How many mb is requested for the command

Where-Object {$_.WorkingSet -gt 20000000}

A

20

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

learn about Get-Process

A

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-process?view=powershell-5.1#syntax

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

what is the Google DNS IP address?

A

8.8.8.8

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

what should you set for the DNS server addresses?

A

208.67.222.222
66.228.116.179
those are opendns, and you can also use
8.8.8.8
and
8.8.4.4
which belong to Google

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

what command in Linux will show you what your system utilization looks like? Shows the top processes that are using the most resources on the machine, total tasks running or idle, CPU usage, memory usage, more.

A

top.

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

what are the common things people look at in the top command?

A

%CPU, %MEM. what CPU and what memory usage a single task is taking up

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

how do you get out of the top command?

A

q

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

what is one of the most common reasons for a user’s computer to be running slow?

A

overuse of hardware resources

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

what is a potential solution to the problem of overuse of hardware resources?

A

upgrade your usage, get rid of bloat, free up storage, close processes and programs.

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

what should you do if you find that a process in top is taking up a lot of resources?

A

check what the process is doing, terminate as needed to get back the resources the process was using.

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

What Linux command shows information about the current time, how long your system has been running, how many users are logged on, and what the load average of the machine is.

A

uptime

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

what metric shows the average CPU load in 1, 5, and 15 minute intervals?

A

load average, linux

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

when are load averages useful?

A

when you need to see how your machine is doing over time

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

lists open files and what processes are using them. you can track down processes that hold files open.

A

LSOF command

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

what is a use case for the LSOF command?

A

troubleshooting the:
device or resource busy
error.
USB ejection, find what processes are open.

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

why could it be a good idea to do resource monitoring for specific metrics, one sort at a time?

A

hardware maintenance of specific aspects of your system, multiple machine maintenance in general.

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

how do you avoid resource overuse problems?

A

monitor the usage of resourcesf

24
Q

what is a load in linux?

A

a set of processes that a cpu is running or waiting to run.

25
Q

how do you classify a load for a system that is idle, no processes running or waiting to run?

A

0

26
Q

what is the value of a process to the load?

A

1

27
Q

when should the load be monitored?

A

to keep the system running smoothly if you have a higher load and many processes you want to run.

28
Q

how is the load average calculated?

A

finding the load over a given period of time

29
Q

what command is used to check the load average in Linux?

A

uptime

30
Q

what would this mean after the uptime command:
12:28:35 up 2 days, 16:26 , 1 user, load average: 0.03, 0.03, 0.01

A

It is 12:28:35 on the computer. the system has been up for two days, 16 hrs, 26 minutes. there is one user.

the average CPU load for last minute was 0.03, which is a low value, meaning an average of %3 of the CPU was used over the last minute,
an average of %3 CPU was used over the past 5 minutes,
an average of 1% CPU was used over the last 15 minutes

31
Q

what does the top command stand for in Linux. Yes, it is an acronym

A

table of processes

32
Q

what command in linux gives you an in-depth view of the resources being used on your system?

A

top

33
Q

what does the first line displayed in top list?

A

what percent of the CPU is running processes or has processes waiting.

34
Q

what does the second line from the top command mean?

A

the task output and describes the status of processes in the system

35
Q

what are the five states in the top task output?

A

total, running, sleeping, stopped, zombie

36
Q

what process state shows the sum of the processes from any state?

A

total

37
Q

what process state indicator shows the number of processes currently handling requests, executing normally, and having CPU access?

A

Running

38
Q

What process state shows the number of processes awaiting resources in their normal state?

A

Sleeping

39
Q

what process state shows the number of processes ending and releasing resources?

A

stopped.

40
Q

where do stoppped processes send a termination message? linux

A

parent process, linux.

41
Q

what process state indicator shows the number of processes waiting for its parent process to release resources, and usually mean an application or service didn’t exit gracefully.

A

zombie

42
Q

what command in linux gives detailed insight on usage for an IT individual to gauge the availability of resources on a system?

A

top

43
Q

how is the load in linux calculated?

A

by adding 1 for each process that is running or waiting to run.

44
Q

what are processes that run or take place in the background?

A

Background/Daemon processes

45
Q

what is a system that handles running Windows GUI and Command line?

A

Client/server runtime subsystem csrss

46
Q

whatever settings or variables a child process inherits from the parent process

A

environment

47
Q

interface that offers and supports different languages

A

multilingual user interface

48
Q

help the computer run programs

A

processes

49
Q

a utility microsoft created to let IT support specialists and system admin look at running processes

A

process explorer

50
Q

unique identifier for processes on your comptuer

A

process ID

51
Q

the applications that we can run

A

programs

52
Q

the most common way to quickly take a peek at how system resources are doing

A

resource monitoring

53
Q

process that is in charge of setting some stuff up to work for the OS

A

session manager subsystem, smss

54
Q

a command that will tell the OS to suspend background mobile apps

A

suspended apps

55
Q

a windows utility that allows you to gain information about what tasks you have running in the background

A

task manager

56
Q

a kill command that will stop whatever process you tell it to

A

termination signal

57
Q

status

A