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 ??
但是我不知道的是:当一个音频文件使用实时,它会使用FIFO还是RR ?
please help
请帮助
1 个解决方案
#1
2
Look at the output of the ps(1)
with the -O cls
, e.g.:
使用-O cls查看ps(1)的输出,例如:
~$ 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.
CLS列为您提供线程的调度优先级。
#1
2
Look at the output of the ps(1)
with the -O cls
, e.g.:
使用-O cls查看ps(1)的输出,例如:
~$ 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.
CLS列为您提供线程的调度优先级。