linux Ï fluent UDF ÓÃµÄ makefile
Linux ϱàÒë fluent UDF ʹµÄ makefile£¬¸ù¾Ý fluent ×Ô´øµÄ makefile Ð޸ĵġ£
µ÷ÓõÄʱºò£¬Ö±½Ó¼ÓÉÏÄ¿±ê£¬Èç
make -f makefile_linux lnamd64
#----------------------------------------------------------------------#
# makefile for user defined functions.
#----------------------------------------------------------------------#
#----------------------------------------------------------------------#
# User modifiable section.
#----------------------------------------------------------------------#
SRCDIR = ./src
MYSRCS = mymodels.c \
myuns.c \
mybc.c \
SOURCES = $(addprefix $(SRCDIR)/, $(MYSRCS))
HEADERS = $(SRCDIR)/myudf.h
FLUENT_INC = /opt/progs/Fluent.Inc
ARCH = lnamd64
MAKE = make -f makefile_linux
# Precompiled User Object files (for example .o files from .f sources)
USER_OBJECTS=
#----------------------------------------------------------------------#
# Build targets (do not modify below this line).
#----------------------------------------------------------------------#
CC= cc -DRP_CONFIG_3DDP=1
SHELL= /bin/sh
RELEASE= 6.3.26
VERSION= 3ddp
ARCHC=$(ARCH)
TARGET= libhylab.so
UDFDATA= udf_names.c
OBJECTS= $(UDFDATA:.c=.o) $(MYSRCS:.c=.o)
INCLUDES= -I$(FLUENT_INC)/fluent$(RELEASE)/$(ARCH)/$(VERSION) \
-I$(FLUENT_INC)/fluent$(RELEASE)/src \
-I$(FLUENT_INC)/fluent$(RELEASE)/cortex/src \
-I$(FLUENT_INC)/fluent$(RELEASE)/client/src \
-I$(FLUENT_INC)/fluent$(RELEASE)/tgrid/src \
-I$(FLUENT_INC)/fluent$(RELEASE)/multiport/src \
-I.
CFLAGS_ALPHA= -c
Ïà¹ØÎĵµ£º
ѧ×öǶÈëʽLinuxϵͳ£¨×ª£©
ת×Ô£ºhttp://www.dzkf.cn/html/qianrushixitong/2006/0731/120.html
×öÒ»¸öǶÈëʽLinuxϵͳ¾¿¾¹Òª×öÄÄЩ¹¤×÷
×öÒ»¸öǶÈëʽLinuxϵͳ¾¿¾¹ÐèÒª×öÄÄЩ¹¤×÷£¿Ò²¾ÍÊDZ¾Îľ¿¾¹Òª½²ÊöÄÄЩÄÚÈÝ£¿ÎÒÏȽéÉÜÒ»¸öÂöÂ磬¿ÉÒÔ×öΪÎÒÃǺóÃæ¹¤×÷µÄÒ»¸ö×ܵÄÌá¸Ù£º
µÚÒ»²½¡¢½¨Á¢½»²æ±àÒë»·¾ ......
Linuxϳ£ÓÃѹËõ¸ñʽµÄѹËõÓë½âѹ·½·¨
½â°ü£ºtar xvf FileName.tar
´ò°ü£ºtar cvf FileName.tar DirName
£¨×¢£ºtarÊÇ´ò°ü£¬²»ÊÇѹËõ£¡£©
---------------------------------------------
.gz
½âѹ1£ºgunzip FileName.gz
½âѹ2£ºgzip -d FileName.gz
ѹËõ£ºgzip FileName
.tar.gz
½âѹ£ºtar zxvf FileName.tar. ......
µÚһƪ¼¼Êõ²©¿Í£¬ÖÕÓÚÓÐȨ˵¡¾×ªÔØÇë×¢Ã÷³ö´¦http://user.qzone.qq.com/329331481¡¿
LinuxϵÄOCCI±à³Ì£¬Ò²ÐíÄú¼ò¼òµ¥µ¥¾ÍÊÇʵÏÖÁË£¬µ«¶ÔÓÚÒ»¸ö´Óδ½Ó´¥¹ýOracleÊý¾Ý¿â£¬Ã»ÓÐLinuxϱà³Ì¾Ñ飬һÇдÓ0ѧÆðµÄ²ËÄñÐÂÊÖÀ´Ëµ£¬µÄÈ·¿ÉνÃþÅÀ¹ö´ò£¬µ±È»£¬Ò²Ñ§µ½Á˲»ÉÙ¶«Î÷¡£
ÔÚÕâ¸ö¹ý³ÌÖУ¬Óöµ½ÁËÌ«¶àµÄÎÊÌ⣬ÔÚÍøÉÏË ......
ÔÚLinuxϲ鿴ApacheµÄ¸ºÔØÇé¿ö£¬ÒÔǰҲ˵¹ý£¬×î¼òµ¥ÓÐÓÐЧµÄ·½Ê½¾ÍÊDz鿴Apache Server Status
£¨ÈçºÎ¿ªÆôApache Server Status
µãÕâÀ£¬ÔÚûÓÐ
¿ªÆôApache Server StatusµÄÇé¿öÏ£¬»ò°²×°µÄÊÇÆäËûµÄWeb Server£¬±ÈÈçNginxµÄʱºò£¬ÏÂÃæµÄÃüÁî¾ÍÌåÏÖ³ö×÷ÓÃÁË¡£
ps -ef|grep httpd|wc -l
ÃüÁî
#ps
-ef|grep httpd| ......
Tuning TCP for Linux 2.4 and 2.6
NB: Recent versions of Linux (version 2.6.17 and later) have full autotuning with 4 MB maximum buffer sizes. Except in some rare cases, manual tuning is unlikely to substantially improve the performance of these kernels over most network paths, and is not generally ......