리눅스에서 프로세스를 죽이는 방법은 다음과 같습니다.
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
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7630 | 10년 전 | 647 | ||
| 7629 |
|
10년 전 | 2376 | |
| 7628 | 10년 전 | 784 | ||
| 7627 |
|
10년 전 | 1016 | |
| 7626 |
|
10년 전 | 1782 | |
| 7625 | 10년 전 | 689 | ||
| 7624 | 10년 전 | 706 | ||
| 7623 |
|
10년 전 | 3071 | |
| 7622 | 10년 전 | 718 | ||
| 7621 |
leeleeleelee
|
10년 전 | 580 | |
| 7620 | 10년 전 | 536 | ||
| 7619 | 10년 전 | 477 | ||
| 7618 | 10년 전 | 1009 | ||
| 7617 | 10년 전 | 720 | ||
| 7616 | 10년 전 | 629 | ||
| 7615 | 10년 전 | 724 | ||
| 7614 | 10년 전 | 1250 | ||
| 7613 |
|
10년 전 | 2079 | |
| 7612 | 10년 전 | 1133 | ||
| 7611 | 10년 전 | 1400 | ||
| 7610 |
|
10년 전 | 1897 | |
| 7609 |
|
10년 전 | 1326 | |
| 7608 |
mwdkim
|
10년 전 | 1121 | |
| 7607 |
|
10년 전 | 1045 | |
| 7606 |
mwdkim
|
10년 전 | 3915 | |
| 7605 | 10년 전 | 685 | ||
| 7604 | 10년 전 | 1021 | ||
| 7603 | 10년 전 | 1644 | ||
| 7602 |
|
10년 전 | 1061 | |
| 7601 |
AniNest
|
10년 전 | 2781 | |
| 7600 |
port443
|
10년 전 | 1018 | |
| 7599 | 10년 전 | 939 | ||
| 7598 | 10년 전 | 1010 | ||
| 7597 | 10년 전 | 4566 | ||
| 7596 |
SeungYeon
|
10년 전 | 884 | |
| 7595 |
untitled
|
10년 전 | 2411 | |
| 7594 |
프로그래머7
|
10년 전 | 1717 | |
| 7593 |
untitled
|
10년 전 | 2357 | |
| 7592 |
untitled
|
10년 전 | 1929 | |
| 7591 |
untitled
|
10년 전 | 2673 | |
| 7590 |
아리마2001
|
10년 전 | 848 | |
| 7589 | 10년 전 | 1101 | ||
| 7588 |
|
10년 전 | 2910 | |
| 7587 | 10년 전 | 1300 | ||
| 7586 | 10년 전 | 663 | ||
| 7585 | 10년 전 | 1685 | ||
| 7584 | 10년 전 | 1404 | ||
| 7583 |
leeleeleelee
|
10년 전 | 1157 | |
| 7582 |
|
10년 전 | 1099 | |
| 7581 | 10년 전 | 1317 | ||
| 7580 | 10년 전 | 979 | ||
| 7579 |
|
10년 전 | 601 | |
| 7578 | 10년 전 | 1425 | ||
| 7577 |
|
10년 전 | 1867 | |
| 7576 | 10년 전 | 1381 | ||
| 7575 |
멋진남자임
|
10년 전 | 1458 | |
| 7574 | 10년 전 | 2112 | ||
| 7573 | 10년 전 | 3244 | ||
| 7572 | 10년 전 | 756 | ||
| 7571 |
|
10년 전 | 778 | |
| 7570 |
|
10년 전 | 1302 | |
| 7569 | 10년 전 | 1544 | ||
| 7568 |
this1mg
|
10년 전 | 1044 | |
| 7567 |
|
10년 전 | 753 | |
| 7566 | 10년 전 | 914 | ||
| 7565 |
Angel하늘
|
10년 전 | 987 | |
| 7564 |
seoldi
|
10년 전 | 1225 | |
| 7563 |
|
10년 전 | 1363 | |
| 7562 |
멋진남자임
|
10년 전 | 2074 | |
| 7561 | 10년 전 | 703 | ||
| 7560 |
leeleeleelee
|
10년 전 | 893 | |
| 7559 | 10년 전 | 5033 | ||
| 7558 |
RinaP
|
10년 전 | 771 | |
| 7557 |
|
10년 전 | 1233 | |
| 7556 | 10년 전 | 1186 | ||
| 7555 |
hyohyojj1234
|
10년 전 | 1654 | |
| 7554 | 10년 전 | 1088 | ||
| 7553 |
senseme
|
10년 전 | 1333 | |
| 7552 |
ehdltdoit
|
10년 전 | 1430 | |
| 7551 |
|
10년 전 | 1814 | |
| 7550 |
leeleeleelee
|
10년 전 | 1582 | |
| 7549 | 10년 전 | 2415 | ||
| 7548 | 10년 전 | 1835 | ||
| 7547 |
멋진남자임
|
10년 전 | 1956 | |
| 7546 | 10년 전 | 998 | ||
| 7545 |
ILMare1003
|
10년 전 | 1275 | |
| 7544 |
|
10년 전 | 1240 | |
| 7543 | 10년 전 | 879 | ||
| 7542 | 10년 전 | 651 | ||
| 7541 |
울라라라우
|
10년 전 | 859 | |
| 7540 | 10년 전 | 1595 | ||
| 7539 | 10년 전 | 924 | ||
| 7538 |
|
10년 전 | 1827 | |
| 7537 | 10년 전 | 3606 | ||
| 7536 |
Gaumi
|
10년 전 | 1404 | |
| 7535 |
프로그램은어려워
|
10년 전 | 1259 | |
| 7534 |
senseme
|
10년 전 | 1201 | |
| 7533 | 10년 전 | 1188 | ||
| 7532 | 10년 전 | 852 | ||
| 7531 | 10년 전 | 2043 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기