Reputation: 201
if I am listening to an audio file, creating a presentation, and downloading something from the internet...while we know that: an audio file will use real-time creating a presentation will use interactive and downloading will use background
but what I cannot know is for example: when an audio file will use real-time, will it use FIFO or RR ??
please help
Upvotes: 2
Views: 41
Reputation: 84151
Look at the output of the ps(1)
with the -O cls
, e.g.:
~$ ps -O cls -A
PID CLS S TTY TIME COMMAND
1 TS S ? 00:00:31 init [2]
2 TS S ? 00:00:01 [kthreadd]
3 TS S ? 00:00:06 [ksoftirqd/0]
5 TS S ? 00:00:00 [kworker/u:0]
6 FF S ? 00:00:01 [migration/0]
7 FF S ? 00:00:17 [watchdog/0]
...
The CLS
column gives you the scheduling priority of the thread.
Upvotes: 2