RSS

Windows 系统状态快速查询

04 Jan

1.服务

查看当前服务详细状态
sc query

快速查看
net start

定期导出services的状态,然后可以使用fc 比较两次结果

sc query > c:\20081231services.txt
sc query > c:\20090103services.txt
fc c:\20081231services.txt c:\20081231services.txt

2.共享查看
net share

和上面一样,按照时间新建txt然后fc比较就好了

3帐户

net user

通过控制台查也行,就是慢一些

4自启动项目

startup list brief

5查看当前进程

process list brief

6查看当前端口占用

netstat -ano

Advertisements
 
Leave a comment

Posted by on January 4, 2009 in Cmdlets&Tools

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: