作者ric2k1 (Ric)
看板EE_DSnP
標題[公告] 跑太久或是佔用記憶體太大的 process
時間Sun Jan 21 23:52:47 2007
有鑒於 ccws 工作站資源有限, 跑太久或是佔用記憶體太大的 process 請將他 kill
掉吧!!! 請見我上一篇的推文...
如果你用 control-C 或者是 "quit -f" 停不下來的話,
試著用以下的暴力法將 process 殺掉~~~
1. "ps -ef | grep ric" // change to your login id
// Figure out which process is running away...
or "top -i"
2. You should see something like...
// For "ps -ef" command
ric 3677 3676 0 23:45 pts/60 00:00:00 -bash
ric 3740 3677 0 23:47 pts/60 00:00:00 top
ric 3742 3677 0 23:47 pts/60 00:00:00 ps -ef
ric 3743 3677 0 23:47 pts/60 00:00:00 grep ric
^^^^
This is the PID
For "top -i"...
3900 b2901010 25 0 34224 22m 2392 R 47.0 2.2 0:02.24 cc1plus
932 b3901129 25 0 121m 119m 976 R 46.6 11.8 15:56.70 bdd
30863 apache 25 0 34996 12m 5196 R 32.5 1.2 49:34.45 httpd
2443 b3901129 25 0 178m 163m 936 R 31.8 16.2 5:41.54 bdd
3894 b3901025 25 0 58580 43m 2380 R 31.8 4.3 0:04.79 cc1plus
^^^^
This is the PID
3. "Kill -9 <PID>" to kill the process...
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.121.131.33
推 jjjj222:媽 我上電視了~ 01/22 00:06
推 ric2k1: 這個有幽默到~~ 01/22 00:08
推 timrau:top -b -n 1 -u bx901xxx 01/22 00:38
推 Steggie:一樓真的很好笑 XD 01/22 00:46
→ ijb:推1F....有笑有推.....^^ 01/22 04:38