/*Base64 - 1.1.0Copyright (c) 2006 Steve WebsterPermission is hereby granted, free of charge, to any person obtaining a copy ofthis software and assoc...
分类:
其他好文 时间:
2015-03-30 22:29:11
阅读次数:
161
网络示例图:RippleView.java 1 /* 2 * The MIT License (MIT) 3 * 4 * Copyright (c) 2014 Robin Chutaux 5 * 6 * Permission is hereby granted, free of...
分类:
移动开发 时间:
2015-03-30 18:01:16
阅读次数:
262
◆ 安装和登录命令:login、shutdown、halt、reboot、install、mount、umount、chsh、exit、last;◆ 文件处理命令:file、mkdir、grep、dd、find、mv、ls、diff、cat、ln;◆ 系统管理相关命令:df、top、free、quo...
分类:
系统相关 时间:
2015-03-30 12:41:01
阅读次数:
208
#!/bin/sh
#crontabusage:*/2****/home/http_restart.sh>>/backup/restart_apache.log
MIN_RAM=3200
FREE_RAM=`free-m|grepMem|awk‘{print$4}‘`
echo$(date+"%y-%m-%d")`uptime`
if[`echo"$FREE_RAM<$MIN_RAM"|bc`-eq1]
then
echo"#0#"$(date+"%y-%m-%d%H:%M:%S")"pk..
分类:
Web程序 时间:
2015-03-28 18:57:11
阅读次数:
180
Abstract. PostgreSQL is an excellent implementation of relational database, fully featured, open source, and free to use. Nearly nontrivial computer a...
分类:
数据库 时间:
2015-03-28 15:44:47
阅读次数:
320
有些时候为了省空间,我们需要垃圾回收。靠malloc和free的垃圾回收装置效率太低,可能会影响程序效率。其实有一种简单的办法来实现,就是基于循环队列的垃圾回收装置。为什么malloc效率低下一般的系统malloc函数其实都非常先进,可以足够应对大多数应用。但是,它的效率还是比较低的。malloc需...
分类:
其他好文 时间:
2015-03-28 06:21:51
阅读次数:
107
相关概念BUCKET :每个bucket上挂有一个 chunk list。同一个BUCKET中的chunk在物理地址上是不一定相邻的FREE LISTS:按bucket划分,共有255个,bucket 0---bucket 254RESERVED FREE LISTS:在SQL语句所需CHUNK大于...
分类:
其他好文 时间:
2015-03-21 22:39:16
阅读次数:
229
WeLongDaWoodmanufacturehardwoodcore3timehotpressBrownfilmfacedplywood.ThecoreofthiskindBrownfilmfacedplywoodismadefrom13layersfor18mmthicknessplywood.Brownfilmfacedplywood,Brownphenolicfilm,WBPglue,hardwoodcore1220x2440x18mm--------US杨342/CBMFOBQingdaoport..
分类:
其他好文 时间:
2015-03-21 21:29:06
阅读次数:
122
linux的top命令里的cpu信息是什么意思呢?Cpu(s): 62.1% us, 15.9% sy,0.1% ni, 19.4% id,2.0% wa,0.1% hi,0.4% siMem: 8247956k total,8232004k used,15952k free,205240k buf...
分类:
系统相关 时间:
2015-03-21 18:25:29
阅读次数:
207
返回主机内存使用信息func‘*‘callcommandrun"df-m"func‘*‘callcommandrun"df-h"func‘*‘callcommandrun"free-m"返回主机uptime信息func‘*‘callcommandrun"uptime"获取远程主机CPU信息func‘*‘callcpuusagefunc‘*‘callcpuusage10获取远程主机磁盘分区信息func‘*‘calldiskusagefunc..
分类:
其他好文 时间:
2015-03-20 18:51:46
阅读次数:
259