$t= microtime(true); .............................
echo microtime(true) - $t;
分类:
Web程序 时间:
2014-05-17 00:58:50
阅读次数:
307
1.首先是写
service脚本service脚本需要进入到目录/etc/init.d中,然后touch memcached,最后vim
memcached后进行脚本编写,脚本如下:#!/bin/bash#chkconfig:345 60 60#description:auto_runexport
...
分类:
系统相关 时间:
2014-05-17 00:52:40
阅读次数:
357
转自:http://os.51cto.com/art/201006/207329.htm主要Shell内置命令Shell有很多内置在其源代码中的命令。这些命令是内置的,所以Shell不必到磁盘上搜索它们,执行速度因此加快。不同的Shell内置命令有所不同。A.2.1
bash内置命令.:执行当前进程...
分类:
系统相关 时间:
2014-05-17 00:24:55
阅读次数:
349
1>编辑telent的配置文件/etc/xinetd.d/telnet 如下:
(设置disable = no,也就是开启telnet服务) service telnet { disable = no socket_type =
stream server = /us...
分类:
Web程序 时间:
2014-05-17 00:17:50
阅读次数:
318
症状: 1. TCP/IP连接是通的。可以用ping 命令测试。2. 服务器上Oracle
Listener已经启动。 lsnrctl status 查看listener状态 lsnrctl start 启动Oracle listener3.
客户端得到的错误信息通常是:ORA-12170: ...
分类:
数据库 时间:
2014-05-17 00:10:37
阅读次数:
516
功能:向文件读入写入一个数据块。用法:fwrite(const void *buffer,size_t
size,size_t count,FILE *stream);(1)buffer:是一个指针,对fwrite
来说,是要输出数据的地址。(2)size:要写入内容的单字节数;(3)count:要...
分类:
其他好文 时间:
2014-05-16 23:37:49
阅读次数:
303
I am using the Spring
SimpleFormControllerexampleto illustrate the build process. The figure below
shows the structure of the web application.All the ...
分类:
其他好文 时间:
2014-05-16 22:32:09
阅读次数:
402
/** * Created with IntelliJ IDEA. * User:
li_zhe * Date: 14/05/06 * Time: 12:34 * To change this template use File |
Settings | File Templates. */pack...
分类:
其他好文 时间:
2014-05-16 22:09:34
阅读次数:
431
今天装jdk遇到了不少的问题,我第一次遇到64位虚拟机中居然装32位操作系统,然后遇到一系列的麻烦,差点有种崩溃的感觉;对于版本为题是一个很关键的问题,对于jdk安装,不要认为只要java
-version 验证成功就ok了,还要执行javac命令如何;如果javac命令执行不了: 1. 最大...
分类:
系统相关 时间:
2014-05-16 21:47:28
阅读次数:
502