리눅스에서 프로세스를 죽이는 방법은 다음과 같습니다.
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
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6730 |
|
11년 전 | 1109 | |
| 6729 | 11년 전 | 565 | ||
| 6728 |
|
11년 전 | 579 | |
| 6727 | 11년 전 | 2424 | ||
| 6726 | 11년 전 | 598 | ||
| 6725 |
네모웹에이전시
|
11년 전 | 442 | |
| 6724 |
네모웹에이전시
|
11년 전 | 886 | |
| 6723 | 11년 전 | 1020 | ||
| 6722 | 11년 전 | 962 | ||
| 6721 | 11년 전 | 648 | ||
| 6720 | 11년 전 | 1977 | ||
| 6719 | 11년 전 | 2199 | ||
| 6718 | 11년 전 | 1103 | ||
| 6717 |
|
11년 전 | 660 | |
| 6716 | 11년 전 | 2311 | ||
| 6715 | 11년 전 | 7580 | ||
| 6714 | 11년 전 | 2049 | ||
| 6713 | 11년 전 | 782 | ||
| 6712 |
geektoo
|
11년 전 | 1158 | |
| 6711 | 11년 전 | 900 | ||
| 6710 |
sirzzang
|
11년 전 | 2130 | |
| 6709 |
bewitched
|
11년 전 | 1801 | |
| 6708 |
levin
|
11년 전 | 570 | |
| 6707 | 11년 전 | 768 | ||
| 6706 | 11년 전 | 1798 | ||
| 6705 | 11년 전 | 992 | ||
| 6704 |
|
11년 전 | 758 | |
| 6703 | 11년 전 | 417 | ||
| 6702 | 11년 전 | 1100 | ||
| 6701 | 11년 전 | 806 | ||
| 6700 | 11년 전 | 1721 | ||
| 6699 | 11년 전 | 716 | ||
| 6698 |
이박사친구
|
11년 전 | 730 | |
| 6697 | 11년 전 | 1219 | ||
| 6696 | 11년 전 | 620 | ||
| 6695 |
Header
|
11년 전 | 707 | |
| 6694 | 11년 전 | 1164 | ||
| 6693 |
|
11년 전 | 1115 | |
| 6692 | 11년 전 | 1151 | ||
| 6691 | 11년 전 | 1289 | ||
| 6690 |
|
11년 전 | 717 | |
| 6689 | 11년 전 | 896 | ||
| 6688 | 11년 전 | 935 | ||
| 6687 | 11년 전 | 535 | ||
| 6686 |
RGB255
|
11년 전 | 964 | |
| 6685 |
|
11년 전 | 640 | |
| 6684 | 11년 전 | 720 | ||
| 6683 | 11년 전 | 387 | ||
| 6682 | 11년 전 | 1132 | ||
| 6681 | 11년 전 | 1420 | ||
| 6680 | 11년 전 | 454 | ||
| 6679 |
RGB255
|
11년 전 | 397 | |
| 6678 | 11년 전 | 1352 | ||
| 6677 |
|
11년 전 | 444 | |
| 6676 | 11년 전 | 1018 | ||
| 6675 |
디자이너필이
|
11년 전 | 827 | |
| 6674 | 11년 전 | 1242 | ||
| 6673 | 11년 전 | 1315 | ||
| 6672 | 11년 전 | 6031 | ||
| 6671 | 11년 전 | 1340 | ||
| 6670 |
하프의정령
|
11년 전 | 573 | |
| 6669 | 11년 전 | 414 | ||
| 6668 |
공부하고가겠슴다
|
11년 전 | 452 | |
| 6667 |
하프의정령
|
11년 전 | 550 | |
| 6666 | 11년 전 | 790 | ||
| 6665 | 12년 전 | 1414 | ||
| 6664 | 12년 전 | 930 | ||
| 6663 | 12년 전 | 1157 | ||
| 6662 | 12년 전 | 412 | ||
| 6661 |
basketball
|
12년 전 | 507 | |
| 6660 | 12년 전 | 2510 | ||
| 6659 | 12년 전 | 1612 | ||
| 6658 |
|
12년 전 | 1336 | |
| 6657 |
|
12년 전 | 3160 | |
| 6656 | 12년 전 | 566 | ||
| 6655 |
프로프리랜서
|
12년 전 | 2334 | |
| 6654 |
프로프리랜서
|
12년 전 | 1912 | |
| 6653 |
프로프리랜서
|
12년 전 | 1746 | |
| 6652 |
프로프리랜서
|
12년 전 | 1831 | |
| 6651 |
|
12년 전 | 784 | |
| 6650 | 12년 전 | 1317 | ||
| 6649 | 12년 전 | 1318 | ||
| 6648 | 12년 전 | 813 | ||
| 6647 | 12년 전 | 3162 | ||
| 6646 | 12년 전 | 471 | ||
| 6645 | 12년 전 | 966 | ||
| 6644 |
BBAYOUNG
|
12년 전 | 1380 | |
| 6643 | 12년 전 | 1793 | ||
| 6642 | 12년 전 | 643 | ||
| 6641 | 12년 전 | 1333 | ||
| 6640 | 12년 전 | 707 | ||
| 6639 | 12년 전 | 2321 | ||
| 6638 |
jasmin2
|
12년 전 | 753 | |
| 6637 |
geektoo
|
12년 전 | 447 | |
| 6636 | 12년 전 | 668 | ||
| 6635 |
프로프리랜서
|
12년 전 | 2235 | |
| 6634 |
프로프리랜서
|
12년 전 | 1743 | |
| 6633 |
프로프리랜서
|
12년 전 | 4060 | |
| 6632 |
프로프리랜서
|
12년 전 | 1348 | |
| 6631 |
프로프리랜서
|
12년 전 | 1783 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기