- 博客(482)
- 资源 (7)
- 收藏
- 关注
转载 logrotate机制和原理
原文地址:http://www.lightxue.com/how-logrotate-works日志实在是太有用了,它记录了程序运行时各种信息。通过日志可以分析用户行为,记录运行轨迹,查找程序问题。可惜磁盘的空间是有限的,就像飞机里的黑匣子,记录的信息再重要也只能记录最后一段时间发生的事。为了节省空间和整理方便,日志文件经常需要按时间或大小等维度分成多份,删除时间久远的日志文件。这就是通常
2017-08-15 13:07:20
2042
转载 IO负载高的来源定位
原文地址:http://www.cnblogs.com/cenalulu/archive/2013/04/12/3016714.html前言:在一般运维工作中经常会遇到这么一个场景,服务器的IO负载很高(iostat中的util),但是无法快速的定位到IO负载的来源进程和来源文件导致无法进行相应的策略来解决问题。这个现象在MySQL上更为常见,在5.6(performa
2016-05-26 09:14:28
1312
转载 pdflush进程详解
原文地址:http://blog.chinaunix.net/uid-9543173-id-3568408.html一、简介 由于页高速缓存的缓存作用,写操作实际上会被延迟。当页高速缓存中的数据比后台存储的数据更新时,那么该数据就被称做脏数据。在内存中累积起来的脏页最终必须被写回磁盘。在以下两种情况发生时,脏页被写回磁盘:1、当空闲内存低于一个特定的阈值时,内核必须
2015-11-23 19:27:01
1050
转载 详解coredump
原文地址:http://blog.youkuaiyun.com/tenfyguo/article/details/8159176一,什么是coredump 我们经常听到大家说到程序core掉了,需要定位解决,这里说的大部分是指对应程序由于各种异常或者bug导致在运行过程中异常退出或者中止,并且在满足一定条件下(这里为什么说需要满足一定的条件呢?下面会分析)会产生一个叫
2015-11-23 16:26:39
870
转载 linux之fstab文件详解
原文地址:http://blog.youkuaiyun.com/richerg85/article/details/17917129/etc/fstab是用来存放文件系统的静态信息的文件。位于/etc/目录下,可以用命令less /etc/fstab 来查看,如果要修改的话,则用命令 vi /etc/fstab 来修改。 当系统启动的时候,系统会自动地从这个文件读取信息,并
2015-11-16 11:26:51
799
转载 Linux SendMail总结
原文地址:http://20101218.blog.51cto.com/283611/701794 Internet上最基本的服务,现在应该大部分人都有自己的邮箱吧,用的人多,但理解的人估计没多少,我自己以前也是常常用,但对其原理并不操心。今天就来操心下,进行个小总结 一.邮件服务的基本流程 邮件服务器构成了电子邮件系统的核心。每个收信人都有一个位于
2015-10-13 10:24:23
4883
转载 配置vim Python IDE 开发环境
原文地址:http://blog.chinaunix.net/uid-25719044-id-3026457.html在 Linux 下对 vim 进行一些配置,使之支持如下特性:1. 加强的 Python 语法高亮显示;2. 对脚本、项目生成 ctag 序列;3. 在 vim 中显示 ctag 序列列表;4. Python 函数、类的自动补全;
2015-09-20 16:48:24
931
转载 nohup命令
原文地址:nohup用途:LINUX命令用法,不挂断地运行命令。 语法:nohup Command [ Arg ... ] [ & ] 描述:nohup 命令运行由 Command 参数和任何相关的 Arg 参数指定的命令,忽略所有挂断(SIGHUP)信号。在注销后使用 nohup 命令运行后台中的程序。要运行后台中的 n
2015-09-18 09:08:50
675
转载 vim的taglist插件的使用和配置
原文地址:http://blog.youkuaiyun.com/jk110333/article/details/8638020今天看代码突然想起来以前使用的taglist插件,而我这个虚拟机又没装,所以干脆装上好了!也花不了多少时间!这个插件大部分的linux代码老鸟都会装,也都用过,所以请老鸟绕道!1、介绍taglist是基于ctags的一个vim插件,使用它可以很
2015-09-08 20:02:59
563
转载 linux下svn 增加 ignore 属性(忽略文件的处理)
原文地址:http://www.gowhich.com/blog/545一直不知道svn的忽略命令如何使用,经过google的查找,使用方法还是有的,做个记录好了。如果想在SVN提交时,忽略某个文件,也就是某个文件不提交,可以使用svn propedit svn:ignore命令。下面详细介绍一下使用步骤。单纯的看svn官方文档和一些网上搜索的资
2015-08-13 11:54:48
3670
转载 欢迎使用优快云-markdown编辑器
欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦:Markdown和扩展Markdown简洁的语法代码块高亮图片链接和图片上传LaTex数学公式UML序列图和流程图离线写博客导入导出Markdown文件丰富的快捷键快捷键加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl
2015-07-24 08:50:13
626
转载 ZooKeeper原理及使用
原文地址:http://www.wuzesheng.com/?p=2609ZooKeeper是Hadoop Ecosystem中非常重要的组件,它的主要功能是为分布式系统提供一致性协调(Coordination)服务,与之对应的Google的类似服务叫Chubby。今天这篇文章分为三个部分来介绍ZooKeeper,第一部分介绍ZooKeeper的基本原理,第二部分介绍ZooKe
2015-07-22 17:20:47
532
转载 在iTerm2中使用Zmodem的方法
原文地址:http://openexz.sinaapp.com/2012/08/29/%E5%9C%A8iterm2%E4%B8%AD%E4%BD%BF%E7%94%A8zmodem%E7%9A%84%E6%96%B9%E6%B3%95/iTerm通过trigger的方式可以使用sz、rz命令方便的通过Terminal在远程主机文件传输。设置方法首先需要安装
2015-07-10 20:16:47
4891
转载 在 Mac OS X 终端里使用 Solarized 配色方案
原文地址:http://www.vpsee.com/2013/09/use-the-solarized-color-theme-on-mac-os-x-terminal/相信长期浸泡在终端和代码的小伙伴们都有一套自己喜爱的配色方案。以前一直在用简单、适合阅读的 Terminal.app 配色方案,换到 MacBook Pro with Retina display 后发现这
2015-07-10 19:57:31
2525
转载 ssh 免密码登录
原文地址:http://chenlb.iteye.com/blog/211809ssh 无密码登录要使用公钥与私钥。linux下可以用用ssh-keygen生成公钥/私钥对,下面我以CentOS为例。有机器A(192.168.1.155),B(192.168.1.181)。现想A通过ssh免密码登录到B。1.在A机下生成公钥/私钥对。[chenlb@A
2015-05-13 13:50:40
484
转载 Boost 库 Enable_shared_from_this 实现原理分析
原文地址:http://www.cnblogs.com/lzjsky/archive/2011/05/05/2037363.html使用情景:当类对象被 shared_ptr 管理时,需要在类自己定义的函数里把当前类对象作为参数传给其他函数时,这时需要传递一个 shared_ptr ,否则就不能保持 shared_ptr 管理这个类对象的语义(因为有一个 raw point
2015-04-04 10:24:20
548
转载 Linux 中的计时
原文地址:http://www.ibm.com/developerworks/cn/linux/l-time/实际上,可能还会有其它一些方法可以完成本文讨论的任务。我仅讨论了我所使用的方法,这并不意味着除此之外的其它方法就很差劲,只不过对我来说这些方法相对简单有效而已。Linux中的时间在Linux系统中,时间扮演着一个非常重要的角色,它几乎无处不在。开机时,会
2014-12-15 11:15:09
649
转载 Set up SSH for Git and Mercurial on Mac OSX/Linux
原文地址:https://confluence.atlassian.com/pages/viewpage.action?pageId=270827678d by manthony, last modified by John Garcia [Atlassian] on Aug 06, 2014Go to start of metadataUp unt
2014-11-19 09:16:19
3036
转载 GDB调试手册
原文地址:http://www.programlife.net/gdb-manual.htmlLinux 包含了一个叫gdb 的GNU 调试程序。gdb 是一个用来调试C和C++程序的强力调试器。它使你能在程序运行时观察程序的内部结构和内存的使用情况。以下是 gdb 所提供的一些功能:它使你能监视你程序中变量的值、它使你能设置断点以使程序在指定的代码行上停止执行、它使你能一行行的执
2014-11-16 13:17:08
711
转载 Protocol Buffer Basics: C++
Protocol Buffer Basics: C++This tutorial provides a basic C++ programmer's introduction to working with protocol buffers. By walking through creating a simple example application, it shows you h
2014-11-05 22:42:30
954
转载 Style Guide
Style GuideThis document provides a style guide for .proto files. By following these conventions, you'll make your protocol buffer message definitions and their corresponding classes consistent
2014-11-05 22:42:26
566
转载 Encoding
EncodingA Simple MessageBase 128 VarintsMessage StructureMore Value TypesEmbedded MessagesOptional And Repeated ElementsField OrderThis document describes the b
2014-11-05 22:41:57
663
转载 Language Guide
Language GuideDefining A Message TypeScalar Value TypesOptional And Default ValuesEnumerationsUsing Other Message TypesNested TypesUpdating A Message TypeExtensions
2014-11-05 22:40:01
1054
转载 Developer Guide
Developer GuideWelcome to the developer documentation for protocol buffers – a language-neutral, platform-neutral, extensible way of serializing structured data for use in communications protoco
2014-11-05 22:39:25
573
转载 java_generator.h
java_generator.h#include namespace google::protobuf::compiler::javaGenerates Java code for a given .proto file.Classes in this fileJavaGeneratorCodeGenerator im
2014-11-05 22:37:30
637
转载 python_generator.h
python_generator.h#include namespace google::protobuf::compiler::pythonGenerates Python code for a given .proto file.Classes in this fileGeneratorCodeGenerator
2014-11-05 22:37:14
606
转载 cpp_generator.h
cpp_generator.h#include namespace google::protobuf::compiler::cppGenerates C++ code for a given .proto file.Classes in this fileCppGeneratorCodeGenerator implem
2014-11-05 22:36:22
690
转载 plugin.pb.h
plugin.pb.h#include namespace google::protobuf::compilerAPI for protoc plugins.This file defines a set of protocol message classes which make up the API to protoc code generator plugin
2014-11-05 22:35:59
1660
转载 plugin.h
plugin.h#include namespace google::protobuf::compilerFront-end for protoc code generator plugins written in C++.To implement a protoc plugin in C++, simply write an implementation of C
2014-11-05 22:35:30
1024
转载 parser.h
parser.h#include namespace google::protobuf::compilerImplements parsing of .proto files to FileDescriptorProtos.Classes in this fileParserImplements parsing of
2014-11-05 22:35:07
1772
转载 command_line_interface.h
command_line_interface.h#include namespace google::protobuf::compilerImplements the Protocol Compiler front-end such that it may be reused by custom compilers written to support other lang
2014-11-05 22:34:48
1575
转载 importer.h
importer.h#include namespace google::protobuf::compilerThis file is the public interface to the .proto file parser.Classes in this fileSourceTreeDescriptorDatabase
2014-11-05 22:34:38
969
转载 code_generator.h
code_generator.h#include namespace google::protobuf::compilerDefines the abstract interface implemented by each of the language-specific code generators.Classes in this file
2014-11-05 22:33:33
858
转载 zero_copy_stream.h
zero_copy_stream.h#include namespace google::protobuf::ioThis file contains the ZeroCopyInputStream and ZeroCopyOutputStream interfaces, which represent abstract I/O streams to and from
2014-11-04 21:44:02
2108
转载 zero_copy_stream_impl.h
zero_copy_stream_impl.h#include namespace google::protobuf::ioThis file contains common implementations of the interfaces defined in zero_copy_stream.h which are only included in the ful
2014-11-04 21:43:51
1705
转载 tokenizer.h
tokenizer.h#include namespace google::protobuf::ioClass for parsing tokenized text from a ZeroCopyInputStream.Classes in this fileErrorCollectorAbstract interfa
2014-11-04 21:43:28
949
转载 printer.h
printer.h#include namespace google::protobuf::ioUtility class for writing text to a ZeroCopyOutputStream.Classes in this filePrinterThis simple utility class as
2014-11-04 21:42:13
788
转载 gzip_stream.h
gzip_stream.h#include namespace google::protobuf::ioThis file contains the definition for classes GzipInputStream and GzipOutputStream.GzipInputStream decompresses data from an under
2014-11-04 21:41:43
1506
转载 coded_stream.h
coded_stream.h#include namespace google::protobuf::ioThis file contains the CodedInputStream and CodedOutputStream classes, which wrap a ZeroCopyInputStream or ZeroCopyOutputStream, re
2014-11-04 21:41:02
3313
[JavaScript权威指南(第6版)].(JavaScript:The.Definitive.Guide).David.Flanagan.文字版.pdf
2013-11-29
信息检索导论(Christopher D. Manning Prabhakar Raghavan)
2013-04-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人