top Flashcards
1
Q
top
A
top provides a dynamic real-time view of a running system.
2
Q
top
- b
- c
- d
- E
- H
- i
A
- b, :Batch-mode, Starts top in Batch mode which could be useful for sending output from top to other programs or to a file.
- c, :Command-line/Program-name toggle, Starts top with the last remembered ‘c’ state reversed.
- d, :Delay-time interval as: -d ss.t, Specifies the delay between screen updates.
- E: Extend-Memory-Scaling as: -E k | m | g | t | p | e
Instructs top to force summary area memory to be scaled as:
k - kibibytes
m - mebibytes
g - gibibytes
t - tebibytes
p - pebibytes
e - exbibytes
- H, :Threads-mode operation, Instructs top to display individual threads.
- i, :Idle-process toggle, Starts top with the last remembered ‘i’ state reversed.
3
Q
top
- n
- p
- s
- S
- u
A
- n, :Number-of-iterations limit as: -n number, Specifies maximum number of iterations, or frames top should produce before ending.
- p, Monitor-PIDs mode as: -pN1 -pN2 …, Monitor only processes with specified process IDs.
- s, :Secure mode, Starts top with secure mode forced, even for root.
- S, Cumulative time toggle, Starts top with the last remembered ‘S’ state reversed.
- u, User filter mode: Displays only processes with a user ID or name matching that given.
4
Q
top [Interactive Commands]
z
c
d
k
Shift+P
r
A
z, Highlight Running processes.
c, Show absolute path of processes.
d, Set screen refresh interval.
k, Kill a process.
Shift+P, Sort by CPU Utilisation.
r, Renice a process.