Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1446879
  • 博文数量: 150
  • 博客积分: 65
  • 博客等级: 民兵
  • 技术积分: 3415
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-25 10:30
个人简介

游戏后台开发

文章分类

全部博文(150)

文章存档

2020年(1)

2019年(4)

2017年(3)

2016年(6)

2015年(4)

2014年(45)

2013年(86)

2012年(1)

发布时间:2013-10-31 23:54:44

nginx是个多进程web容器,不同的配置下它的启动方式也是不同的,这里我只说说最典型的启动方式。它有1个master进程,和多个worker进程(最优配置的数量与CPU核数相关)。那么,首先我们要找到main函数,它在src/core/nginx.c文件中。谈到源码了,这时我们先简单看下源码的目录结构吧。nginx主要有下列目录:s.........【阅读全文】

阅读(2041) | 评论(0) | 转发(0)

发布时间:2013-10-31 09:07:30

NAMElspci - list all PCI devicesSYNOPSISlspci [options]DESCRIPTIONlspci is a utility for displaying information about all PCI buses in the system and all devices connected to them.To make use of all the features of this program, you need to have Linux kernel 2.1.82 or newe.........【阅读全文】

阅读(2622) | 评论(0) | 转发(0)

发布时间:2013-10-30 22:07:40

1.1   介绍  每一个c程序都有个main函数,作为程序启动入口函数。main函数的原型是int main(int argc , char *argv[]);其中argc表示命令行参数的个数;argv是一个指针数组,保存所有命令行字符串。Linux进程名称是通过命令行参数argv[0]来表示的。Linux 还有环境变量参数信息,表.........【阅读全文】

阅读(5109) | 评论(0) | 转发(2)

发布时间:2013-10-30 17:51:55

NAME     arch - display the architecture of the current hostSYNOPSIS     arch [-k | archname]DESCRIPTION     The arch utility displays the  application  architecture  of     the  current host system. Due to ext.........【阅读全文】

阅读(1898) | 评论(0) | 转发(0)

发布时间:2013-10-30 17:49:26

NAME     uname - print name of current systemSYNOPSIS     uname [-aimnprsvX]     uname [-S system_name]DESCRIPTION     The uname utility prints information about the current  sys-     tem on the standard out.........【阅读全文】

阅读(1596) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册