#查看当前系统load
uptime
#查看系统状态和每个进程的系统资源使用状况
top
#可视化显示CPU的使用状况
htop
#查看每个CPU的负载信息
mpstat -P ALL 1
#每隔1秒查看磁盘IO的统计信息
iostat -xkdz 1
#每隔一秒查看虚拟内存的使用信息
vmstat 1
#查看内存使用统计信息
free
#查看网络使用信息
nicstat -z 1
...
分类:
系统相关 时间:
2014-06-29 07:23:22
阅读次数:
461
显示效果:
红色的部分就是Badge,可以用来显示数量或者是其他的信息。
使用其实很简单, $.ui.updateBadge("#" + id, res.Msg, "tr");
第一个参数是需要显示的标签编号,第二个参数是需要显示的文字,第三个参数是需要显示的位置。
bl - bottom left
tl - top left
br - bottom ri...
分类:
移动开发 时间:
2014-06-20 13:10:33
阅读次数:
263
本文出自:http://blog.csdn.net/svitter
引文出自:http://bbs.chinaunix.net/thread-775649-1-1.html
1.关闭服务 service 服务 stop
netstat -ntlp
kill -9 PID
2.使用两个方法
1.
ps aux|grep 端口
kill -9 PID
2.
iptables...
分类:
系统相关 时间:
2014-06-20 13:08:31
阅读次数:
324
项目中用到的SQLServer分页查询存储过程。
【存储过程】
create PROCEDURE prcPageResult
-- 获得某一页的数据 --
@currPage int = 1, --当前页页码 (即Top currPage)
@showColumn varchar(2000) = '*', --需要得...
分类:
数据库 时间:
2014-06-20 12:51:04
阅读次数:
246
一直想要写的 二叉树 中序 先序 后序遍历算法
递归的太简单了,就不写了。关键是非递归版本。
先序:
我自己的版本:
void RootPreTraverse(Node* p)
{
Stack S;
while(S not empty)
{
p=S.top();
S.pop();
Show(p);
if(p->right!=null)
S...
分类:
其他好文 时间:
2014-06-20 10:55:49
阅读次数:
279
By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bottom is 23.
3
7 4
2 4 6
8 5 9 3
That is, 3 + 7 + 4 + 9 = 23.
Find th...
分类:
其他好文 时间:
2014-06-07 13:45:25
阅读次数:
189
sqlserver
sa用户登陆失败的解决办法如下图以此模仿:1.右键-属性2.找到安全:3.勾选如图:4.sa用户密码重置:5.服务重启:
分类:
数据库 时间:
2014-06-07 11:15:55
阅读次数:
263
Dim lb As New Label lb.Text = "hello" lb.Top = 200
lb.Left = 100 Me.Controls.Add(lb)
PS C:\Users\setup.moss> Set-SPLogLevel
-TraceSeverity verboseexPS C:\Users\setup.moss> New-SPLogFilePS
C:\Users\setup.moss> New-SPLogFilePS C:\Users\s...
分类:
其他好文 时间:
2014-06-07 07:15:56
阅读次数:
281
public void test() throws IOException{ try(
BufferedReader br=new BufferedReader(new FileReader("AutoCloseTest.java"));
PrintStream ps=new PrintStream...
分类:
编程语言 时间:
2014-06-05 14:12:26
阅读次数:
293