当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: 来到新单位,发现这里的服务器不说成千上万,也比以前单位足足多出来五、六倍。
 

 

 ·linux 中的链表    »显示摘要«
    摘要:#ifndef _linux_list_h#define _linux_list_h /* * these are non-null pointers that will result in page faults * under normal circumstances, used to verify that nobody uses * non-initialized list entrie......
 ·mysql中左连接的使用    »显示摘要«
    摘要:查询在一个相关的表中不存在的数据,如用户表(user)和用户资料表(user_profile),通过id关联,要查出user表中在user_profile中不存在的记录: select count(*) from?user left join?user_profile on user.id=user_profile.id where user_profile.id is null 复杂条件: ......


使用WMI编写脚本来监控Windows服务器的性能

来到新单位,发现这里的服务器不说成千上万,也比以前单位足足多出来五.六倍.看来只有用把一些监控的任务自动化才有可能达到目的.遂拣起来以前有兴趣看过两眼的wmi脚本编程,在网上一顿狂啃,花了半天的时间写出了一个可以获得cpu.内存以及硬盘剩余空间的数据信息的程序:

const hard_disk = 3 【程序编程相关:dfm格式转换: 将二进制格式转为文本格

===================enumsingel.vbs=================== 【推荐阅读:使用 Visual C++ 2005 的

 strcomputer = "." 【扩展信息:shell学习1-文件安全与权限

wscript.echo "program start at " & now()

 ´ connect to server

    set objwmiservice = getobject("winmgmts:\\" & strcomputer & "\root\cimv2")


...   下一页
    摘要:using system; using system.web.ui; using system.web.ui.webcontrols; using system.componentmodel; using system.text; namespace nslzhpages { public class lzhpages : system.web.ui.webcon......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE