Tomcat 使用JMS采集配置需要加入以后配置参数,本示例是在 eclipse 下启动tomcat中的配置。在tomcat Arguments选择卡的VM arguments中加入: -Dcom.sun.management.jmxremote.port=9089 -Dcom.sun.manag....
分类:
其他好文 时间:
2014-08-06 22:18:32
阅读次数:
240
有一种C#命令行console程序,为了能看到console台的输出所以不能做成服务。为了防止这些程序自己死掉,使用powershell监控程序并重启#利用程序名来进行重启if (!(get-process | where-object {$_.mainwindowtitle -eq '管理员: "...
分类:
其他好文 时间:
2014-08-06 17:22:11
阅读次数:
198
$text="
1 梦幻西游 216406 2014-01-21 资料片
2 炉石传说 15905 2014-01-24 公测
3 新大话西游 214465 2002-08-01 公测
4 问道 11322 2006-04-22 公测
5 沃土 10094 2014-04-23 内测
6 QQ仙灵 10056 2014-06-06 公测
7 神武 10011 2010-09-17 公测
8 大侠Q...
分类:
其他好文 时间:
2014-08-06 10:27:21
阅读次数:
279
我创建了一个打开文件的函数。代码内容:functionOpenfile{
Add-Type-AssemblyNameSystem.Windows.Forms
$openfile=New-ObjectSystem.Windows.Forms.OpenFileDialog
$openfile.Filter=‘图片|*.jpg|AllFiles|*.*‘
$openfile.InitialDirectory="C:\ManageOperate\StaffPhoto"
[vo..
分类:
其他好文 时间:
2014-08-05 23:00:10
阅读次数:
371
一.当读取一个1.5G的文件写入redis时候,机器资源不够,被系统杀掉进程,实验数据上限作罢. redis string理论支持1GB 二.场景:redis 2.6以上版本已经废弃了vm功能,配置文件已关闭redis持久化功能 当reids占用内存大于分配的内存的时候. 1.volatile-lr...
分类:
其他好文 时间:
2014-08-05 13:33:19
阅读次数:
2130
#cd~回到当前用户的家目录[root@VM_168_102_centosetc]#pwd
/etc//当前所在目录
[root@VM_168_102_centosetc]#cd~//回到当前用户家木里
[root@VM_168_102_centos~]#pwd
/root//当前用户家目录
[root@VM_168_102_centos~]#suwanghan
[wanghan@VM_168_102_centosrott]$cd~//回到..
分类:
系统相关 时间:
2014-08-05 03:14:19
阅读次数:
393
运行服务请求上面章节小张发布服务给晓红时,预设的流程是首验证用户,然后与Orchestrator和SCVMM交互,最后确保按计划进行工作流。于是小张将创建一个测试私有云。1、打开ServiceManager门户网站浏览http://Sharepoint:82/SMPortal,从通用类选择基础设施服务2、由于小张只创..
分类:
其他好文 时间:
2014-08-04 18:08:48
阅读次数:
341
美国中南部的2008R2的A1的VM放了一天,CPU时间涨了13个小时,有点小贵,真的没有操作啊。。。 提示早上7到9点有一个小高峰。看来平时没什么访问量时,还是改成A0能省点钱。因为第一天是用A0,CPU是共享的,一天只用了2.5个小时。
分类:
其他好文 时间:
2014-08-04 01:40:06
阅读次数:
326
#shutdown命令:系统关机、重启等shutdown[options]…TimeTime:now(马上)+#(多少分钟后)hh:mm(几点几分)系统五分钟后关机:[root@VM_168_102_centos~]#shutdown5//系统5分钟后重启
Broadcastmessagefromroot@VM_168_102_centos
(/dev/pts/0)at16:19...
Thesystemisgoingdo..
分类:
系统相关 时间:
2014-08-03 23:33:17
阅读次数:
371
velocity-1.7中关于vm文件存放demo:public class App_example1 { public App_example1() { String propfile="velocity.properties"; Stri...
分类:
其他好文 时间:
2014-08-03 20:21:15
阅读次数:
219