易截截图软件、单文件、免安装、纯绿色、仅160KB

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下的netstat命令

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 ......

linux上c语言 获得网络接口的统计值

这个东东,蛮好玩的。其实就是读取了/proc/net/dev 文件。
struct netdev_stats {
    unsigned long long rx_packets_m;    /* total packets received       */
    unsigned long long tx_packets_m;     &nbs ......

自动生成linux下的产品上线文件

    如果你是一个软件开发人员,如果你是一个经常做产品上线操作的程序员,你一定会对tar命令很熟悉,它是一个打包命令,但具体的打包内容可能是一个很长的文件列表,如果部分文件上线的话人工制作一个文件列表是一件很浪费精力的事情。
 
    于是我写了一个shell脚本,用来查找 ......

Linux下查看Apache的请求数

在Linux下查看Apache的负载情况,以前也说过,最简单有有效的方式就是查看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

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 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号