請教一下前輩, top 畫面中 State 寫著 Poll 指的是什麼意思?
還有,這類的"小"問題不知道各位前輩是去那邊學的,有無好的工具書或網站可以提供給小弟進修?
一個關於 top 的"小"問題
版主: bryanchang、digdog、謝孟叡
- bryanchang
- 討論區管理員
- 文章: 7057
- 註冊時間: 04/19/2001 1:01 am
- 來自: The '60s
- 聯繫:
在你所在的系統上執行謝孟叡 寫:題外話,你這個好像不是在 Darwin 上?ross_tt 寫:可否請各位大大幫小弟看一下?
代碼: 選擇全部
$ man pollpoll() is a system call that tells the proccess which file descriptors are ready for reading and writing.
void
sched_init(void){
printf("standard timeslicing quantum is %d us\n", std_quantum_us);
}
sched_init(void){
printf("standard timeslicing quantum is %d us\n", std_quantum_us);
}
啊!被抓包了!謝孟叡 寫:在你所在的系統上執行謝孟叡 寫:題外話,你這個好像不是在 Darwin 上?ross_tt 寫:可否請各位大大幫小弟看一下?可知代碼: 選擇全部
$ man poll
poll() is a system call that tells the proccess which file descriptors are ready for reading and writing.
這個是 FreeBSD 的畫面。
我一直以為 man 只能用來查指令的用法,原來也可以用來查代碼的涵義
謝謝各位前輩指點
【老地方神聖狂吃團之大吃客】

