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
Ïà¹ØÎĵµ£º
Displaying the Routing Table£º
netstat -nr
Displaying Interface Statistics:
netstat -i
Show the address resolution (ARP) tables:
netstat -p
Displaying Connections:
netstat -ta (linux)
netstat -a -f af:inet (opensolaris)
http://www.faqs.org/docs/linux_network/x-087-2-iface.netstat.html
http ......
Õâ¸ö¶«¶«£¬ÂùºÃÍæµÄ¡£Æäʵ¾ÍÊǶÁÈ¡ÁË/proc/net/dev Îļþ¡£
struct netdev_stats {
unsigned long long rx_packets_m; /* total packets received */
unsigned long long tx_packets_m; &nbs ......
“/”¸ùĿ¼
°üº¬»ù±¾µÄ²Ù×÷ϵͳºÍά»¤¹¤¾ß¡£Õâ¸öĿ¼µÄÎļþ¿ÉÒÔÆô¶¯ÏµÍ³£¬²¢ÇÒÐèÒªµÄ»°£¬¿ÉÒÔÍê³É½ô¼±Î¬»¤ºÍÐÞ¸´µÄ¹¦ÄÜ¡£
“/usr”Ŀ¼
°üº¬ËùÓеÄÃüÁî¡¢³ÌÐò¿â¡¢ÎĵµºÍÆäËüÎļþ¡£ÕâЩÎļþÔÚÕý³£²Ù×÷Öв»»á±»¸Ä±äµÄ¡£
Õâ¸öĿ¼Ҳ°üº¬ÄãµÄLinux·¢Ðа汾µÄÖ÷ÒªµÄÓ¦ÓóÌÐò£¬Æ©È磬Netscape¡£
&ldquo ......
µÚһƪ¼¼Êõ²©¿Í£¬ÖÕÓÚÓÐȨ˵¡¾×ªÔØÇë×¢Ã÷³ö´¦http://user.qzone.qq.com/329331481¡¿
LinuxϵÄOCCI±à³Ì£¬Ò²ÐíÄú¼ò¼òµ¥µ¥¾ÍÊÇʵÏÖÁË£¬µ«¶ÔÓÚÒ»¸ö´Óδ½Ó´¥¹ýOracleÊý¾Ý¿â£¬Ã»ÓÐLinuxϱà³Ì¾Ñ飬һÇдÓ0ѧÆðµÄ²ËÄñÐÂÊÖÀ´Ëµ£¬µÄÈ·¿ÉνÃþÅÀ¹ö´ò£¬µ±È»£¬Ò²Ñ§µ½Á˲»ÉÙ¶«Î÷¡£
ÔÚÕâ¸ö¹ý³ÌÖУ¬Óöµ½ÁËÌ«¶àµÄÎÊÌ⣬ÔÚÍøÉÏË ......
ÔÚLinuxÖУ¬²»ÓüüÈëÓ¦ÓóÌÐòµÄÍêÕû·¾¶¶øÆô¶¯Ó¦ÓóÌÐòµÄ·½·¨£º
ÔÒò£º
Ö®ËùÒÔҪʹÓÃÍêÕû·¾¶ÃûÀ´Æô¶¯³ÌÐòÊÇÓÉÓÚ£¬¿ÉÖ´ÐÐÎļþûÓб»·ÅÖÃÔÚÄãµÄÓû§ shell »·¾³ËùÖªµÄĿ¼ÖУ¨Èç /usr/local/bin £©¡£
·½·¨£º±à¼PATH±äÁ¿
Èç¹ûÄãÐèҪƵ·±µØÆô¶¯Î»ÓÚ shell ËÑË÷µÄ·¾¶Ö®ÍâµÄ³ÌÐò£ ......