Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux killÓ÷¨ ¡¢killall¡¢pkill¡¢xkill


Ò». ÖÕÖ¹½ø³ÌµÄ¹¤¾ß kill ¡¢killall¡¢pkill¡¢xkill
ÖÕÖ¹Ò»¸ö½ø³Ì»òÖÕÖ¹Ò»¸öÕýÔÚÔËÐеijÌÐò£¬Ò»°ãÊÇͨ¹ý kill ¡¢killall¡¢pkill¡¢xkill µÈ½øÐС£±ÈÈçÒ»¸ö³ÌÐòÒѾ­ËÀµô£¬µ«ÓÖ²»ÄÜÍ˳ö£¬Õâʱ¾ÍÓ¦¸Ã¿¼ÂÇÓ¦ÓÃÕâЩ¹¤¾ß¡£
ÁíÍâÓ¦Óõij¡ºÏ¾ÍÊÇÔÚ·þÎñÆ÷¹ÜÀíÖУ¬ÔÚ²»Éæ¼°Êý¾Ý¿â·þÎñÆ÷³ÌÐòµÄ¸¸½ø³ÌµÄÍ£Ö¹ÔËÐУ¬Ò²¿ÉÒÔÓÃÕâЩ¹¤¾ßÀ´ÖÕÖ¹¡£ÎªÊ²Ã´Êý¾Ý¿â·þÎñÆ÷µÄ¸¸½ø³Ì²»ÄÜÓÃÕâЩ
¹¤¾ßɱËÀÄØ£¿Ô­ÒòºÜ¼òµ¥£¬ÕâЩ¹¤¾ßÔÚÇ¿ÐÐÖÕÖ¹Êý¾Ý¿â·þÎñÆ÷ʱ£¬»áÈÃÊý¾Ý¿â²úÉú¸ü¶àµÄÎļþËéƬ£¬µ±ËéƬ´ïµ½Ò»¶¨³Ì¶ÈµÄʱºò£¬Êý¾Ý¿â¾ÍÓбÀÀ£µÄΣÏÕ¡£±ÈÈç
mysql·þÎñÆ÷×îºÃÊÇ°´ÆäÕý³£µÄ³ÌÐò¹Ø±Õ£¬¶ø²»ÊÇÓÃpkill mysqld »òkillall mysqld
ÕâÑùΣÏյĶ¯×÷£»µ±È»¶ÔÓÚÕ¼ÓÃ×ÊÔ´¹ý¶àµÄÊý¾Ý¿â×Ó½ø³Ì£¬ÎÒÃÇÓ¦¸ÃÓÃkill À´É±µô¡£
1. kill
killµÄÓ¦ÓÃÊǺÍps »òpgrep ÃüÁî½áºÏÔÚÒ»ÆðʹÓõģ»
kill µÄÓ÷¨£º
kill £ÛÐźŴúÂë£Ý    ½ø³ÌID
×¢£ºÐźŴúÂë¿ÉÒÔÊ¡ÂÔ£»ÎÒÃdz£ÓõÄÐźŴúÂëÊÇ -9 £¬±íʾǿÖÆÖÕÖ¹
£»
¾ÙÀý£º
[root@localhost ~]# ps auxf |grep httpd
root 4939 0.0 0.0 5160 708 pts/3 S+ 13:10 0:00 \_ grep httpd
root 4830 0.1 1.3 24232 10272 ? Ss 13:02 0:00 /usr/sbin/httpd
apache 4833 0.0 0.6 24364 4932 ? S 13:02 0:00 \_ /usr/sbin/httpd
apache 4834 0.0 0.6 24364 4928 ? S 13:02 0:00 \_ /usr/sbin/httpd
apache 4835 0.0 0.6 24364 4928 ? S 13:02 0:00 \_ /usr/sbin/httpd
apache 4836 0.0 0.6 24364 4928 ? S 13:02 0:00 \_ /usr/sbin/httpd
apache 4840 0.0 0.6 24364 4928 ? S 13:02 0:00 \_ /usr/sbin/httpd
ÎÒÃDz鿴httpd ·þÎñÆ÷µÄ½ø³Ì£»ÄúÒ²¿ÉÒÔÓÃpgrep -l httpd
À´²é¿´£»
ÎÒÃÇ¿´ÉÏÃæÀý×ÓÖеĵڶþÁУ¬¾ÍÊǽø³ÌPIDµÄÁУ¬ÆäÖÐ4830
ÊÇhttpd·þÎñÆ÷µÄ¸¸½ø³Ì£¬´Ó4833£­4840µÄ½ø³Ì¶¼ÊÇËü4830µÄ×Ó½ø³Ì£»Èç¹ûÎÒÃÇɱµô¸¸½ø³Ì4830µÄ»°£¬ÆäϵÄ×Ó½ø³ÌÒ²»á¸ú×ÅËÀµô£»
[root@localhost ~]# kill 4840 ×¢£ºÉ±µô4840Õâ¸ö½ø³Ì£»
[root@localhost ~]# ps -auxf |grep httpd ×¢£º²é¿´Ò»Ï»áÓÐʲô½á¹û£¿ÊDz»ÊÇhttpd·þÎñÆ÷ÈÔÔÚÔËÐУ¿
[root@localhost ~]# kill 4830 ×¢£ºÉ±µôhttpdµÄ¸¸½ø³Ì£»
[root@localhost ~]# ps -aux |grep httpd ×¢£º²é¿´httpdµÄÆäËü×Ó½ø³ÌÊÇ·ñ´æÔÚ£¬httpd·þÎñÆ÷ÊÇ·ñÈÔÔÚÔËÐУ¿
¶ÔÓÚ½©Ê¬½ø³Ì£¬¿ÉÒÔÓÃkill -9 À´Ç¿ÖÆÖÕÖ¹Í˳ö£»
±ÈÈçÒ»¸ö³ÌÐòÒѾ­³¹µ×ËÀµô£¬Èç¹ûkill ²»¼ÓÐźÅÇ¿¶ÈÊÇûÓа취Í˳ö£¬×îºÃµÄ°ì·¨¾ÍÊǼÓÐźÅÇ¿


