码迷,mamicode.com
首页 >  
搜索关键字:vmstat sar iostat    ( 1714个结果
linux常见命令
vmstat(虚拟内存) 显示一次统计结果 modprobe /insmod (rmmod) ...
分类:系统相关   时间:2016-12-26 18:43:55    阅读次数:367
关于数组两个元素地址相减的问题
运行结果: 查看反汇编的代码,发现:int nTmp = &a[4] - &a[0];00416B87 lea eax,[ebp-28h] 00416B8A lea ecx,[arrayTmp] 00416B8D sub eax,ecx 00416B8F sar eax,2 00416B92 mov ...
分类:编程语言   时间:2016-12-26 12:04:27    阅读次数:211
NGINX----源码阅读---sources配置脚本
/auto/sources 本文件主要用于对源文件环境变量进行初始化,主要包括:.c和.h文件。 对应变量类型有*_MODULES、*_INCS、*_DEPS等。 1 # Copyright (C) Igor Sysoev 2 # Copyright (C) Nginx, Inc. 3 4 5 CO ...
分类:其他好文   时间:2016-12-25 20:41:46    阅读次数:318
Scrapy 爬虫
Scrapy 爬虫 使用指南 完全教程 scrapy note command 全局命令: startproject :在 project_name 文件夹下创建一个名为 project_name 的Scrapy项目。 scrapy startproject myproject settings:在 ...
分类:其他好文   时间:2016-12-23 09:37:34    阅读次数:201
%运算得到的是余数
%运算得到的是余数 5%2结果是1 js中浮点数也可以用% ...
分类:其他好文   时间:2016-12-22 19:33:50    阅读次数:195
Swift3.0 轮播图
使用三个UIButton实现无限轮播:https://github.com/LXfeiYu/LXCarouselImages.git 功能: 1.可以选择开启和关闭定时器 2.有点击事件 使用方法: 点击事件 ...
分类:编程语言   时间:2016-12-22 11:12:55    阅读次数:186
Creating your own header file in C
终于跑起来了,含自定义 include .h 的c语言程序,超开心呀! 参考: http://stackoverflow.com/questions/7109964/creating-your-own-header-file-in-c down vote foo.h #ifndef FOO_H_ / ...
分类:其他好文   时间:2016-12-21 11:34:41    阅读次数:118
icinga2 借助check_iostat.sh抓取linux服务器的diskIO(硬盘繁忙度)
icinga2借助check_iostat.sh抓取linux服务器的diskIO(硬盘繁忙度)下载地址:https://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/Check-Iostat-Updated/details对脚本进行修改(默认为$12,12为w_await值,14为%util值)UTIL=`cat$TMP|$AWK‘{sum+=$14}EN..
分类:移动开发   时间:2016-12-20 21:39:23    阅读次数:242
Steamroller
或 ...
分类:其他好文   时间:2016-12-20 19:56:35    阅读次数:130
Girls and Boys
Girls and Boys Problem Description the second year of the university somebody started a study on the romantic relations between the students. The rela ...
分类:其他好文   时间:2016-12-19 19:08:12    阅读次数:316
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!