리눅스에서 프로세스를 죽이는 방법은 다음과 같습니다.
1. PID를 확인한다.
1.1 top 명령어를 통해서 PID를 확인한다. 맨 앞에 나오는 것이 PID죠.
[yourid@blrblrblrblrblr examples]$ top
top - 08:18:31 up 11:10, 3 users, load average: 0.57, 0.31, 0.16
Tasks: 181 total, 1 running, 180 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.6%us, 1.4%sy, 0.0%ni, 97.9%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 3354856k total, 3260856k used, 94000k free, 163416k buffers
Swap: 5439484k total, 0k used, 5439484k free, 2666480k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1534 root 20 0 60132 25m 7064 S 1.0 0.8 0:14.77 Xorg
18329 yourid 20 0 125m 13m 10m S 1.0 0.4 0:03.01 gnome-terminal
17823 yourid 20 0 25664 1816 1476 S 0.7 0.1 0:03.94 synergyc
17852 yourid 20 0 110m 7384 6052 S 0.5 0.2 0:31.41 multiload-apple
1 root 20 0 2888 1332 1120 S 0.0 0.0 0:01.04 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:00.29 ksoftirqd/0
4 root RT 0 0 0 0 S 0.0 0.0 0:01.36 migration/0
5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
6 root RT 0 0 0 0 S 0.0 0.0 0:01.37 migration/1
7 root 20 0 0 0 0 S 0.0 0.0 0:00.27 ksoftirqd/1
8 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/1
9 root 20 0 0 0 0 S 0.0 0.0 0:01.33 events/0
10 root 20 0 0 0 0 S 0.0 0.0 0:00.20 events/1
11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuset
12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper
13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 netns
14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 async/mgr
15 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pm
16 root 20 0 0 0 0 S 0.0 0.0 0:00.01 sync_supers
17 root 20 0 0 0 0 S 0.0 0.0 0:00.03 bdi-default
18 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/0
1.2 top 말고 ps -ax로 PID를 확인한다.
[yourid@blrblrblrblrblr examples]$ ps -ax
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
PID TTY STAT TIME COMMAND
1 ? Ss 0:01 /sbin/init
2 ? S 0:00 [kthreadd]
3 ? S 0:00 [ksoftirqd/0]
4 ? S 0:01 [migration/0]
5 ? S 0:00 [watchdog/0]
6 ? S 0:01 [migration/1]
7 ? S 0:00 [ksoftirqd/1]
8 ? S 0:00 [watchdog/1]
9 ? S 0:01 [events/0]
10 ? S 0:00 [events/1]
11 ? S 0:00 [cpuset]
12 ? S 0:00 [khelper]
13 ? S 0:00 [netns]
14 ? S 0:00 [async/mgr]
15 ? S 0:00 [pm]
16 ? S 0:00 [sync_supers]
17 ? S 0:00 [bdi-default]
18212 ? S 0:00 /usr/libexec/gvfsd-burn --spawner :1.10 /org/gtk/gvfs/exec_spaw/1
18219 ? S 0:00 /usr/libexec/gvfsd-metadata
18329 ? Sl 0:03 gnome-terminal
18332 ? S 0:00 gnome-pty-helper
18333 pts/0 Ss 0:00 bash
18593 pts/1 Ss+ 0:00 bash
19309 ? S 0:00 /usr/sbin/httpd
19396 pts/0 R+ 0:00 ps -ax
2. kill -9 를 통해 프로세스를 제거한다.
Usage : kill -9 PID
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6230 |
senseme
|
12년 전 | 1058 | |
| 6229 |
senseme
|
12년 전 | 1077 | |
| 6228 | 12년 전 | 4441 | ||
| 6227 |
senseme
|
12년 전 | 1496 | |
| 6226 |
senseme
|
12년 전 | 1644 | |
| 6225 | 12년 전 | 5500 | ||
| 6224 | 12년 전 | 3271 | ||
| 6223 |
kiplayer
|
12년 전 | 2140 | |
| 6222 | 12년 전 | 1302 | ||
| 6221 | 12년 전 | 3492 | ||
| 6220 | 12년 전 | 2516 | ||
| 6219 | 12년 전 | 2229 | ||
| 6218 |
senseme
|
12년 전 | 1842 | |
| 6217 |
senseme
|
12년 전 | 1533 | |
| 6216 |
senseme
|
12년 전 | 1529 | |
| 6215 |
senseme
|
12년 전 | 1283 | |
| 6214 | 12년 전 | 2397 | ||
| 6213 |
senseme
|
12년 전 | 1670 | |
| 6212 |
senseme
|
12년 전 | 1346 | |
| 6211 |
senseme
|
12년 전 | 2434 | |
| 6210 |
senseme
|
12년 전 | 1616 | |
| 6209 | 12년 전 | 2219 | ||
| 6208 | 12년 전 | 3445 | ||
| 6207 | 12년 전 | 1226 | ||
| 6206 |
senseme
|
12년 전 | 2197 | |
| 6205 | 12년 전 | 1040 | ||
| 6204 |
kiplayer
|
12년 전 | 1528 | |
| 6203 |
senseme
|
12년 전 | 2126 | |
| 6202 |
senseme
|
12년 전 | 1754 | |
| 6201 |
senseme
|
12년 전 | 4569 | |
| 6200 |
senseme
|
12년 전 | 2668 | |
| 6199 |
senseme
|
12년 전 | 2832 | |
| 6198 |
senseme
|
12년 전 | 1236 | |
| 6197 |
senseme
|
12년 전 | 8556 | |
| 6196 |
senseme
|
12년 전 | 3345 | |
| 6195 | 12년 전 | 1435 | ||
| 6194 |
|
12년 전 | 1291 | |
| 6193 |
senseme
|
12년 전 | 2694 | |
| 6192 |
senseme
|
12년 전 | 5365 | |
| 6191 |
senseme
|
12년 전 | 3417 | |
| 6190 | 12년 전 | 1344 | ||
| 6189 | 12년 전 | 13500 | ||
| 6188 |
웹디자인되고파
|
12년 전 | 1207 | |
| 6187 | 12년 전 | 626 | ||
| 6186 | 12년 전 | 3935 | ||
| 6185 | 12년 전 | 1472 | ||
| 6184 | 12년 전 | 9383 | ||
| 6183 | 12년 전 | 796 | ||
| 6182 |
senseme
|
12년 전 | 1239 | |
| 6181 |
senseme
|
12년 전 | 3224 | |
| 6180 |
senseme
|
12년 전 | 854 | |
| 6179 |
senseme
|
12년 전 | 1767 | |
| 6178 | 12년 전 | 3632 | ||
| 6177 | 12년 전 | 1064 | ||
| 6176 | 12년 전 | 956 | ||
| 6175 |
senseme
|
12년 전 | 5303 | |
| 6174 |
senseme
|
12년 전 | 1429 | |
| 6173 |
senseme
|
12년 전 | 752 | |
| 6172 |
senseme
|
12년 전 | 2742 | |
| 6171 |
senseme
|
12년 전 | 2489 | |
| 6170 |
senseme
|
12년 전 | 1505 | |
| 6169 |
senseme
|
12년 전 | 2929 | |
| 6168 |
senseme
|
12년 전 | 6536 | |
| 6167 | 12년 전 | 2138 | ||
| 6166 | 12년 전 | 747 | ||
| 6165 |
페이지팩트
|
12년 전 | 1906 | |
| 6164 |
네오soft
|
12년 전 | 1858 | |
| 6163 |
|
12년 전 | 2606 | |
| 6162 | 12년 전 | 592 | ||
| 6161 |
|
12년 전 | 1692 | |
| 6160 | 12년 전 | 768 | ||
| 6159 | 12년 전 | 1777 | ||
| 6158 |
|
12년 전 | 2682 | |
| 6157 |
sa2pan
|
12년 전 | 1245 | |
| 6156 | 12년 전 | 3892 | ||
| 6155 | 12년 전 | 9965 | ||
| 6154 | 12년 전 | 1126 | ||
| 6153 | 12년 전 | 2454 | ||
| 6152 |
생각보다몸이앞서다
|
12년 전 | 2126 | |
| 6151 | 12년 전 | 2977 | ||
| 6150 |
kiplayer
|
12년 전 | 6007 | |
| 6149 |
|
12년 전 | 2647 | |
| 6148 | 12년 전 | 2970 | ||
| 6147 |
hwang007
|
12년 전 | 953 | |
| 6146 |
aqqasdf
|
12년 전 | 770 | |
| 6145 | 12년 전 | 1862 | ||
| 6144 | 12년 전 | 5879 | ||
| 6143 |
smwkd
|
12년 전 | 1463 | |
| 6142 | 12년 전 | 4703 | ||
| 6141 | 12년 전 | 930 | ||
| 6140 | 12년 전 | 4098 | ||
| 6139 | 12년 전 | 1241 | ||
| 6138 | 12년 전 | 1097 | ||
| 6137 |
SugarSkull
|
12년 전 | 1681 | |
| 6136 | 12년 전 | 1310 | ||
| 6135 |
한번잘해보자
|
12년 전 | 562 | |
| 6134 |
프리랜서개발자
|
12년 전 | 539 | |
| 6133 |
basaria
|
12년 전 | 20444 | |
| 6132 | 12년 전 | 507 | ||
| 6131 | 12년 전 | 1086 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기