killLinux中的kill命令用来终止指定的进程(terminateaprocess)的运行,是Linux下进程管理的常用命令。通常,终止一个前台进程可以使用Ctrl+C键,但是,对于一个后台进程就须用kill命令来终止,我们就需要先使用ps/pidof/pstree/top等工具获取进程PID...
分类:
其他好文 时间:
2015-07-20 21:04:57
阅读次数:
126
top命令经常用来监控linux的系统状况,比如cpu、内存的使用,程序员基本都知道这个命令,但比较奇怪的是能用好它的人却很少,例如top监控视图中内存数值的含义就有不少的曲解。 本文通过一个运行中的WEB服务器的t...
分类:
其他好文 时间:
2015-07-20 19:49:04
阅读次数:
169
div速度 运动:
代码如下:
速度 运动
body{paddiing:0;margin:0}
#div1{width:200px; height:200px;background-color:red; position:relative;left:-200px; top:0;}
#div1 span{width:20px;height:50px; background-color:bl...
分类:
Web程序 时间:
2015-07-20 19:36:54
阅读次数:
123
参见note:https://www.zybuluo.com/SailorXiao/note/136014case现场线上发现一台机器内存负载很重,top后发现一个redis进程占了大量的内存,TOP内容如下:27190 root 20 0 18.6g 18g 600 S 0...
分类:
其他好文 时间:
2015-07-20 18:47:09
阅读次数:
131
-- oracle sql 查询前十条数据select * from b2c_code where rownum <= '10';-- sql server 查询前十条数据select top 10 * from b2c_code;
分类:
数据库 时间:
2015-07-20 18:39:53
阅读次数:
222
代码:
// linkstack.hpp
// 栈类
#pragma once
#include "linklist.hpp"
template
class LinkStack
{
public:
LinkStack();
~LinkStack();
public:
int clear();
int push(T &t);
int pop(T &t);
int top(T &...
分类:
其他好文 时间:
2015-07-20 16:42:58
阅读次数:
95
图片和文字对齐设置各对象的vertical-align属性,属性说明: baseline-将支持valign特性的对象的内容与基线对齐 sub-垂直对齐文本的下标 super-垂直对齐文本的上标 top-将支持valign特性的对象的内容与对象顶端对齐 text-top-将支持valign...
分类:
其他好文 时间:
2015-07-20 15:47:15
阅读次数:
103
方法一:.element { position: relative; top: 50%; transform: translateY(-50%);} 方法二:HTML:css:.a1{width: 100%;height: 500px;display: table-cell;text-align: ...
分类:
Web程序 时间:
2015-07-20 12:49:05
阅读次数:
133
16.1 Introduction to SQL Tuning Identifying high load or top SQL statements that are responsible for a large share of the application workload and ...
分类:
数据库 时间:
2015-07-20 10:37:43
阅读次数:
161
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time.
push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top() -- Get ...
分类:
其他好文 时间:
2015-07-20 09:16:26
阅读次数:
96