2017-02-22 没有评论

windows上也有os watcher:OSWFW。

目前支持的windows版本是:

Windows XP (x86 & x64)
Windows 7 (x86 & x64)
Windows 8 (x86 & x64)
Windows 2003 R1 & R2 (x86 and x64)
Windows 2008 R1 & R2 (x86 & x64)
Windows 2012

可以在MOS中Doc ID 433472.1下载。

官方文档虽然说不支持中文语言,但是其实可以通过修改cmd的窗口代码页来实现。

默认情况下:

此时如果运行oswatcher,是会报错:

 
 
1
2
3
4
Start of Operating System Watcher for Windows
此时不应有 6.1。
 
C:\oswfw>

修改窗口代码页,为consolas

如果cmd的默认代码页属性修改不了,那么修改注册表:
1 win键+R打开“运行”对话框,输入regedit打开注册表编辑器。
2 找到 [HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe]
3 修改”CodePage”=十进制,65001

另外,如果不修改注册表,session级修改也可以。

 
 
1
2
3
1.打开cmd窗口
2.在cmd窗口输入 chcp 437
3.开始运行osw

开始运行osw,如下是表示每隔30秒收集一次,收集24小时。

 
 
1
c:\oswfw_2_5.1>oswatcher 30 24
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Start of Operating System Watcher for Windows
 
           Processing: OSWThread OSWSystem OSWServer_Work_Queue OSWProcessor OSWProcess OSWLogicalDisk OSWPhysicalDisk OSWPagingFile OSWNetstat OSWMemory OSWCache
           Config Dir: c:\oswfw
Output File Directory: c$\oswfw
     Output File Type: csv
    Snapshot Interval: 00:00:30 seconds
     Runtime Interval: 0024:00:00 (/du 0024:00) hours
            Node List: JIMMYHE
 
OSWatcher for Windows written by:
  Kevin Reardon, Center of Expertise, Oracle Corporation
 
Starting OSWatcher for Windows V2.5.1 on 周三 2017/02/22
 
Creating Archive Directories:
 
Node JIMMYHE created Archive
Node JIMMYHE created Archive\OSWThread
Node JIMMYHE created Archive\OSWSystem
Node JIMMYHE created Archive\OSWServer_Work_Queue
Node JIMMYHE created Archive\OSWProcessor
Node JIMMYHE created Archive\OSWProcess
Node JIMMYHE created Archive\OSWLogicalDisk
Node JIMMYHE created Archive\OSWPhysicalDisk
Node JIMMYHE created Archive\OSWPagingFile
Node JIMMYHE created Archive\OSWNetstat
Node JIMMYHE created Archive\OSWMemory
Node JIMMYHE created Archive\OSWCache
 
Creating OSWatcher Counters
Create Counter: OSWThread
Start Counter: OSWThread
Create Counter: OSWSystem
Start Counter: OSWSystem
Create Counter: OSWServer_Work_Queue
Start Counter: OSWServer_Work_Queue
Create Counter: OSWProcessor
Start Counter: OSWProcessor
Create Counter: OSWProcess
Start Counter: OSWProcess
Create Counter: OSWLogicalDisk
Start Counter: OSWLogicalDisk
Create Counter: OSWPhysicalDisk
Start Counter: OSWPhysicalDisk
Create Counter: OSWPagingFile
Start Counter: OSWPagingFile
Create Counter: OSWNetstat
Start Counter: OSWNetstat
Create Counter: OSWMemory
Start Counter: OSWMemory
Create Counter: OSWCache
Start Counter: OSWCache
Create OSWCleanup
ERROR: Unable to establish existence of the account specified.
 
Data Collector Set                      Type                          Status
-------------------------------------------------------------------------------
OSWCache                                Counter                       Running
OSWLogicalDisk                          Counter                       Running
OSWMemory                               Counter                       Running
OSWNetstat                              Counter                       Running
OSWPagingFile                           Counter                       Running
OSWPhysicalDisk                         Counter                       Running
OSWProcess                              Counter                       Running
OSWProcessor                            Counter                       Running
OSWServer_Work_Queue                    Counter                       Running
OSWSystem                               Counter                       Running
OSWThread                               Counter                       Running
 
The command completed successfully.
 
The status of OSWClenanup on JIMMYHE is: JIMMYHE
 
 
c:\oswfw>

== update 2017-02-23 ===========================
其实windows版本的oswatcher,是调用了windows系统的性能监视器。
单击“开始”,在“开始搜索”框中单击,键入 perfmon,就可以打开性能监视器。添加监控项目。而已经安装oswatcher的性能监视器,如下图所示:

参考:
Doc ID 433472.1 – OS Watcher For Windows (OSWFW) User Guide
http://www.2cto.com/os/201407/321537.html
https://my.oschina.net/aiguozhe/blog/108542
https://technet.microsoft.com/zh-cn/library/cc749115(v=ws.11).aspx

