To free pagecache: echo 1 > /proc/sys/vm/drop_caches;to free dentries and inodes: echo 2 > /proc/sys/vm/drop_caches;to free pagecache, dentries and in...
分类:
系统相关 时间:
2014-06-28 10:41:39
阅读次数:
222
前面的性能高使用[pscustomobject][ordered]强制类型转换[pscustomobject][ordered]@{Name= 'Boe'Number = 1ID = 007}使用[pscustomobject]强制类型转换[pscustomobject]@{Name= 'Boe'N...
分类:
其他好文 时间:
2014-06-28 10:40:14
阅读次数:
166
param($a,$b )#region 关键代码:强迫以管理员权限运行$currentWi =[Security.Principal.WindowsIdentity]::GetCurrent()$currentWp =[Security.Principal.WindowsPrincipal]$cu...
分类:
其他好文 时间:
2014-06-28 10:32:29
阅读次数:
797
gc d:\vm.txt|foreach -begin {write-host "It's beginning."} -process {$_ +"aa"} -end {write-host "The end"}
分类:
其他好文 时间:
2014-06-25 22:50:17
阅读次数:
243
1. 直接打 ifconfig ,显示 bash: ifconfig: command not found
打入全路径,查看IP /sbin/ifconfig
2. 主机ping不通虚拟机, 配置NAT
到适配器设置中,开启网卡
再次 ping 虚拟机IP 测试
3. 接下来设置 SecureCRTPortable, 这样的话,就能从...
分类:
系统相关 时间:
2014-06-25 00:10:08
阅读次数:
338
最近在升级netback, 进行测试过程中,发现vm全双工压力下,rx的pps波动很厉害,看到rx kthread虽然cpu affinity是0-7 (dom0 8vcpu), 但是经常跑到物理中断的那个cpu上。
手动把rx kthread的cpu绑定到其他cpu上,rx pps上去了,并且稳定了,显然rx 的pps波动就是因为cpu scheduling,被调度到不同的cpu导致。...
分类:
Web程序 时间:
2014-06-24 21:28:08
阅读次数:
271
转载请注明出处:http://www.openext.org/2014/06/libvirt-error1在编译配置libvirt12.2时如果prefix不是usr目录,在使用libvirt创建VM则会出现ERROR:internal error Unable to locate libvirtd daemon in $PATH即便libvirtd所在目录已经加入了PATH。本人认为这是libv...
分类:
其他好文 时间:
2014-06-22 11:18:08
阅读次数:
260
经常检查DAG复制是Exchange邮箱管理员日常任务之一,以前每天上去看也挺烦的,尤其数据库比较多的情况下。下图就是“好心”的台北同事经常提醒我检查,我的天,这要是通过EMC看还不累死。还CC我领导,搞的人怪没面子的。几条需要注意:一、此脚本放在exchange任一台主机运行即..
分类:
其他好文 时间:
2014-06-22 10:10:20
阅读次数:
304
转载请注明出处:http://www.openext.org/2014/06/virt-install-erro1使用virt-install安装vm的时候出现了一下错误,解决方法如下:$sudo ./create-vm-demo.shStarting install…ERROR internal error process exited while connecting to monitor: ...
分类:
其他好文 时间:
2014-06-22 06:34:56
阅读次数:
271
今天主要实践使用远程SMB存储共享保存VHD。由于周末要看球等原因,内容不多,有料就行。(^_^)接前面,公司私有云管理员小张已经执行了迁移,他还需要在最近已部署的VirtualMachineManager环境中检查虚拟机设置。所以下一步小张需要确认Guest01的存储已经位于HyperV02上的SMB3..
分类:
其他好文 时间:
2014-06-21 19:09:32
阅读次数:
349