dzÎöLinuxÏÂcoreÎļþ
µ±ÎÒÃǵijÌÐò±ÀÀ£Ê±£¬ÄÚºËÓпÉÄܰѸóÌÐòµ±Ç°ÄÚ´æÓ³Éäµ½coreÎļþÀ·½±ã³ÌÐòÔ±ÕÒµ½³ÌÐò³öÏÖÎÊÌâµÄµØ·½¡£×î³£³ö
Ïֵģ¬¼¸ºõËùÓÐC³ÌÐòÔ±¶¼³öÏÖ¹ýµÄ´íÎó¾ÍÊÇ“¶Î´íÎó”ÁË¡£Ò²ÊÇ×îÄѲé³öÎÊÌâÔÒòµÄÒ»¸ö´íÎó¡£ÏÂÃæÎÒÃǾÍÕë¶Ô“¶Î´íÎó”À´·ÖÎöcoreÎļþµÄ²úÉú¡¢ÒÔ¼°ÎÒÃÇ
ÈçºÎÀûÓÃcoreÎļþÕÒµ½³öÏÖ±ÀÀ£µÄµØ·½¡£
ºÎνcoreÎļþ
µ±Ò»¸ö³ÌÐò±ÀÀ£Ê±£¬ÔÚ½ø³Ìµ±Ç°¹¤×÷Ŀ¼µÄcoreÎļþÖи´ÖÆÁ˸ýø³ÌµÄ´æ´¢Í¼Ïñ¡£core
Îļþ½ö½öÊÇÒ»¸öÄÚ´æÓ³Ïó(
ͬʱ¼ÓÉϵ÷ÊÔÐÅÏ¢)
£¬Ö÷ÒªÊÇÓÃÀ´µ÷ÊԵġ£
µ±³ÌÐò½ÓÊÕµ½ÒÔÏÂUNIXÐźŻá²úÉúcoreÎļþ£º
Ãû×Ö
˵Ã÷
ANSI C POSIX.1
SVR4 4.3+BSD
ȱʡ¶¯×÷
SIGABRT
Òì³£ÖÕÖ¹(abort)
. .
. .
ÖÕÖ¹w/core
SIGBUS
Ó²¼þ¹ÊÕÏ
.
. .
ÖÕÖ¹w/core
SIGEMT
Ó²¼þ¹ÊÕÏ
. .
ÖÕÖ¹w/core
SIGFPE
ËãÊõÒì³£
. .
. .
ÖÕÖ¹w/core
SIGILL
·Ç·¨Ó²¼þÖ¸Áî
. .
. .
ÖÕÖ¹w/core
SIGIOT
Ó²¼þ¹ÊÕÏ
. .
ÖÕÖ¹w/core
SIGQUIT
ÖÕ¶ËÍ˳ö·û
.
. .
ÖÕÖ¹w/core
SIGSEGV
ÎÞЧ´æ´¢·ÃÎÊ
. .
. .
ÖÕÖ¹w/core
SIGSYS
ÎÞЧϵͳµ÷ÓÃ
. .
ÖÕÖ¹w/core
SIGTRAP
Ó²¼þ¹ÊÕÏ
. .
ÖÕÖ¹w/core
SIGXCPU
³¬¹ýCPUÏÞÖÆ(setrlimit)
. .
ÖÕÖ¹w/core
SIGXFSZ
³¬¹ýÎļþ³¤¶ÈÏÞÖÆ(setrlimit)
. .
ÖÕÖ¹w/core
ÔÚϵͳĬÈ϶¯×÷ÁУ¬“ÖÕÖ¹w/core”±íʾÔÚ½ø³Ìµ±Ç°¹¤×÷Ŀ¼µÄcoreÎļþÖи´ÖÆÁ˸ýø³ÌµÄ´æ´¢Í¼Ïñ£¨¸ÃÎļþÃûΪcore£¬ÓÉ´Ë¿ÉÒÔ¿´³öÕâÖÖ¹¦ÄܾܺÃ֮ǰ¾ÍÊÇUN
Ïà¹ØÎĵµ£º
&&
ÃüÁî1 && ÃüÁî2 Èç¹ûÕâ¸öÃüÁî1Ö´Ðгɹ¦& &ÄÇôִÐÐÕâ¸öÃüÁîÃü2
mv myfile myfile2 && echo "if you are seeing this then mv was success!"
||
Èç¹û| |×ó±ßµÄÃüÁÃüÁî1£©Î´Ö´Ðгɹ¦£¬ÄÇô¾ÍÖ´ÐÐ| |ÓұߵÄÃüÁî(ÃüÁî2£©
mv myfile myfile2 & ......
linuxÏÂoracleµÄ×Ô¶¯±¸·Ý
http://hohai2002.blog.163.com/blog/static/1628166912010323103227543/
±¸·Ý
ÉÏ´«root_cronµ½rootĿ¼
ʹÓÃcrontab ÅäÖÃÎļþ
crontab -u root /root/root_cron
ʹÓÃcrontab -l ¼ì²é
#Îļþ root_cron
01 00 * * * /etc/root_exp.sh
#Îļþroot_exp.sh
su - oracle -c /oracle/db ......
½ñÌìµÄÊÂÌ«¶à£¬Ã»ÓÐÈÏÕæµÄÍê³ÉÈÎÎñ£¬²»¹ý°Ñ·þÎñÆ÷¶ËµÄÎļþ´«Êä×öºÃÁË£¡
Ã÷Ìì°Ñ·þÎñÆ÷¶ËµÄ´úÂ뼯³ÉÆðÀ´²âÊÔһϣ¬²¢°ÑÍøÂç¿Í»§¶Ë³ÌÐò×öºÃ£¡
°Ñ´úÂëÌù³öÀ´°É£¡±ãÓÚ±£´æ£¡
Í·Îļþ£ºserver_udpsocket.h
#ifndef _SERVER_UDPSOCKET_H_
#define _SERVER_UDPSOCKET_H_
#include <stdio.h>
#include <stdlib.h>
......
±¾ÎÄת×Ô http://zhzhiqun2005.javaeye.com/blog/462799
LinuxÏ°²×°ÅäÖà Jdk1.6+Tomcat6+Apache2.2.x+jk_mod1.2 Ïê½â
LinuxÏ°²×°ÅäÖà Jdk1.6+Tomcat6+Apache2.2.x+jk_mod1.2 Ïê½â
±¾ÆªÒÔRedhat AS5£¬ÄÚºËΪLinux 2.6.18-8.el5 ΪÀý£¬ÆäÖÐRedhat/FedoraϵÁлù±¾Ò»Ö£¬ÆäËûLinux»òÕß° ......
ÔÚFC8ÖÐĬÈÏ°²×°µÄÓÐmysql£¬Ã»ÓеĻ°¿ÉÒԺܷ½±ãµÄ°²×°Ï¡£
ĬÈϵÄmysqlµÄincludeÎļþĿ¼ÔÚ/usr/include/mysql
ĬÈϵÄmysqlµÄlibÎļþ¼ÐÔÚ/usr/lib/mysql
ÕâÁ½¸öĿ¼ÔÚÎÒÃDZàÒëʱºòÐèÒªµ½¡£
ÎҵIJâÊÔÓõÄC´úÂëΪ£º
££include <stdio.h>
#include <stdlib.h>
#include <mysql.h>
#define CONN_HOST ......