91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

OSWatcher如何安裝使用

發布時間:2021-11-09 14:52:57 來源:億速云 閱讀:160 作者:小新 欄目:關系型數據庫

這篇文章主要介紹了OSWatcher如何安裝使用,具有一定借鑒價值,感興趣的朋友可以參考下,希望大家閱讀完這篇文章之后大有收獲,下面讓小編帶著大家一起了解一下。

 [root@rhel5 ~]# ls
Desktop  anaconda-ks.cfg  install.log  install.log.syslog  oswbb601.tar  sqlnet.log
[root@rhel5 ~]# tar xvf oswbb601.tar     -- 解壓文件
oswbb/
oswbb/src/
oswbb/src/tombody.gif
oswbb/src/Thumbs.db
oswbb/src/missing_graphic.gif
oswbb/src/OSW_profile.htm
oswbb/src/watch.gif
oswbb/src/coe_logo.gif
oswbb/src/oswbba_input.txt
oswbb/tmp/
oswbb/call_du.sh
oswbb/tarupfiles.sh
oswbb/Exampleprivate.net
oswbb/vmsub.sh
oswbb/docs/
oswbb/docs/The_Analyzer/
oswbb/docs/The_Analyzer/oswbba_README.txt
oswbb/docs/The_Analyzer/OSW_Black_Box_Analyzer_Overview.pdf
oswbb/docs/The_Analyzer/oswbba_user_guide.pdf
oswbb/docs/OSWatcher_Black_Box/
oswbb/docs/OSWatcher_Black_Box/OSWatcherUserGuide.pdf
oswbb/docs/OSWatcher_Black_Box/oswbb_README.txt
oswbb/topaix.sh
oswbb/OSWatcher.sh
oswbb/pssub.sh
oswbb/nfssub.sh
oswbb/mpsub.sh
oswbb/oswrds.sh
oswbb/profile/
oswbb/oswsub.sh
oswbb/call_sar.sh
oswbb/oswnet.sh
oswbb/OSWatcherFM.sh
oswbb/analysis/
oswbb/startOSWbb.sh
oswbb/gif/
oswbb/oswib.sh
oswbb/stopOSWbb.sh
oswbb/extras.txt
oswbb/oswbba.jar
oswbb/locks/
oswbb/iosub.sh
oswbb/xtop.sh
[root@rhel5 ~]# ls
Desktop  anaconda-ks.cfg  install.log  install.log.syslog  oswbb  oswbb601.tar  sqlnet.log
[root@rhel5 ~]# cd oswbb
[root@rhel5 oswbb]# ls
Exampleprivate.net  analysis     docs        iosub.sh  nfssub.sh   oswnet.sh  profile   startOSWbb.sh  tmp        xtop.sh
OSWatcher.sh        call_du.sh   extras.txt  locks     oswbba.jar  oswrds.sh  pssub.sh  stopOSWbb.sh   topaix.sh
OSWatcherFM.sh      call_sar.sh  gif         mpsub.sh  oswib.sh    oswsub.sh  src       tarupfiles.sh  vmsub.sh
[root@rhel5 oswbb]# vi OSWatcher.sh      -- 修改文件 nfs_collect=1
#!/bin/sh
######################################################################
# Copyright (c)  2011 by Oracle Corporation
# OSWatcher.sh
# This is the main oswbb program. This program is started by running
# startOSWbb.sh
######################################################################
# Modifications Section:
######################################################################
##     Date        File            Changes
######################################################################
##  04/18/2005                      Baseline version 1.2.1
##
##  05/19/2005     OSWatcher.sh     Add -x option to iostat on linux
##  V1.3.1                          Add code to write pwd to /tmp/osw.hb
##                                  for rac_ddt to find osw archive
##                                  files
##
##  V1.3.2         OSWatcher.sh     Remove -f flag from $TOP for HP Conf
##                                  section. Append -f flag to $TOP when
##                                  running the HP top cmd
##
##  09/29/2006     OSWatcher.sh     Added $PLATFORM key and OSW version
##  V2.0.0                          info to header of all files. This
##                                  empty lists causing exceptions
##                                  when graphing data on platforms
##                                  other than solaris
##  07/24/2007     OSWatcher.sh     Added enhancements requested by
##  V2.1.0                          linux bde. These include using a
##                                  environment variable to control the
##                                  amount of ps data, changes to top
##                                  and iostat commands, change format
##                                  of filenames to yy.mm.dd, add
##                                  optional flag to compress files.
##                                  Added -D flag for aix iostat
##  07/24/2007     oswlnxtop.sh     Created new file for linux top
##  V2.1.0                          collection.
##  07/24/2007     oswlnxio.sh      Created new file for linux iostat
##  V2.1.0                          collection.
##  07/24/2007     startOSW.sh      Added optional 3rd parameter to
##  V2.1.0                          compress files
##  11/26/2007     oswlnxtop.sh     Fixed bug with awk script. Bug caused
##  V2.1.1                          no output on some linux platforms
##  12/16/2008     OSWg.jar         Fixed problem reading aix
##  V2.1.2                          iostat files
##  06/16/2009     OSWg.jar         Release 3.0 for EXADATA
##  V3.0.0
##  02/11/11       OSWg.jar         Bug Fix for linux iostat spanning
##  V3.0.1                          multiple lines

