OS> python fullSystemDump.py -help
Usage: fullSystemInfoDump.py [options]
Collects diagnosis information from the SAP HANA database
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-n, --nosql Excludes collection of system views
-f FILE, --file=FILE Zips the specified file in the trace directory
--fileTypes=FILETYPES
Zips only files of specified type (comma separated)
from trace directory; Possible values are:
indexservertraces, xsenginetraces, preprocessortraces,
daemontraces, nameservertraces, nameservertopologies,
systemavailablity, zippedalerttraces,
webdispatchertraces, workloadreplayertraces, inifiles,
statisticsservertraces, scriptservertraces,
computeservertraces, compileservertraces,
dpservertraces, diservertraces, backuplogs, rtedumps,
crashdumps, emergencydumps, perspagedumps,
performancetraces, esservertrace, mdcdispatchertraces,
lcappstracesUserGen, other, customFilePatterns; If not
specified all file types (except performancetraces)
are taken per default
--filePatterns=FILEPATTERNS
Zips files from trace directory of specified patterns
with asterisk character (*) as wildcard (multiple
comma separated patterns possible); e.g.
--filePatterns=abc*.trc,xyz*.log
--replaceStrings=REPLACESTRINGS
For all diagnosis files (and their file names)
contained in the zip, an individual string (comma
separated for multiple strings) can be replaced by a
custom string. The original files remain untouched.
Usage as follows: <originalString_1>:<customString_1>,
<originalString_2>:<customString_2>,...,<originalStrin
g_n>:<customString_n>; e.g. --replaceStrings=linux321h
ana5:hanahost5,10.76.178.65:addr1
-d DAYS, --days=DAYS Collects trace and sar (only for SYSTEMDB) files from
the specified past number of days; If not specified 7
days are used as default
-F FROMDATE, --fromDate=FROMDATE
Collects trace and sar (only for SYSTEMDB) files
starting from the specified date (format: YYYY-MM-DD)
-T TODATE, --toDate=TODATE
Collects trace and sar (only for SYSTEMDB) files up to
the specified date (format: YYYY-MM-DD)
-e EXPORTPATH, --exportPath=EXPORTPATH
Path to exported tables/views
-s, --estimateSize Estimate size of uncompressed FSID
-c, --collectExportedTables
Include exported system tables/views
-t TENANT, --tenant=TENANT
Specifies the tenant where the files are to be collected
--followLinks Follow links when searching for file paths for all
file types. Otherwise only follow links for the file
types 'inifiles' and 'other'.
To create runtime environment dump files the following options can be used:
-r, --rtedump Collects RTE dump files
-i, --inactiveContexts
Force stacks of inactive contexts (suppressed by default)
--services=SERVICES
Specifies the service(s) (comma separated) from which
RTE dump files are to be collected; Possible values
are: indexserver, nameserver, preprocessor,
scriptserver, computeserver, statisticsserver,
xsengine, compileserver, dpserver, webdispatcher,
diserver; If not specified all services are taken per
default
--hosts=HOSTS Specifies the from which host(s) (comma separated) the
RTE dump files are to be collected; If not specified
all hosts are taken per default
--indexservers=INDEXSERVERS
Collects RTE dump only from indexserver on specified
host(s) (comma separated); Same as:
--services=indexserver
--hosts=[<host>|<host_1>,...,<host_n>]
--interval=INTERVAL
Specifies the interval (in minutes) at which RTE dump
files are to be collected; Possible values are 1,5,10,15,30
--sections=SECTIONS
Specifies the sections (comma separated) to be
included to RTE dump; Possible values are: BUILD,
SYSTEMINFO, MODULES, STACK_SHORT, CPUINFO, MEMMAP,
LIMITS, MOUNTINFO, SCHEDINFO, PROCSTAT, STACK_FULL,
STATISTICS, PROCESS_INFO, XSENGINE,
INDEXMANAGER_WAITGRAPH, INDEXMANAGER_STATE,
JAVASCRIPT, EXECUTOR, CRYPTO, MDC,
SAVEPOINT_SHAREDLOCK_OWNERS, PRE_RESTART_SWVERSION,
RESOURCE_CONTAINER, OS_MEMORY,
IMPLICIT_MEMORY_BOOKING, MEMORY_ACCOUNTING,
IPMM_MEMORY, SYMBOL_CACHE, REGISTERED_STACK_OBJECTS,
DISASSEMBLY, REGISTER_OBJECTS, THREADS; If not
specified all sections are taken per default
--sets=SETS Specifies the number of RTE dump file sets to be
collected; possible values are 1, 2, 3, 4, 5
[OK]
'Database' 카테고리의 다른 글
[HANA] Scale-out Failover 단계 (Log기준) (0) | 2020.07.17 |
---|---|
[HANA] logreplay_readaccess vs logreplay (0) | 2020.07.07 |
[HANA] Statistics server 관련 내용 (0) | 2020.06.23 |
[HANA] Backlog관련 진행현황 조회 쿼리 작성 및 유의사항 (0) | 2020.06.15 |
[HANA] SRTAKEOVER Key 등록 / 효과 (0) | 2020.06.12 |