码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
一次线上页游服务器响应缓慢排查过程
最近线上一组服务器玩家反馈响应缓慢,记录下排查过程。  1、使用top命令查看服务器负载情况, top - 15:59:37 up 26 days,  3:42,  6 users,  load average: 2.98, 2.74, 2.70 Tasks: 180 total,   1 running, 167 sleeping,  12 stopped,   0 zombie ...
分类:其他好文   时间:2015-08-18 19:37:01    阅读次数:191
poj1703(Find them, Catch them)并查集
Description The police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TWO gangs in the city, Gang Dragon and Gang Snake. However, the police first needs to...
分类:其他好文   时间:2015-08-18 19:29:43    阅读次数:148
poj 1564 Sum It Up (DFS+ 去重+排序)
http://poj.org/problem?id=1564该题运用DFS但是要注意去重,不能输出重复的答案两种去重方式代码中有标出第一种if(a[i]!=a[i-1])意思是如果这个数a[i]和上一个数相同,那么记录数组的同一个位置就没有必要再放入这个数。例如:4 3 3 2构成和是7,b数组的第...
分类:编程语言   时间:2015-08-18 18:59:27    阅读次数:140
【LeetCode】141 - Linked List Cycle
Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?Hide Tags:Linked ListTwo PointersHide Simi...
分类:其他好文   时间:2015-08-18 18:52:17    阅读次数:98
ResourceManager启动和关闭时日志打印
启动日志打印:入口 主要打印:见红色字体处,也就是日志当中的信息 StringUtils.startupShutdownMessage(ResourceManager.class, argv, LOG); /** * Print a log message for starting up and s...
分类:其他好文   时间:2015-08-18 18:30:41    阅读次数:112
【LeetCode】142 - Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?Sol...
分类:其他好文   时间:2015-08-18 18:15:25    阅读次数:110
[LeetCode] Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2015-08-18 13:48:33    阅读次数:106
Quit to set up node.js on centos6
STEP1: installdependencies and compile tools.yuminstalllibtoolautomakeautoconfgcc-c++openssl-develSTEP2: download node.js package, tar and make instal...
分类:Web程序   时间:2015-08-18 13:44:22    阅读次数:111
[LeetCode] Linked List Cycle II, Solution
Question : Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull. Follow up: Can you solve it without using...
分类:其他好文   时间:2015-08-18 13:40:08    阅读次数:127
Quick to set up the web server environment on centos
#install Apache+MySQL+PHP+ZIPyum -y install httpd php mysql mysql-server php-mysql zip unzip# start httpd serviceservice httpd start# start mysql serv...
分类:Web程序   时间:2015-08-18 11:27:19    阅读次数:109
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!