section 9 - processes, package management, logs, resources Flashcards

1
Q

Ubuntu, Raspbian, Mint, Debian package manager

A

.deb based:
APT

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

CentOS, Fedora package manager

A

.rpm based:
CentOS - YUM
Fedora - DNF

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

the program responsible for starting up all the basic programs Linux needs to run, first thing launched by the kernel

A

/sbin/init

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

PID starts with what?

A

1

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

child processes inherit what from the parent?

A

the parent’s PID becomes the child’s PPID

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

what two commands can be used to view running processes?

A

ps
top

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

what command can view available memory?

A

free

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

What is the kernel ring buffer? How do you view it?

A

a log file for the kernel itself, stored in memory rather than a log file
dmesg | less
dmesg | grep keyword

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

How do you manually create a log file for the kernel ring buffer?

A

To manually create a kernel ring buffer log file, edit /etc/rc.d/rc.local by adding
this at the end: dmesg > /var/log/dmesg

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

How is viewing the kernel ring buffer useful?

A

troubleshooting hardware and driver issues

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

kernel logging tool separate from other programs

A

klog

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

General standard for logging system and program messages

A

syslogd

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

Info about the most recent startup of an X windows system

A

Xorg.0.log

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

directory with Security-related messages

A

Secure

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

● Related to the gnome display manager or gdm environment
● Handles graphical-based user logins

A

gdm/

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

● Related to Linux printing system

A

cups/

17
Q

Log files are typically stored where?

A

/var/log

18
Q

A technique wherein a log daemon accepts messages from other
processes

A

System Messaging

19
Q

Returned by entering $ dmesg, $ dmesg | less

A

Kernel Ring Buffer