Thinking...

黄山光明顶

雷民ID:leimin
35416次访问,排名3065好友1人,关注者15
System integration Service. SQL Server DBA, Retail Consultant.
leimin的文章
原创 26 篇
翻译 1 篇
转载 13 篇
评论 14 篇
黄山光明顶的公告
今天更换一下首页的风格,希望心情也随着更换 :-)
最近评论
mldstk:wow gold,
monarch10:的确非常的好,不过想知道是怎么实现的.
诚邀加入我们的it优秀博客荟萃:您好,我们网站要做一个it优秀博客的荟萃栏目,诚邀您加入,我们会将您的博客名称和网址加入到我们的博客荟萃栏目中,并请将我们的网址:http://www.51ui.cn (北京创享数码)链接在您的博客中。如同意请回复邮件:jacky@51ui.cn来信请将您的博客名和链接网址写明,以便我们添加您的链接。

我们的网站介绍:
我们是北京专业从事ui界面开发的设计类网站,在……
高手:sqlserver 2005已经支持rownum
一个between and + rownum就搞分页
没有任何代码侵入。
王东祥:很好 就是不明白 啊
文章分类
收藏
相册
Auchan 2005 Seminar
France 2005
公司团队
皖南游
Database
Engine Watch(RSS)
SQL Server Center
SQL SERVER Magzine
MS .NET
『 天道酬勤 』(RSS)
21世纪.NET(RSS)
Developer Center
Realize .NET Potential(RSS)
博客堂(RSS)
思归's Blog(RSS)
怡红公子(RSS)
破宝BLOG(RSS)
老赵BLOG(RSS)
讲武堂-Jiangtao(RSS)
Others
Felix的技术专栏(CommunityServer)(RSS)
TestWin 软件测试之窗(RSS)
蓝法典的专栏(RSS)
存档
软件项目交易
订阅我的博客
XML聚合  FeedSky
订阅到鲜果
订阅到Google
订阅到抓虾
订阅到BlogLines
订阅到Yahoo
订阅到GouGou
订阅到飞鸽
订阅到Rojo
订阅到newsgator
订阅到netvibes

原创 Windows XP 命令行工具收藏

新一篇: T-SQL 编程规范和优化技巧 | 旧一篇: MS在线技术支持的 SQL Server FAQ(转载)

1.  Ldp.exe

活动目录管理工具,它可以连接到AD或任何轻量目录访问协议 (LDAP –Lightweight Directory Access Protocol)兼容的目录

2.  Msicuu.exe

Windows Installer清洁工具,改工具可以显示出一个包含系统所有可用的Windows Installer (.msi) 文件的对话框,你可以进行选择性的清除。类似工具:msizap.exe

参考地址:http://support.microsoft.com/default.aspx?scid=%2Fdirectory%2Fworldwide%2Fen-gb%2Futility2.asp

          http://support.microsoft.com/?scid=kb;en-us;290301

 

3.  Dhcploc.exe

DHCP Server定位工具,用于显示所在子网中活动的DHCP服务器名称。

参考地址:http://technet2.microsoft.com/WindowsServer/en/Library/5a29ba10-5613-471c-bfc8-ce25c0ff3fa01033.mspx

 

4.  Movetree.exe

用于将AD对象从一个Domain移动到另外一个Domain的命令行工具。改工具只移动AD的对象,不移动相关的配置文件喝登陆脚本。

参考地址:http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q238394&ID=KB;EN-US;Q238394

 

5.  Oh.exe

显示系统中所有已经打开的文件句柄,并且显示打开文件的进程名称。

To function properly, OH must enable a kernel option that maintains a linked list of all objects by object type. If not set, OH enables this option and notifies you that you must reboot before OH will function. After rebooting, OH can display information.

Note

The linked list uses 8 bytes of overhead per object. You can disable this option later by using Gflags.exe (a Windows 2000 support tool included on the Windows 2000 CD). To disable this option in Gflags.exe, clear the Maintain a list of objects for each type check box in the Global Flags window, then restart the computer

默认Windows XPsupport\tools\并不包括这个命令,你可以到MS的网站直接下载。

 

6.  Openfiles.exe

Windows XP提供了一个新的Openfiles命令行工具(Openfiles.exe),它能够报告进程打开的各个文件。和oh.exe相似,Openfiles也要求打开系统内核监视,而这会消耗一些内存,降低文件、打印、邮件、数据库等操作的性能。打开系统监视的命令是openfiles /local on,它会启用系统全局标志维护对象列表,需要重新启动系统才能生效(你可以执行gflags.exe查看Openfiles命令设置了哪些标志)。

