自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 一个IP摄像头视频流生产发送模型的C代码实现

#include #include #include #include #include #include #include #include #include typedef enum {MW_FST_STREAM = 0,MW_SND_STREAM,MW_TRD_STREAM,MW_STREAM_MAX,}MW_STREAM_ID;

2015-01-14 17:21:10 826

原创 Linux监控系统CPU、内存、磁盘空间和网口收发脚本

#!/bin/bashget_cpu_info(){    cat /proc/stat |grep "^cpu" |head -n1 |awk '{used=$2+$3+$4+$6+$7+$8;unused=$2+$3+$4+$5+$6+$7+$8} END{print used, unused}'}while truedo    time_point_1=`

2014-09-04 10:39:54 420

原创 LINUX setitimer创建定时器实例

#include #include #include #include #include #include void print_msg(int num){    printf("%s\n", "hello world!");}int main(int argc, char *argv[]){    signal(SIGALRM, p

2014-08-22 15:42:34 450

原创 LINUX SD卡分区和格式化实例

# fdisk /dev/mmcblk0The number of cylinders for this disk is set to 1914368.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:1

2014-08-22 15:32:04 2195

原创 centos关闭防火墙的方法

临时关闭命令(系统复位后失效):service iptables stop永久关闭命令:chkconfig iptables off查看防火墙关闭状态:service iptables status

2014-07-13 09:44:41 386

原创 centos网络配置实例

在/etc/sysconfig/

2014-07-10 14:30:30 422

原创 ubuntu网络配置实例

在/etc/network/interfaces文件中添加如下内容:auto loiface lo inet loopbackauto eth2iface eth2 inet staticaddress 192.168.0.132netmask 255.255.255.0gateway 192.168.0.1auto eth2:1iface eth2:1

2014-07-10 11:53:19 353

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除