Processes and Data Management Flashcards

1
Q

Linux package characteristics

A
  1. Is a single file
  2. Rely on other programs to instal the software
  3. Contain dependency information
  4. Contain version information
  5. Contain architecture information
  6. Binary packages are built from source packages
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Process of package installation

A
  1. Command issued to install program
  2. Software locate all dependencies
  3. User issues final approval
  4. Software downloads all dependency packages
  5. Software installs the packages
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

/sbin/init

A
  • Initialize process
  • runs when starting OS
  • Programs launched by init are Children
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Parent

A

process that launched a program

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

Child

A

process launched by another program

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

Process ID (PID)

A
  • Begin with 1
  • Unique ID point to a program
  • Init process ID is 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Parent Process ID (PPID)

A
  • Points back to a parent
  • Process ID of Parent process
  • Process launched by init would be 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

ps command

A
  • Displays a process listing
  • Pipe thorough grep to filter/query
  • Provides information at a single point in time only
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

top command

A
  • Displays an interactive process listing
  • Sorts by CPU usage like task manager
  • Gives load average (how much resources process usually uses)
  • M key to sort by memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

free command

A
  • return total memory status
  • Mem & Swap are improtant fields
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Memory leak

A
  • Bug where program consumes increasing amounts of memory, failing to return after requesting RAM.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Mem

A
  • Line in free command output that reveals total RAM statistics
  • Buffer/cache line, shows the amount of memory being actively used at current time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Swap

A
  • Line in free command output that reveals how much swap space Linux is using
  • Disk space that’s set aside as an adjunct to memory (virtual RAM)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Kernel Ring Buffer

A
  • Like a log file for the kernel itself
  • Stored in memory rather than disk file
  • dmesg to display info pipe less to display less, or grep to search
  • Useful for troubleshooting hardware and driver problems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Package software

A
  • Maintains a DB about installed packages
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Daemons

A
  • Programs that run in the background