参考地址:http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/openfiles.mspx

 

7.  Netdiag.exe

网络连接诊断工具,可以显示系统TCP/IP的配置信息,网络ADAPTER,网络协同绑定,网络DNS服务器和Hotfix的安装情况。

参考地址:http://www.windowsnetworking.com/kbase/WindowsTips/Windows2000/AdminTips/Network/netdiag.exenetworkdiagnostictool.html

 

8.  Nltest.exe

可以显示DCOU的信息,测试WINDOWS域之间的信任关系状态,显示用户帐户信息,强制用户帐号同步,关闭系统等。

参考地址:http://support.microsoft.com/default.aspx?scid=kb;EN-US;158148

9.  Systeminfo

Win XP新增了一个命令行工具SysteminfoSysteminfo.exeSysteminfo通过WMIWindows管理规范)API列举出系统配置信息,输出信息按照OS、硬件平台、安装配置、已安装的补丁分门别类,一目了然. 如果要诊断远程机器,只要加上一个“/s <远程机器名字>”参数。另外,Systeminfo还允许通过“/u <用户名字>”“/p <密码>”参数指定运行Systeminfo的用户身份,如果只提供用户名字但省略密码,Systeminfo将提示输入密码

 

10.                    Diruse.exe

可以显示制定目录的SIZE,还可以显示NTFS的压缩情况。

DIRUSE displays a list of disk usage for a directory tree(s). Version 1.20

DIRUSE [/S | /V] [/M | /K | /B] [/C] [/,] [/Q:# [/L] [/A] [/D] [/O]] [/*] DIRS

/S      Specifies whether subdirectories are included in the output.

/V      Output progress reports while scanning subdirectories.  Ignored if /S is specified.

/M      Displays disk usage in megabytes.

/K      Displays disk usage in kilobytes.

/B      Displays disk usage in bytes (default).

/C      Use Compressed size instead of apparent size.

/,      Use thousand separator when displaying sizes.

/L      Output overflows to logfile .\DIRUSE.LOG.

/*      Uses the top-level directories residing in the specified DIRS

/Q:#    Mark directories that exceed the specified size (#) with a "!".

        (If /M or /K is not specified, then bytes is assumed.)

/A      Specifies that an alert is generated if specified sizes are exceeded.

        (The Alerter service must be running.)

/D      Displays only directories that exceed specified sizes.

/O      Specifies that subdirectories are not checked for specified size

        overflow.

DIRS    Specifies a list of the paths to check.

 

Note:   Parameters can be typed in any order. And the '-' symbol can be

        used in place of the '/' symbol.

 

        Also, if /Q is specified, then return code is ONE if any directories are found that

        exceed the specified sizes.  Otherwise the return code is ZERO.

 

Example: diruse /s /m /q:1.5 /l /* c:\users

11.                    Dnscmd.exe

DNS服务器DEBUG工具,可以通过该命令来创建,更改区域和资源,并且可以强制DNS服务器之间的物理数据文件和缓存同步。

参考地址:http://www.serverwatch.com/tutorials/article.php/1476601

 

12.                    Netdom.exe

Windows域管理工具,可以从DOMAIN中添加或移除计算机帐号,重新建立帐号和秘密,在不同的DOMAIN之间移动服务器,建立DOMAIN之间的信任关系。

参考地址:http://support.microsoft.com/default.aspx?scid=kb;en-us;298593&sd=tech

 

13.                    Taskkill.exe

 

XPkill.exe换成了taskkill.exe,增加了关闭远程系统上进程的能力,能够根据进程名称、窗口标题关闭进程,能够关闭子进程,甚至能够根据一组指定的条件关闭一系列进程,允许定义的条件包括:进程状态,内存使用情况,CPU使用情况,装入的DLL,用户名字,服务名字。

参考地址:http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/taskkill.mspx

 

14.                    Netcap.exe

XPSupport Tools有一个Netcap工具(netcap.exe),它和Netmon.exe一样也能够捕获网络通信。第一次运行Netcap时它会提示说正在安装网络监视驱动程序。Netcap能够读取Netmon 2.0以上版本创建的筛选文件,Netmon也能够读取Netcap捕获的数据

     参考地址:http://support.microsoft.com/?id=310875

发表于 @ 2006年02月12日 21:35:00|评论(loading...)|编辑

新一篇: T-SQL 编程规范和优化技巧 | 旧一篇: MS在线技术支持的 SQL Server FAQ(转载)

评论:没有评论。

发表评论  


当前用户设置只有注册用户才能发表评论。如果你没有登录,请点击登录
Csdn Blog version 3.1a
Copyright © 黄山光明顶