리눅스에서 프로세스를 죽이는 방법은 다음과 같습니다.
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년 전 | 657 | ||
| 7629 |
|
10년 전 | 2398 | |
| 7628 | 10년 전 | 795 | ||
| 7627 |
|
10년 전 | 1038 | |
| 7626 |
|
10년 전 | 1795 | |
| 7625 | 10년 전 | 719 | ||
| 7624 | 10년 전 | 735 | ||
| 7623 |
|
10년 전 | 3100 | |
| 7622 | 10년 전 | 735 | ||
| 7621 |
leeleeleelee
|
10년 전 | 591 | |
| 7620 | 10년 전 | 543 | ||
| 7619 | 10년 전 | 496 | ||
| 7618 | 10년 전 | 1032 | ||
| 7617 | 10년 전 | 729 | ||
| 7616 | 10년 전 | 658 | ||
| 7615 | 10년 전 | 730 | ||
| 7614 | 10년 전 | 1270 | ||
| 7613 |
|
10년 전 | 2086 | |
| 7612 | 10년 전 | 1155 | ||
| 7611 | 10년 전 | 1423 | ||
| 7610 |
|
10년 전 | 1907 | |
| 7609 |
|
10년 전 | 1358 | |
| 7608 |
mwdkim
|
10년 전 | 1139 | |
| 7607 |
|
10년 전 | 1057 | |
| 7606 |
mwdkim
|
10년 전 | 3940 | |
| 7605 | 10년 전 | 695 | ||
| 7604 | 10년 전 | 1032 | ||
| 7603 | 10년 전 | 1658 | ||
| 7602 |
|
10년 전 | 1082 | |
| 7601 |
AniNest
|
10년 전 | 2796 | |
| 7600 |
port443
|
10년 전 | 1039 | |
| 7599 | 10년 전 | 951 | ||
| 7598 | 10년 전 | 1028 | ||
| 7597 | 10년 전 | 4579 | ||
| 7596 |
SeungYeon
|
10년 전 | 897 | |
| 7595 |
untitled
|
10년 전 | 2431 | |
| 7594 |
프로그래머7
|
10년 전 | 1740 | |
| 7593 |
untitled
|
10년 전 | 2383 | |
| 7592 |
untitled
|
10년 전 | 1949 | |
| 7591 |
untitled
|
10년 전 | 2681 | |
| 7590 |
아리마2001
|
10년 전 | 857 | |
| 7589 | 10년 전 | 1115 | ||
| 7588 |
|
10년 전 | 2925 | |
| 7587 | 10년 전 | 1311 | ||
| 7586 | 10년 전 | 676 | ||
| 7585 | 10년 전 | 1700 | ||
| 7584 | 10년 전 | 1415 | ||
| 7583 |
leeleeleelee
|
10년 전 | 1167 | |
| 7582 |
|
10년 전 | 1123 | |
| 7581 | 10년 전 | 1360 | ||
| 7580 | 10년 전 | 1011 | ||
| 7579 |
|
10년 전 | 611 | |
| 7578 | 10년 전 | 1434 | ||
| 7577 |
|
10년 전 | 1877 | |
| 7576 | 10년 전 | 1392 | ||
| 7575 |
멋진남자임
|
10년 전 | 1469 | |
| 7574 | 10년 전 | 2125 | ||
| 7573 | 10년 전 | 3260 | ||
| 7572 | 10년 전 | 765 | ||
| 7571 |
|
10년 전 | 786 | |
| 7570 |
|
10년 전 | 1320 | |
| 7569 | 10년 전 | 1556 | ||
| 7568 |
this1mg
|
10년 전 | 1055 | |
| 7567 |
|
10년 전 | 769 | |
| 7566 | 10년 전 | 921 | ||
| 7565 |
Angel하늘
|
10년 전 | 1014 | |
| 7564 |
seoldi
|
10년 전 | 1251 | |
| 7563 |
|
10년 전 | 1394 | |
| 7562 |
멋진남자임
|
10년 전 | 2094 | |
| 7561 | 10년 전 | 716 | ||
| 7560 |
leeleeleelee
|
10년 전 | 916 | |
| 7559 | 10년 전 | 5054 | ||
| 7558 |
RinaP
|
10년 전 | 790 | |
| 7557 |
|
10년 전 | 1254 | |
| 7556 | 10년 전 | 1198 | ||
| 7555 |
hyohyojj1234
|
10년 전 | 1671 | |
| 7554 | 10년 전 | 1100 | ||
| 7553 |
senseme
|
10년 전 | 1341 | |
| 7552 |
ehdltdoit
|
10년 전 | 1441 | |
| 7551 |
|
10년 전 | 1833 | |
| 7550 |
leeleeleelee
|
10년 전 | 1595 | |
| 7549 | 10년 전 | 2433 | ||
| 7548 | 10년 전 | 1850 | ||
| 7547 |
멋진남자임
|
10년 전 | 1968 | |
| 7546 | 10년 전 | 1011 | ||
| 7545 |
ILMare1003
|
10년 전 | 1296 | |
| 7544 |
|
10년 전 | 1258 | |
| 7543 | 10년 전 | 893 | ||
| 7542 | 10년 전 | 664 | ||
| 7541 |
울라라라우
|
10년 전 | 871 | |
| 7540 | 10년 전 | 1603 | ||
| 7539 | 10년 전 | 943 | ||
| 7538 |
|
10년 전 | 1837 | |
| 7537 | 10년 전 | 3618 | ||
| 7536 |
Gaumi
|
10년 전 | 1419 | |
| 7535 |
프로그램은어려워
|
10년 전 | 1279 | |
| 7534 |
senseme
|
10년 전 | 1210 | |
| 7533 | 10년 전 | 1206 | ||
| 7532 | 10년 전 | 868 | ||
| 7531 | 10년 전 | 2061 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기