리눅스에서 프로세스를 죽이는 방법은 다음과 같습니다.
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
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6630 |
차가운바람
|
12년 전 | 1171 | |
| 6629 | 12년 전 | 1168 | ||
| 6628 |
put777
|
12년 전 | 650 | |
| 6627 |
|
12년 전 | 703 | |
| 6626 | 12년 전 | 1619 | ||
| 6625 |
|
12년 전 | 727 | |
| 6624 |
미켈란젤로의왼손
|
12년 전 | 493 | |
| 6623 |
|
12년 전 | 1052 | |
| 6622 | 12년 전 | 1402 | ||
| 6621 |
차가운바람
|
12년 전 | 641 | |
| 6620 | 12년 전 | 743 | ||
| 6619 |
|
12년 전 | 980 | |
| 6618 | 12년 전 | 1751 | ||
| 6617 | 12년 전 | 646 | ||
| 6616 |
차가운바람
|
12년 전 | 904 | |
| 6615 | 12년 전 | 2858 | ||
| 6614 | 12년 전 | 623 | ||
| 6613 |
강명구베드로
|
12년 전 | 535 | |
| 6612 |
|
12년 전 | 431 | |
| 6611 | 12년 전 | 1215 | ||
| 6610 | 12년 전 | 1034 | ||
| 6609 | 12년 전 | 3686 | ||
| 6608 |
|
12년 전 | 835 | |
| 6607 | 12년 전 | 700 | ||
| 6606 | 12년 전 | 569 | ||
| 6605 | 12년 전 | 459 | ||
| 6604 | 12년 전 | 979 | ||
| 6603 |
geektoo
|
12년 전 | 710 | |
| 6602 | 12년 전 | 846 | ||
| 6601 | 12년 전 | 374 | ||
| 6600 | 12년 전 | 420 | ||
| 6599 | 12년 전 | 574 | ||
| 6598 | 12년 전 | 954 | ||
| 6597 | 12년 전 | 948 | ||
| 6596 | 12년 전 | 437 | ||
| 6595 | 12년 전 | 796 | ||
| 6594 | 12년 전 | 4577 | ||
| 6593 | 12년 전 | 2582 | ||
| 6592 | 12년 전 | 835 | ||
| 6591 | 12년 전 | 597 | ||
| 6590 |
|
12년 전 | 1407 | |
| 6589 | 12년 전 | 780 | ||
| 6588 |
GINUSSOFT
|
12년 전 | 5135 | |
| 6587 | 12년 전 | 6219 | ||
| 6586 | 12년 전 | 1053 | ||
| 6585 | 12년 전 | 815 | ||
| 6584 | 12년 전 | 474 | ||
| 6583 |
|
12년 전 | 986 | |
| 6582 | 12년 전 | 879 | ||
| 6581 | 12년 전 | 850 | ||
| 6580 | 12년 전 | 626 | ||
| 6579 |
알랑가몰라
|
12년 전 | 940 | |
| 6578 | 12년 전 | 1338 | ||
| 6577 | 12년 전 | 1510 | ||
| 6576 |
경dragon
|
12년 전 | 783 | |
| 6575 | 12년 전 | 1893 | ||
| 6574 | 12년 전 | 692 | ||
| 6573 | 12년 전 | 999 | ||
| 6572 |
|
12년 전 | 1677 | |
| 6571 |
CTOMAN
|
12년 전 | 1971 | |
| 6570 | 12년 전 | 1741 | ||
| 6569 | 12년 전 | 1900 | ||
| 6568 | 12년 전 | 2412 | ||
| 6567 | 12년 전 | 1037 | ||
| 6566 |
lainfox
|
12년 전 | 1540 | |
| 6565 | 12년 전 | 3664 | ||
| 6564 |
제주프라이스
|
12년 전 | 1544 | |
| 6563 | 12년 전 | 1576 | ||
| 6562 |
프로프리랜서
|
12년 전 | 1358 | |
| 6561 |
프로프리랜서
|
12년 전 | 980 | |
| 6560 |
프로프리랜서
|
12년 전 | 1237 | |
| 6559 |
프로프리랜서
|
12년 전 | 1148 | |
| 6558 |
프로프리랜서
|
12년 전 | 1364 | |
| 6557 |
프로프리랜서
|
12년 전 | 1988 | |
| 6556 |
프로프리랜서
|
12년 전 | 1531 | |
| 6555 |
프로프리랜서
|
12년 전 | 1375 | |
| 6554 |
프로프리랜서
|
12년 전 | 3899 | |
| 6553 |
프로프리랜서
|
12년 전 | 1522 | |
| 6552 | 12년 전 | 858 | ||
| 6551 |
왕초보sasa
|
12년 전 | 1550 | |
| 6550 |
왕초보sasa
|
12년 전 | 645 | |
| 6549 |
왕초보sasa
|
12년 전 | 917 | |
| 6548 | 12년 전 | 1306 | ||
| 6547 | 12년 전 | 1205 | ||
| 6546 | 12년 전 | 5170 | ||
| 6545 | 12년 전 | 2527 | ||
| 6544 |
AnnieK
|
12년 전 | 1792 | |
| 6543 |
베르무트7
|
12년 전 | 655 | |
| 6542 |
오늘도망했다
|
12년 전 | 2242 | |
| 6541 | 12년 전 | 823 | ||
| 6540 | 12년 전 | 1147 | ||
| 6539 | 12년 전 | 856 | ||
| 6538 |
senseme
|
12년 전 | 3383 | |
| 6537 | 12년 전 | 783 | ||
| 6536 | 12년 전 | 3673 | ||
| 6535 | 12년 전 | 1360 | ||
| 6534 | 12년 전 | 1630 | ||
| 6533 | 12년 전 | 2255 | ||
| 6532 |
냐옹이사범
|
12년 전 | 2314 | |
| 6531 | 12년 전 | 575 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기