Chinaunix

标题: Linux Dead pts的識別? [打印本页]

作者: astonish    时间: 2004-11-24 08:22
标题: Linux Dead pts的識別?
本人使用Mandrake linux7.2版.在寫shell kill Dead的pts是遇到一個問題:
一個帳號,在系統用w命令查看有兩個pts在run,但用戶實際上只使用到了一個,
另外一個pts是因為電腦斷電原因產生的,請問是否有辦法在shell內判別,那個
pts是斷電時的進程?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2