Ïà¹ØÎĵµ£º

Linux iptableÎĵµ

×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......

linuxÏÂsvn¿Í»§¶Ë°²×°¼°»·¾³ÅäÖÃ

Ò»¡¢svn¿Í»§¶Ë°²×°¼°»·¾³ÅäÖÃ.
¹ûËùÔÚµÄlinux»úÆ÷ÉÏûÓа²×°svn¿Í»§¶Ë£¬ÔòÊ×ÏÈ°²×°svn¿Í»§¶Ë£º
1. subversion-1.4.3.tar.bz2  subversion-deps-1.4.3.tar.bz2
2. ʹÓÃ
tar xvfj subversion-1.4.3.tar.bz2
tar xvfj subversion-deps-1.4.3.tar.bz2
½âѹÕâÁ½¸öÎļþ(²»ÒªÂÒÁË˳Ðò)£¬´ËʱÔÚµ±Ç°Ä¿Â¼Ï»á³öÏÖsubvers ......

Linux°æ±¾ºÅ

¡¡¡¡LinuxÄں˰汾ÓÐÁ½ÖÖ:Îȶ¨°æºÍ¿ª·¢°æ.Îȶ¨µÄÄں˾ßÓй¤Òµ¼¶µÄÇ¿¶È,¿ÉÒԹ㷺µØÓ¦ÓúͲ¿Êð.еÄÎȶ¨ÄÚºËÏà¶ÔÓڽϾɵÄÖ»ÊÇÐÞÕýһЩbug»ò¼ÓÈëһЩеÄÇý¶¯³ÌÐò.¶ø¿ª·¢°æÄÚºËÓÉÓÚÒªÊÔÑé¸÷ÖÖ½â¾ö·½°¸,ËùÒԱ仯ºÜ¿ì.ÕâÁ½ÖÖ°æ±¾ÊÇÏ໥¹ØÁª,Ï໥ѭ»·µÄ.
LinuxÄں˵ÄÃüÃû»úÖÆ:
 
 
     num.nu ......

Linux Shell ±Ê¼Ç¶þ(Ñ­»·½á¹¹)

³ÌÐò12£ºÀàËÆjava ÀïÃæµÄswitch case
[root@localhost scripts]# cat sh12.sh
read -p "input comand:" command
case $command in
"fix")
echo "fix system"
;;
"fuck")
echo "fuck you"
;;
*)
echo "what a stupid man!ex>$0 some word"
......

linuxϵͳÏ°²×°flashplayer

µÚÒ»²½:ÏÂÔØFLASHµÄ²å¼þ
 
http://www.adobe.com/ÔÚÕâ¸öÒ³ÃæÉÏÓкܶà²å¼þ,ÔÚÕâÀïÄãÖ»ÓÃÏÂÔØ
 
ÎļþÃû×Ö:install_flash_player_9_linux.tar.gz
 
 
µÚ¶þ²½:½âѹÎļþ°ü
 
µ±Ç°µÄ¹¤×÷Ŀ¼ÊÇ:USR
 
[root@isitqnx usr]#tar zvxf install_flash_player_7_linux.tar.gz µÃµ½Ò»¸öͬÃûÎļ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