[转帖]如何部署windows版本的oswatcher
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的更多相关文章
- MongoDB分片副本集生产环境部署-Windows版本
title: MongoDB分片副本集生产环境部署(Windows版本) date: 2022-10-29 17:21:11 tags: - 运维 系统架构 配置环境 系统都是windows 10 专 ...
- 在 Visual Studio 2010 中开发和部署 Windows Azure 应用程序
原文 在 Visual Studio 2010 中开发和部署 Windows Azure 应用程序 在 Visual Studio 2010 中开发和部署 Windows Azure 应用程序 Jim ...
- 企业部署Windows 8 Store 风格应用
原文:企业部署Windows 8 Store 风格应用 引言 之前我们都知道可以将应用程序发布到Windows 商店中供用户下载使用.如果我们是企业开发人员,则我们的应用可能属于以下两种类别之一: 1 ...
- 从壹开始前后端分离【 .NET Core2.0 +Vue2.0 】框架之十三 || DTOs 对象映射使用,项目部署Windows+Linux完整版
更新 很多小伙伴在用 IIS 发布的时候,总是会有一些问题,文章下边 #autoid-6-0-0 我也简单的动图展示了,如何 publish 到 IIS 的过程,如果你能看懂,却发现自己的项目有问题的 ...
- Windows版本redis高可用方案探究
目录 Windows版本redis高可用方案探究 前言 搭建redis主从 配置主redis-28380 配置从redis-23381 配置从redis-23382 将redis部署为服务 启动red ...
- 【JavaService】使用Java编写部署windows服务
如果你玩windows系统,你对服务这个东西并不会陌生,服务可以帮我们做很多事情,在不影响用户正常工作的情况下,可以完成很多我们需要的需求. 众所周知,微软的visio studio内置的Servic ...
- Jenkins持续部署-Windows环境持续部署探究1
目录 Jenkins持续部署-Windows环境持续部署探究1 目录 前言 目的 方案流程 技术实现 PowerShell FTP上传插件 环境变量插件 脚本执行 远程调用 升级服务 启动服务 总结 ...
- ActiveMQ安装部署(Windows)
JMS(Java Messaging Service)是Java平台上有关面向消息中间件的技术规范,它便于消息系统中的Java应用程序进行消息交换,并且通过提供标准的产生.发送.接收消息的接口简化企业 ...
- C#基于Quartz.NET实现任务调度并部署Windows服务
一.Quartz.NET介绍 Quartz.NET是一个强大.开源.轻量的作业调度框架,是 OpenSymphony 的 Quartz API 的.NET移植,用C#改写,可用于winform和asp ...
- .NET Core部署Windows服务
创建 首先你要确保你已经安装了.NET Core 3.0或以上版本. 老版本的Windows服务请看 这篇文章 使用命令行创建: dotnet new worker 使用Visual Studio创 ...
随机推荐
- 2021-01-14:timsort是什么,如何用代码实现?
福哥答案2021-01-14: 答案来自此链接: 介绍: timsort是一种混合.稳定高效的排序算法,源自合并排序和插入排序,旨在很好地处理多种真实数据.它由Tim Peters于2002年实施使用 ...
- 限制左键拖拽图片阴影vue
<template> <div> <img ref="image" :src="imageUrl" :style="im ...
- 关于Spring注解开发教程,打包全送你
摘要:spring是我们web开发中必不可少的一个框架,基于传统的xml方式配置bean总觉得太过繁琐,从spring2.5之后注解的出现可以大大简化我们的配置. 本文分享自华为云社区<如何高效 ...
- npm 新型定时攻击或导致软件供应链安全风险
原标题: New npm timing attack could lead to supply chain attacks 原文链接: https://www.bleepingcomputer.com ...
- ByteHouse技术白皮书正式发布,云数仓核心技术能力首次全面解读(内附下载链接)
更多技术交流.求职机会,欢迎关注字节跳动数据平台微信公众号,回复[1]进入官方交流群 近日,<火山引擎云原生数据仓库 ByteHouse 技术白皮书>正式发布. 在数字化浪潮下,伴随着公有 ...
- Solon2 接口开发: 实战 Gateway 模式效果
1.效果预览 网关 @Mapping("/api/v3/app/**") @Component public class ApiGateway3x extends UapiGate ...
- Axure 变量、属性、函数
局部变量 使用场景非常多; 需要先创建; 只能作用于当前事件; 命名需要注意,只能英文+数字; 全局变量 需要先创建; 可以作用于整个文档,在任意页面调用或使用 中继器的 Item 属性 item:获 ...
- Docker 安装 Elasticsearch、Kibana
为了Skywalking 准备 elasticsearch 至少 需要2G内存 docker pull elasticsearch:7.9.3 docker run --name elasticsea ...
- Hugging News #0506: StarCoder, DeepFloyd/IF 好多新的重量级模型
每一周,我们的同事都会向社区的成员们发布一些关于 Hugging Face 相关的更新,包括我们的产品和平台更新.社区活动.学习资源和内容更新.开源库和模型更新等,我们将其称之为「Hugging Ne ...
- 【HZERO】值集翻译
值集翻译 值集管理: https://open.hand-china.com/document-center/doc/component/163/16090?doc_id=156008&doc ...