Performance Monitoring Flashcards

1
Q

top

A

Display and manage the top processes

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

htop

A

Interactive process viewer (top alternative)

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

mpstat 1

A

Display processor related statistics

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

vmstat 1

A

Display virtual memory statistics

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

iostat 1

A

Display I/O statistics

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

tail -100 /var/log/messages

A

Display the last 100 syslog messages (Use
/var/log/syslog for Debian based systems.)

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

tcpdump -i eth0

A

Capture and display all packets on interface eth0

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

tcpdump -i eth0 ‘port 80’

A

Monitor all traffic on port 80 ( HTTP )

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

lsof

A

List all open files on the system

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

lsof -u user

A

List files opened by user

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

free -h

A

Display free and used memory ( -h for human
readable, -m for MB, -g for GB

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

watch df -h

A

Execute “df -h”, showing periodic updates

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

mpstat

A

Display statistics about CPU usage

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

pidstat

A

Display statistics about processes running
(process id stat)

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