##  05/04/11                        Fixed directory permission on
##  V3.0.2                          install of osw.tar
##  02/01/12       OSWatcher.sh     Release 4.0 for OSWbb
##  V4.0.0
##  03/01/12       OSWbba.jar       Bug fix for throughput
##  V4.0.1                          analysis
##  03/06/12       OSWbba.jar       Bug fix for timestamp
##  V4.0.2
##  06/18/12       OSWatcher.sh     Release 5.0 for oswbb
##  V5.0.0
##  06/18/12       OSWatcher.sh     Release 5.1 for oswbb
##  V5.1.0                          added nfs collection
##  V6.0
##  02/20/12       OSWatcher.sh     fix for blank lines in extras.txt
##  V6.0.1                          causing errors
######################################################################

snapshotInterval=$1
archiveInterval=$2
zipfiles=0
status=0
vmstatus=0
mpstatus=0
iostatus=0
nfs_collect=1
nfsstatus=0
psstatus=0
netstatus=0
topstatus=0
rdsstatus=0
ibstatus=0
ZERO=0
PS_MULTIPLIER_COUNTER=0
PRSTAT_FOUND=0
ioheader=1
zip=$3
"OSWatcher.sh" 1049L, 31619C written
[root@rhel5 oswbb]# ./startOSWbb.sh 30 12 &       -- 30秒收集一次,保留12小時,并且后臺運行
[1] 4822
Setting the archive log directory to/root/oswbb/archive

Testing for discovery of OS Utilities...
VMSTAT found on your system.
IOSTAT found on your system.
MPSTAT found on your system.
NETSTAT found on your system.
TOP found on your system.

Testing for discovery of OS CPU COUNT
oswbb is looking for the CPU COUNT on your system
CPU COUNT will be used by oswbba to automatically look for cpu problems

CPU COUNT found on your system.
CPU COUNT = 3

Discovery completed.

Starting OSWatcher Black Box v6.0.1  on Thu Sep 5 04:49:12 CST 2013
With SnapshotInterval = 30
With ArchiveInterval = 12

OSWatcher Black Box - Written by Carl Davis, Center of Expertise,
Oracle Corporation
For questions on install/usage please go to MOS (Note:301137.1)
If you need further assistance or have comments or enhancement
requests you can email me Carl.Davis@Oracle.com

Data is stored in directory: /root/oswbb/archive

Starting Data Collection...

oswbb heartbeat:Thu Sep 5 04:49:17 CST 2013
oswbb heartbeat:Thu Sep 5 04:49:47 CST 2013
oswbb heartbeat:Thu Sep 5 04:50:17 CST 2013
oswbb heartbeat:Thu Sep 5 04:50:48 CST 2013
oswbb heartbeat:Thu Sep 5 04:51:18 CST 2013
oswbb heartbeat:Thu Sep 5 04:51:48 CST 2013
oswbb heartbeat:Thu Sep 5 04:52:19 CST 2013
oswbb heartbeat:Thu Sep 5 04:52:49 CST 2013
oswbb heartbeat:Thu Sep 5 04:53:20 CST 2013
oswbb heartbeat:Thu Sep 5 04:53:50 CST 2013
oswbb heartbeat:Thu Sep 5 04:54:20 CST 2013

