1 首先去官网上面下载通用的监控模板一般使用TomcatStats-0.1.zip 模板居多,下载地址:http://forums.cacti.net/download/file.php?id=12310,在linux服务器上面使用wget下载,wget http://forums.cacti.net/download/file.php?id=12310,报如下错误:正在连接 forums.cac...
分类:
其他好文 时间:
2014-06-11 06:13:42
阅读次数:
294
将文件移到或移出虚拟机可能会产生问题。首先,你需要安装集成服务,打开文件共享。这只需要一个简单的PowerShell命令:Enable-VMIntegrationService。但是你必须登录到虚拟机,将文件复制到从网络共享或者从网络共享复制出来。如果你有很多台虚拟机,这个任务会很繁重。现在,你只需...
分类:
其他好文 时间:
2014-06-10 21:52:01
阅读次数:
594
本文整理了7款基于JavaScript和AJAX的文件上传插件,这些插件基本上都能实现以下功能:多文件上传拖拽操作实时上传进度自定义上传限制希望能为你的开发工作带来帮助。1.
jQuery File Upload具有多文件上传、拖拽、进度条和图像预览功能的文件上传插件,支持跨域、分块、暂停恢复和客户...
分类:
编程语言 时间:
2014-06-10 21:26:07
阅读次数:
267
数据库rac启动时报错,日志如下,后来使用
Sat Jun 7 06:02:11 2014
GATHER_STATS_JOB encountered errors. Check the trace file.
Sat Jun 7 06:02:11 2014
Errors in file /oracle/product/admin/dqb/bdump/dqb2_j001_1...
分类:
数据库 时间:
2014-06-10 14:36:54
阅读次数:
248
1, Creating the fasta sequence dictionary
filejava -jar CreatSequenceDictionary.jar R=sequencename.fasta
O=sequencename.dict2,Creating the fasta index...
分类:
其他好文 时间:
2014-06-10 12:23:44
阅读次数:
335
There are three DMVs you can use to track
tempdb
usage:sys.dm_db_task_space_usagesys.dm_db_session_space_usagesys.dm_db_file_space_usageThe
first two ...
分类:
数据库 时间:
2014-06-10 11:27:07
阅读次数:
307
LINUX 如下:
1)导出数据
[root@www.cnscn.org ~]$ mysqldump -u root -p dbname --default-character-set=gbk > base_user.sql;
2)查看导出的sql文件的编码
[root@www.cnscn.org ~]$ file base_user.sql
base_user.sql: UTF-8 Unicode text, with very long lines
3)转成要用的编码
[root@www.cn...
分类:
数据库 时间:
2014-06-10 11:14:39
阅读次数:
394
文件和I/O流的差异:
文件是一些具有永久存储及特定顺序的字节组成的一个有序的、具有名称的集合。
因此对于文件,我们常常想到目录路径,磁盘存储,文件和目录名等方面。
I/O流提供一种后备存储写入字节和从后备存储读取字节的方式。
后备存储可以为多种存储媒介之一。
System.IO命名空间中的常用类:
BinaryReader 用特定的编码将基元数据类...
分类:
其他好文 时间:
2014-06-10 08:06:41
阅读次数:
178
How to import the www.googleapis.com SSL CA certification to the jks store file?...
先不多说,直接上代码
public class SimpleMediaPlayerActivity extends Activity {
//private static final Uri mMusicUri = Uri.fromFile(new File("/sdcard/sound_file_1.mp3"));
private static final Uri mMusicUri ...
分类:
移动开发 时间:
2014-06-10 06:22:29
阅读次数:
317