摘要:来到新单位,发现这里的服务器不说成千上万,也比以前单位足足多出来五、六倍。看来只有用把一些监控的任务自动化才有可能达到目的。遂拣起来以前有兴趣看过两眼的wmi脚本编程,在网上一顿狂啃,花了半天的时间写出了一个可以获得cpu、内存以及硬盘剩余空间的数据信息的程序:
===================enumsingel.vbs===================
const hard_di......
摘要:#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......
鼠标移动,改变datagrid颜色 sub datagrid1_itemdatabound(byval sender as object, byval e as system.web.ui.webcontrols.datagriditemeventargs)
if e.item.itemtype = listitemtype.item or _ 【程序编程相关:
日推出可在Windows 2000/XP】 【推荐阅读:
屏蔽、覆盖与重载的概念】 【扩展信息:
使用 Visual C++ 2005 的】 e.item.itemtype = listitemtype.alternatingitem then ´--------------------------------------------------- ´ add the onmouseover and onmouseout method to the row of datagrid ´--------------------------------------------------- e.item.attributes.add("onmouseover", "this.style.backgroundcolor=´silver´") e.item.attributes.add("onmouseout", "this.style.backgroundcolor=´white´") end if end sub &nb...
下一页 摘要:查询在一个相关的表中不存在的数据,如用户表(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
复杂条件:
......