리눅스에서 프로세스를 죽이는 방법은 다음과 같습니다.
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년 전 | 652 | ||
| 7629 |
|
10년 전 | 2389 | |
| 7628 | 10년 전 | 792 | ||
| 7627 |
|
10년 전 | 1031 | |
| 7626 |
|
10년 전 | 1787 | |
| 7625 | 10년 전 | 707 | ||
| 7624 | 10년 전 | 724 | ||
| 7623 |
|
10년 전 | 3090 | |
| 7622 | 10년 전 | 726 | ||
| 7621 |
leeleeleelee
|
10년 전 | 585 | |
| 7620 | 10년 전 | 540 | ||
| 7619 | 10년 전 | 488 | ||
| 7618 | 10년 전 | 1024 | ||
| 7617 | 10년 전 | 726 | ||
| 7616 | 10년 전 | 647 | ||
| 7615 | 10년 전 | 726 | ||
| 7614 | 10년 전 | 1263 | ||
| 7613 |
|
10년 전 | 2085 | |
| 7612 | 10년 전 | 1143 | ||
| 7611 | 10년 전 | 1416 | ||
| 7610 |
|
10년 전 | 1901 | |
| 7609 |
|
10년 전 | 1343 | |
| 7608 |
mwdkim
|
10년 전 | 1131 | |
| 7607 |
|
10년 전 | 1053 | |
| 7606 |
mwdkim
|
10년 전 | 3927 | |
| 7605 | 10년 전 | 691 | ||
| 7604 | 10년 전 | 1027 | ||
| 7603 | 10년 전 | 1651 | ||
| 7602 |
|
10년 전 | 1078 | |
| 7601 |
AniNest
|
10년 전 | 2791 | |
| 7600 |
port443
|
10년 전 | 1031 | |
| 7599 | 10년 전 | 945 | ||
| 7598 | 10년 전 | 1020 | ||
| 7597 | 10년 전 | 4572 | ||
| 7596 |
SeungYeon
|
10년 전 | 889 | |
| 7595 |
untitled
|
10년 전 | 2425 | |
| 7594 |
프로그래머7
|
10년 전 | 1725 | |
| 7593 |
untitled
|
10년 전 | 2365 | |
| 7592 |
untitled
|
10년 전 | 1942 | |
| 7591 |
untitled
|
10년 전 | 2676 | |
| 7590 |
아리마2001
|
10년 전 | 853 | |
| 7589 | 10년 전 | 1110 | ||
| 7588 |
|
10년 전 | 2919 | |
| 7587 | 10년 전 | 1303 | ||
| 7586 | 10년 전 | 672 | ||
| 7585 | 10년 전 | 1694 | ||
| 7584 | 10년 전 | 1414 | ||
| 7583 |
leeleeleelee
|
10년 전 | 1162 | |
| 7582 |
|
10년 전 | 1112 | |
| 7581 | 10년 전 | 1346 | ||
| 7580 | 10년 전 | 992 | ||
| 7579 |
|
10년 전 | 606 | |
| 7578 | 10년 전 | 1429 | ||
| 7577 |
|
10년 전 | 1872 | |
| 7576 | 10년 전 | 1385 | ||
| 7575 |
멋진남자임
|
10년 전 | 1463 | |
| 7574 | 10년 전 | 2123 | ||
| 7573 | 10년 전 | 3256 | ||
| 7572 | 10년 전 | 761 | ||
| 7571 |
|
10년 전 | 783 | |
| 7570 |
|
10년 전 | 1315 | |
| 7569 | 10년 전 | 1552 | ||
| 7568 |
this1mg
|
10년 전 | 1050 | |
| 7567 |
|
10년 전 | 762 | |
| 7566 | 10년 전 | 918 | ||
| 7565 |
Angel하늘
|
10년 전 | 1005 | |
| 7564 |
seoldi
|
10년 전 | 1239 | |
| 7563 |
|
10년 전 | 1382 | |
| 7562 |
멋진남자임
|
10년 전 | 2085 | |
| 7561 | 10년 전 | 714 | ||
| 7560 |
leeleeleelee
|
10년 전 | 904 | |
| 7559 | 10년 전 | 5047 | ||
| 7558 |
RinaP
|
10년 전 | 785 | |
| 7557 |
|
10년 전 | 1246 | |
| 7556 | 10년 전 | 1192 | ||
| 7555 |
hyohyojj1234
|
10년 전 | 1664 | |
| 7554 | 10년 전 | 1093 | ||
| 7553 |
senseme
|
10년 전 | 1339 | |
| 7552 |
ehdltdoit
|
10년 전 | 1436 | |
| 7551 |
|
10년 전 | 1824 | |
| 7550 |
leeleeleelee
|
10년 전 | 1589 | |
| 7549 | 10년 전 | 2425 | ||
| 7548 | 10년 전 | 1843 | ||
| 7547 |
멋진남자임
|
10년 전 | 1962 | |
| 7546 | 10년 전 | 1004 | ||
| 7545 |
ILMare1003
|
10년 전 | 1288 | |
| 7544 |
|
10년 전 | 1251 | |
| 7543 | 10년 전 | 884 | ||
| 7542 | 10년 전 | 657 | ||
| 7541 |
울라라라우
|
10년 전 | 865 | |
| 7540 | 10년 전 | 1600 | ||
| 7539 | 10년 전 | 935 | ||
| 7538 |
|
10년 전 | 1833 | |
| 7537 | 10년 전 | 3611 | ||
| 7536 |
Gaumi
|
10년 전 | 1416 | |
| 7535 |
프로그램은어려워
|
10년 전 | 1274 | |
| 7534 |
senseme
|
10년 전 | 1207 | |
| 7533 | 10년 전 | 1196 | ||
| 7532 | 10년 전 | 859 | ||
| 7531 | 10년 전 | 2053 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기