Process & Service Management Flashcards

1
Q

What command shows running processes?

A

ps

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

What does the command ‘ps aux’ do?

A

Shows all processes with details

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

What is the command to forcefully stop a process?

A

kill -9 <PID></PID>

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

Which command displays live system resource usage?

A

top

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

What is ‘htop’?

A

Advanced process viewer (if installed)

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

How do you check the status of a service?

A

sudo systemctl status <service></service>

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

What command is used to start a service?

A

sudo systemctl start <service></service>

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

What command is used to stop a service?

A

sudo systemctl stop <service></service>

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

What is the command to restart a service?

A

sudo systemctl restart <service></service>

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