[1]+  Done                    ./startOSWbb.sh 30 12
[root@rhel5 oswbb]# ps -ef | grep OSW
root      4826     1  0 04:48 pts/1    00:00:00 /bin/sh ./OSWatcher.sh 30 12
root      4974  4826  0 04:49 pts/1    00:00:00 /bin/sh ./OSWatcherFM.sh 12 /root/oswbb/archive
root     11354  4767  0 04:54 pts/1    00:00:00 grep OSW
[root@rhel5 oswbb]# rpm -qa | grep java
 java-1.6.0-openjdk
 [root@rhel5 oswbb]# java -jar oswbba.jar -i /root/oswbb/archive      --查看OSW報告

Starting OSW Black Box Analyzer V6.0.1
OSWatcher Black Box Analyzer Written by Oracle Center of Expertise
Copyright (c)  2012 by Oracle Corporation

Parsing Data. Please Wait...

Scanning file headers for version and platform info...


Parsing file rhel5_iostat_13.09.05.0400.dat ...
Timestamp Error. Expected format: May 3 16:11:12 2006.
Timestamp Error. Found format: Sep 5 04:49:17 2013
Timestamp Error. Expected format: May 3 16:11:12 2006.
Timestamp Error. Found format: Sep 5 04:49:47 2013
Timestamp Error. Expected format: May 3 16:11:12 2006.
 
Parsing file rhel5_vmstat_13.09.05.0400.dat ...
An exception occured in insertVmstatLists on line 0
An exception occured in insertVmstatLists on line 0
An exception occured in insertVmstatLists on line 0
 

Parsing file rhel5_netstat_13.09.05.0400.dat ...


Parsing file rhel5_top_13.09.05.0400.dat ...

No data found in input archive directory /root/oswbb/archive
Please rerun oswbba with proper input directory containing OSW archive data.
Program aborting...

[root@rhel5 oswbb]# export LANG=zh_US             -- 出錯后設置顯示語言后正常,但需要以圖形界面顯示報告
[root@rhel5 oswbb]# java -jar oswbba.jar -i archive/

Starting OSW Black Box Analyzer V6.0.1
OSWatcher Black Box Analyzer Written by Oracle Center of Expertise
Copyright (c)  2012 by Oracle Corporation

Parsing Data. Please Wait...

Scanning file headers for version and platform info...


Parsing file rhel5_iostat_13.09.05.0400.dat ...
Parsing file rhel5_iostat_13.09.05.0500.dat ...


Parsing file rhel5_vmstat_13.09.05.0400.dat ...
Parsing file rhel5_vmstat_13.09.05.0500.dat ...

Parsing file rhel5_netstat_13.09.05.0400.dat ...
Parsing file rhel5_netstat_13.09.05.0500.dat ...


Parsing file rhel5_top_13.09.05.0400.dat ...
Parsing file rhel5_top_13.09.05.0500.dat ...  

Parsing Completed.    

Enter 1 to Display CPU Process Queue Graphs
Enter 2 to Display CPU Utilization Graphs
Enter 3 to Display CPU Other Graphs
Enter 4 to Display Memory Graphs
Enter 5 to Display Disk IO Graphs

Enter 6 to Generate All CPU Gif Files
Enter 7 to Generate All Memory Gif Files
Enter 8 to Generate All Disk Gif Files

Enter L to Specify Alternate Location of Gif Directory
Enter T to Specify Different Time Scale
Enter D to Return to Default Time Scale
Enter R to Remove Currently Displayed Graphs
Enter P to Generate A Profile
Enter A to Analyze Data
Enter Q to Quit Program

Please Select an Option:oswbb heartbeat:Thu Sep 5 05:20:45 CST 2013

感謝你能夠認真閱讀完這篇文章,希望小編分享的“OSWatcher如何安裝使用”這篇文章對大家有幫助,同時也希望大家多多支持億速云,關注億速云行業資訊頻道,更多相關知識等著你來學習!

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

文水县| 花莲市| 晋江市| 离岛区| 宝清县| 洪江市| 南宫市| 苗栗市| 利辛县| 巴塘县| 岚皋县| 福安市| 沅江市| 贵阳市| 双江| 石河子市| 霍山县| 马山县| 北海市| 象州县| 修武县| 龙里县| 临桂县| 上犹县| 西乌珠穆沁旗| 闸北区| 青阳县| 吴桥县| 盐山县| 宁强县| 丹寨县| 旌德县| 积石山| 咸阳市| 德化县| 中卫市| 宁津县| 土默特右旗| 聂荣县| 搜索| 永丰县|