리눅스에서 프로세스를 죽이는 방법은 다음과 같습니다.
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
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6430 | 12년 전 | 985 | ||
| 6429 | 12년 전 | 9106 | ||
| 6428 | 12년 전 | 606 | ||
| 6427 |
제이티37
|
12년 전 | 1571 | |
| 6426 |
프로프리랜서
|
12년 전 | 1157 | |
| 6425 |
프로프리랜서
|
12년 전 | 1612 | |
| 6424 |
프로프리랜서
|
12년 전 | 1815 | |
| 6423 | 12년 전 | 1004 | ||
| 6422 |
퍼블리셔지노군
|
12년 전 | 1578 | |
| 6421 | 12년 전 | 2212 | ||
| 6420 |
|
12년 전 | 1335 | |
| 6419 |
|
12년 전 | 1287 | |
| 6418 | 12년 전 | 1187 | ||
| 6417 |
senseme
|
12년 전 | 7429 | |
| 6416 |
senseme
|
12년 전 | 1332 | |
| 6415 |
senseme
|
12년 전 | 1193 | |
| 6414 |
senseme
|
12년 전 | 1971 | |
| 6413 |
senseme
|
12년 전 | 978 | |
| 6412 |
senseme
|
12년 전 | 1494 | |
| 6411 |
senseme
|
12년 전 | 1106 | |
| 6410 |
senseme
|
12년 전 | 1050 | |
| 6409 |
PASKRAN
|
12년 전 | 2819 | |
| 6408 | 12년 전 | 10805 | ||
| 6407 | 12년 전 | 2994 | ||
| 6406 |
프로프리랜서
|
12년 전 | 2837 | |
| 6405 |
프로프리랜서
|
12년 전 | 1375 | |
| 6404 |
프로프리랜서
|
12년 전 | 2726 | |
| 6403 |
프로프리랜서
|
12년 전 | 823 | |
| 6402 |
프로프리랜서
|
12년 전 | 1739 | |
| 6401 |
프로프리랜서
|
12년 전 | 1142 | |
| 6400 |
프로프리랜서
|
12년 전 | 1473 | |
| 6399 |
프로프리랜서
|
12년 전 | 1182 | |
| 6398 |
프로프리랜서
|
12년 전 | 1496 | |
| 6397 |
프로프리랜서
|
12년 전 | 3606 | |
| 6396 | 12년 전 | 1874 | ||
| 6395 | 12년 전 | 922 | ||
| 6394 |
|
12년 전 | 5242 | |
| 6393 |
제이티37
|
12년 전 | 1206 | |
| 6392 |
songsinica
|
12년 전 | 1214 | |
| 6391 |
|
12년 전 | 3396 | |
| 6390 |
|
12년 전 | 1627 | |
| 6389 | 12년 전 | 4861 | ||
| 6388 |
스누피사랑
|
12년 전 | 5434 | |
| 6387 | 12년 전 | 1839 | ||
| 6386 | 12년 전 | 3063 | ||
| 6385 |
희망과열정
|
12년 전 | 929 | |
| 6384 | 12년 전 | 3295 | ||
| 6383 | 12년 전 | 10602 | ||
| 6382 |
|
12년 전 | 5791 | |
| 6381 |
SugarSkull
|
12년 전 | 1032 | |
| 6380 | 12년 전 | 783 | ||
| 6379 |
|
12년 전 | 1984 | |
| 6378 | 12년 전 | 1566 | ||
| 6377 | 12년 전 | 500 | ||
| 6376 |
후라보노보노
|
12년 전 | 1335 | |
| 6375 | 12년 전 | 2874 | ||
| 6374 | 12년 전 | 842 | ||
| 6373 | 12년 전 | 2371 | ||
| 6372 |
takumi22
|
12년 전 | 1242 | |
| 6371 |
개초보제이
|
12년 전 | 779 | |
| 6370 |
고급자가되고
|
12년 전 | 1464 | |
| 6369 | 12년 전 | 889 | ||
| 6368 | 12년 전 | 3188 | ||
| 6367 | 12년 전 | 1883 | ||
| 6366 | 12년 전 | 2886 | ||
| 6365 |
lilyosia
|
12년 전 | 1799 | |
| 6364 | 12년 전 | 1062 | ||
| 6363 | 12년 전 | 1595 | ||
| 6362 | 12년 전 | 2740 | ||
| 6361 | 12년 전 | 2564 | ||
| 6360 | 12년 전 | 1011 | ||
| 6359 | 12년 전 | 2105 | ||
| 6358 |
|
12년 전 | 1793 | |
| 6357 |
에헤라디야자진방아를돌려라
|
12년 전 | 789 | |
| 6356 | 12년 전 | 2093 | ||
| 6355 | 12년 전 | 3789 | ||
| 6354 | 12년 전 | 3104 | ||
| 6353 | 12년 전 | 1548 | ||
| 6352 | 12년 전 | 7772 | ||
| 6351 | 12년 전 | 2540 | ||
| 6350 | 12년 전 | 2801 | ||
| 6349 | 12년 전 | 1882 | ||
| 6348 | 12년 전 | 3551 | ||
| 6347 | 12년 전 | 1450 | ||
| 6346 | 12년 전 | 1195 | ||
| 6345 | 12년 전 | 1835 | ||
| 6344 | 12년 전 | 1416 | ||
| 6343 |
프로프리랜서
|
12년 전 | 2060 | |
| 6342 |
프로프리랜서
|
12년 전 | 1391 | |
| 6341 |
프로프리랜서
|
12년 전 | 1814 | |
| 6340 |
프로프리랜서
|
12년 전 | 1908 | |
| 6339 |
프로프리랜서
|
12년 전 | 1348 | |
| 6338 |
프로프리랜서
|
12년 전 | 1619 | |
| 6337 | 12년 전 | 5277 | ||
| 6336 |
프로프리랜서
|
12년 전 | 1634 | |
| 6335 |
프로프리랜서
|
12년 전 | 953 | |
| 6334 |
프로프리랜서
|
12년 전 | 1334 | |
| 6333 |
프로프리랜서
|
12년 전 | 2444 | |
| 6332 | 12년 전 | 1102 | ||
| 6331 |
돗단배123
|
12년 전 | 1423 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기