[转帖]如何部署windows版本的oswatcher的更多相关文章

  1. MongoDB分片副本集生产环境部署-Windows版本

    title: MongoDB分片副本集生产环境部署(Windows版本) date: 2022-10-29 17:21:11 tags: - 运维 系统架构 配置环境 系统都是windows 10 专 ...

  2. 在 Visual Studio 2010 中开发和部署 Windows Azure 应用程序

    原文 在 Visual Studio 2010 中开发和部署 Windows Azure 应用程序 在 Visual Studio 2010 中开发和部署 Windows Azure 应用程序 Jim ...

  3. 企业部署Windows 8 Store 风格应用

    原文:企业部署Windows 8 Store 风格应用 引言 之前我们都知道可以将应用程序发布到Windows 商店中供用户下载使用.如果我们是企业开发人员,则我们的应用可能属于以下两种类别之一: 1 ...

  4. 从壹开始前后端分离【 .NET Core2.0 +Vue2.0 】框架之十三 || DTOs 对象映射使用,项目部署Windows+Linux完整版

    更新 很多小伙伴在用 IIS 发布的时候,总是会有一些问题,文章下边 #autoid-6-0-0 我也简单的动图展示了,如何 publish 到 IIS 的过程,如果你能看懂,却发现自己的项目有问题的 ...

  5. Windows版本redis高可用方案探究

    目录 Windows版本redis高可用方案探究 前言 搭建redis主从 配置主redis-28380 配置从redis-23381 配置从redis-23382 将redis部署为服务 启动red ...

  6. 【JavaService】使用Java编写部署windows服务

    如果你玩windows系统,你对服务这个东西并不会陌生,服务可以帮我们做很多事情,在不影响用户正常工作的情况下,可以完成很多我们需要的需求. 众所周知,微软的visio studio内置的Servic ...

  7. Jenkins持续部署-Windows环境持续部署探究1

    目录 Jenkins持续部署-Windows环境持续部署探究1 目录 前言 目的 方案流程 技术实现 PowerShell FTP上传插件 环境变量插件 脚本执行 远程调用 升级服务 启动服务 总结 ...

  8. ActiveMQ安装部署(Windows)

    JMS(Java Messaging Service)是Java平台上有关面向消息中间件的技术规范,它便于消息系统中的Java应用程序进行消息交换,并且通过提供标准的产生.发送.接收消息的接口简化企业 ...

  9. C#基于Quartz.NET实现任务调度并部署Windows服务

    一.Quartz.NET介绍 Quartz.NET是一个强大.开源.轻量的作业调度框架,是 OpenSymphony 的 Quartz API 的.NET移植,用C#改写,可用于winform和asp ...

  10. .NET Core部署Windows服务

    创建 首先你要确保你已经安装了.NET Core 3.0或以上版本. 老版本的Windows服务请看 这篇文章 使用命令行创建:  dotnet new worker 使用Visual Studio创 ...

随机推荐

  1. HDU 3660 树形DP

    原题地址 题意 Alice与Bob在一棵树的树根一同出游,两人从Bob开始轮换选择道路一直走到树叶,Alice会尽可能使走过的总长最小,而Bob相反.不过他们都不能让总长落到[l, r]之外 现在给出 ...

  2. 8、Flutter Paddiing组件

    Padding组件处理容器与子元素之间的间距. class MyApp extends StatelessWidget { const MyApp({super.key}); @override Wi ...

  3. mac 编译php 7.2+扩展编译 的坑史(不是swoole的坑),php的一个坑,这个坑还没填满,问题根源还没有找到 !

    目前网上找到的文章全是php 7.1,但是brew己经没有7.1了,最新是7.2,这让我怀疑是不是我的版本问题,导致swoole编译时总是编译不过去.后来发现任何扩展都编不过去,提示: Configu ...

  4. 如何给MindSpore添加一个新的硬件后端?快速构建测试环境!

    摘要:介绍如何给MindSpore添加一个新的硬件后端. 本文分享自华为云社区<如何给MindSpore添加一个新的硬件后端?快速构建测试环境!>,原文作者:HWCloudAI. Mind ...

  5. React Native 打包 App 发布 iOS 及加固混淆过程

    React Native 打包 App 发布 iOS 及加固混淆过程 摘要 本文将介绍如何使用 React Native 打包并发布 iOS 应用到 App Store,并介绍了如何进行应用的加固和混 ...

  6. 手把手教你配置JupyterLab 环境

    Python 代码编辑器怎么选?PyCharm.VS Code.Jupyter Notebook 都各有特色. 对于大型代码库,最好还是用传统的 IDE 比较靠谱,但是数据分析等需要可视化操作的场景下 ...

  7. 聊聊大语言模型(LLM)的 10 个实际应用

    近期,苹果公司正在悄悄研究可以挑战的 OpenAI.谷歌和其他公司的 AI 工具,建立了自己的框架来创建大语言模型,并创建了一个聊天机器人服务,一些工程师称之为"Apple GPT" ...

  8. POJ:3279-Fliptile【状态压缩】【DFS】

    POJ-3279 经典[状态压缩][DFS]题型 题目大意:有一个 M * N 的格子,每个格子可以翻转正反面,它们有一面是黑色,另一面是白色.黑色翻转之后变成白色,白色翻转之后则变成黑色. 游戏要做 ...

  9. 理解CAP理论

    1. 理论什么是CAP? cap定理,它的提出是对于一个分布式系统得出的一个观点,是不能同时满足下面三点 一致性 可用性 分区容忍性 CAP理论认为,分布式系统最多只能同时满足其中的两个特性,而无法同 ...

  10. Missing return type on function. eslint(@typescript-eslint/explicit-module-boundary-types))

    setup报错: 解决办法: