Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Oswatch--Linux

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

An official reference OSWatcher (Includes: [Video]) (document ID 301137.1), the latest version is 811

Second, use the document Document 1531223.1 OSWatcher User Guide

Three Oswatch invokes the following command:

Ps

Top

Ifconfig

Mpstat

Iostat

Netstat

Traceroute

Vmstat

Sar (HP-UX Only)

Cpuinfo (Linux Only)

Meminfo (Linux Only)

Slabinfo (Linux Only)

Note: most of the other packages are sysstat packages, or system basic packages. Please note that this command is in the kernel-debug package.

* * four installations * *

Tar xvf oswbb.tar

Chmod 744 *

The corresponding deletion is also very simple, rm-fr oswbb

* * 4.1 configure collection path * *

Export OSWBB_ARCHIVE_DEST=/root/oswbb/archive./startOSWbb.sh

When you start up, you will see:

> Starting OSWatcher v8.1.1 on Mon Nov 27 11:17:29 CST 2017 > With SnapshotInterval = 30 > With ArchiveInterval = 48

By default: This would start the tool and collect data at default 30 second intervals and log the last 48 hours of data to archive files.

If you want to change it to 60 seconds and keep it for the last 10 hours, refer to the following:

. / startOSWbb.sh 60 10 gzip

. / startOSWbb.sh 60 10 gzip / u02/tools/oswbb/archive

Stop it

. / stopOSWbb.sh

5. Analysis.

The log generation directory is as follows:

Oswiostatoswmpstatoswnetstatoswprvtnetoswifconfigoswpsoswtoposwvmstat

Analysis tool oswbba (OSWatcher Analyzer User Guide (document ID 461053.1))

Java-versionjava-jar oswbba.jar-I. / archive Starting OSW Analyzer V8.1.1OSWatcher Analyzer Written by Oracle Center of ExpertiseCopyright (c) 2017 by Oracle Corporation Parsing Data. Please Wait... Scanning file headers for version and platform info... Parsing file 12crac2_iostat_17.11.29.1400.dat... Parsing file 12crac2_iostat_17.11.29.1500.dat... Parsing file 12crac2_iostat_17.11.29.1600.dat... This directory already exists. Rewriting...java-jar oswbba.jar-I. / archive-START coesrv40.us.oracle.com_vmstat_13.01.09.1300.dat-STOP coesrv40.us.oracle.com_vmstat_13.01.09.2000.dat-s

Enter D to Generate DashBoard, in which there are htm files, you can view the legend

After years of evolution, this thing is becoming more and more useful.

It should be noted that the version of java is not too high. It is best to use the JAVA that comes with oracle 11.2.0.4.

Export JAVA_HOME=$ORACLE_HOME/jdk

The related usage is in. / docs/

6. Package and submit SR

. / tar_up_full_archive.sh

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report