更改日志文件的位置
统一日志记录文件会占用大量的磁盘空间。 如果需要,可以将其定向至其他位置。
要将统一日志定向至其他文件系统,请输入以下命令:
■ 在 UNIX 上:
/usr/openv/netbackup/bin/vxlogcfg -a -p NB -o Default -s LogDirectory=new_log_path
“/usr/openv/logs”文件夹不断增长,直到硬盘撑满,造成NBU服务停止。
“/usr/openv/logs”是NBU默认统一日志记录存放的位置。
```bash
bash-3.00# du -sh *
39K bmrd
1K bmrsetup
2K nbars
6K nbaudit
268K nbdisco
42K nbemm
6K nbevtmgr
6K nbftclnt
6K nbim
13K nbjm
13K nbkms
49K nbpem
12K nbrb
18M nbrmms
110M nbsl
2K nbstserv
53K nbsvcmon
1K nbutils
47K nbvault
“/usr/openv/netbackup/logs”是NBU排除日志存放位置。实际上NBU还有很多不常用的日志。
“/usr/openv/netbackup/bin/vxlogcfg -l -o default -p NB”查看当前的日志级别的设置
```bash
bash-3.00# vxlogcfg -l -o default -p NB
Configuration settings for originator 112, of product 51,216...
LogDirectory = /usr/openv/logs/
DebugLevel = 1
DiagnosticLevel = 6
DynaReloadInSec = 0
LogToStdout = False
LogToStderr = False
LogToOslog = False
RolloverMode = FileSize | LocalTime
LogRecycle = False
MaxLogFileSizeKB = 51200
RolloverPeriodInSeconds = 43200
RolloverAtLocalTime = 0:00
NumberOfLogFiles = 3
OIDNames =
AppMsgLogging = ON
L10nLib = /usr/openv/lib/libvxexticu
L10nResourceDir = /usr/openv/resources
SyslogIdent = VRTS-NB
SyslogOpt = 0
SyslogFacility = LOG_LOCAL5
LogFilePermissions = 664
默认设置的情况 “DebugLevel = 1 ”,“DiagnosticLevel = 6”。但如果备份的数据量极大也会造成日志量极大,在这种情况下可以把“DebugLevel”和“DiagnosticLevel”设置为0。
“./vxlogcfg -a -p 51216 -o ALL -s DebugLevel=0 -s DiagnosticLevel=0”这是把所有的日志的“DebugLevel”和“DiagnosticLevel”都设置为“0”。(51216指的就是NB)
从首图上我们发现只有“nbemm”和“nbsl”的日志量较大,我们也可以只更改他们的设置。
“./vxlogcfg -a -p NB -o 111 -s DebugLevel=0 -s DiagnosticLevel=0”单独更改nbemm的属性。(111针对的是nbemm)
“./vxlogcfg -a -p NB -o 132 -s DebugLevel=0 -s DiagnosticLevel=0”单独更改nbsl的属性。(132针对的是nbsl)
使用命令删除以前的日志(unified log),“/usr/openv/netbackup/bin/vxlogmgr -d”。
bash-3.00# vxlogmgr -d
Following are the files that were found:
/var/log/VRTSsmf/50936-100-2222671762-091209-0000000000.log
/var/log/VRTSsmf/50936-80-2222671762-091209-0000000000.log
/var/log/VRTSsmf/50936-95-2222671762-091209-0000000000.log
/var/log/SYMClma/50936-24-2222671762-111024-0000000000.log
/var/log/SYMClma/50936-24-2222671762-111128-0000000000.log
/var/log/SYMClma/50936-24-2222671762-111223-0000000000.log
/var/log/SYMClma/50936-24-2222671762-120209-0000000000.log
/var/log/SYMClma/50936-24-2222671762-120315-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160708-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160708-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160708-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160709-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160709-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160709-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160710-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160710-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160710-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160711-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160711-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160711-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160712-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160712-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160712-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160713-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160713-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160713-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160714-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160714-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160714-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160715-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160715-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160715-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160716-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160716-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160716-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160717-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160717-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160717-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160718-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160718-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160718-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160719-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160719-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160719-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160720-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160720-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160720-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160721-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160721-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160721-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160722-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160722-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160722-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160723-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160723-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160723-0000000000.log
/usr/openv/logs/nbftclnt/51216-200-3232261163-160723-0000000000.log
/usr/openv/logs/nbevtmgr/51216-231-3232261163-160723-0000000000.log
/usr/openv/logs/nbaudit/51216-293-3232261163-160723-0000000000.log
/usr/openv/logs/nbemm/51216-111-3232261163-160723-0000000000.log
/usr/openv/logs/nbrb/51216-118-3232261163-160723-0000000000.log
/usr/openv/logs/nbjm/51216-117-3232261163-160723-0000000000.log
/usr/openv/logs/nbpem/51216-116-3232261163-160723-0000000000.log
/usr/openv/logs/nbstserv/51216-226-3232261163-160723-0000000000.log
/usr/openv/logs/nbkms/51216-286-3232261163-160723-0000000000.log
/usr/openv/logs/nbim/51216-371-3232261163-160723-0000000000.log
/usr/openv/logs/nbars/51216-362-3232261163-160723-0000000000.log
/usr/openv/logs/bmrd/51216-119-3232261163-160723-0000000000.log
/usr/openv/logs/nbvault/51216-166-3232261163-160723-0000000000.log
/usr/openv/logs/nbsvcmon/51216-163-3232261163-160723-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160724-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160724-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160724-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160725-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160725-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160725-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160726-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160726-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160726-0000000000.log
/usr/openv/logs/nbftclnt/51216-200-3232261163-160726-0000000000.log
/usr/openv/logs/nbevtmgr/51216-231-3232261163-160726-0000000000.log
/usr/openv/logs/nbaudit/51216-293-3232261163-160726-0000000000.log
/usr/openv/logs/nbemm/51216-111-3232261163-160726-0000000000.log
/usr/openv/logs/nbrb/51216-118-3232261163-160726-0000000000.log
/usr/openv/logs/nbjm/51216-117-3232261163-160726-0000000000.log
/usr/openv/logs/nbpem/51216-116-3232261163-160726-0000000000.log
/usr/openv/logs/nbkms/51216-286-3232261163-160726-0000000000.log
/usr/openv/logs/nbim/51216-371-3232261163-160726-0000000000.log
/usr/openv/logs/bmrd/51216-119-3232261163-160726-0000000000.log
/usr/openv/logs/nbsvcmon/51216-163-3232261163-160726-0000000000.log
/usr/openv/logs/nbvault/51216-166-3232261163-160726-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160727-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160727-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160727-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160728-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160728-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160728-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160729-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160729-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160729-0000000000.log
/usr/openv/logs/nbftclnt/51216-200-3232261163-160729-0000000000.log
/usr/openv/logs/nbevtmgr/51216-231-3232261163-160729-0000000000.log
/usr/openv/logs/nbaudit/51216-293-3232261163-160729-0000000000.log
/usr/openv/logs/nbemm/51216-111-3232261163-160729-0000000000.log
/usr/openv/logs/nbrb/51216-118-3232261163-160729-0000000000.log
/usr/openv/logs/nbjm/51216-117-3232261163-160729-0000000000.log
/usr/openv/logs/nbpem/51216-116-3232261163-160729-0000000000.log
/usr/openv/logs/nbkms/51216-286-3232261163-160729-0000000000.log
/usr/openv/logs/nbim/51216-371-3232261163-160729-0000000000.log
/usr/openv/logs/bmrd/51216-119-3232261163-160729-0000000000.log
/usr/openv/logs/nbsvcmon/51216-163-3232261163-160729-0000000000.log
/usr/openv/logs/nbvault/51216-166-3232261163-160729-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160730-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160730-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160730-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160731-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160731-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160731-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160801-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160801-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160801-0000000000.log
/usr/openv/logs/nbftclnt/51216-200-3232261163-160801-0000000000.log
/usr/openv/logs/nbevtmgr/51216-231-3232261163-160801-0000000000.log
/usr/openv/logs/nbaudit/51216-293-3232261163-160801-0000000000.log
/usr/openv/logs/nbemm/51216-111-3232261163-160801-0000000000.log
/usr/openv/logs/nbrb/51216-118-3232261163-160801-0000000000.log
/usr/openv/logs/nbjm/51216-117-3232261163-160801-0000000000.log
/usr/openv/logs/nbpem/51216-116-3232261163-160801-0000000000.log
/usr/openv/logs/nbkms/51216-286-3232261163-160801-0000000000.log
/usr/openv/logs/nbim/51216-371-3232261163-160801-0000000000.log
/usr/openv/logs/bmrd/51216-119-3232261163-160801-0000000000.log
/usr/openv/logs/nbvault/51216-166-3232261163-160801-0000000000.log
/usr/openv/logs/nbsvcmon/51216-163-3232261163-160801-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160802-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160802-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160802-0000000000.log
/usr/openv/logs/nbftclnt/51216-200-3232261163-160802-0000000000.log
/usr/openv/logs/nbevtmgr/51216-231-3232261163-160802-0000000000.log
/usr/openv/logs/nbaudit/51216-293-3232261163-160802-0000000000.log
/usr/openv/logs/nbemm/51216-111-3232261163-160802-0000000000.log
/usr/openv/logs/nbrb/51216-118-3232261163-160802-0000000000.log
/usr/openv/logs/nbjm/51216-117-3232261163-160802-0000000000.log
/usr/openv/logs/nbpem/51216-116-3232261163-160802-0000000000.log
/usr/openv/logs/nbkms/51216-286-3232261163-160802-0000000000.log
/usr/openv/logs/nbim/51216-371-3232261163-160802-0000000000.log
/usr/openv/logs/bmrd/51216-119-3232261163-160802-0000000000.log
/usr/openv/logs/nbvault/51216-166-3232261163-160802-0000000000.log
/usr/openv/logs/nbsvcmon/51216-163-3232261163-160802-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160803-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160803-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160803-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160804-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160804-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160804-0000000000.log
/usr/openv/logs/nbrmms/51216-222-3232261163-160805-0000000000.log
/usr/openv/logs/nbsl/51216-132-3232261163-160805-0000000000.log
/usr/openv/logs/nbdisco/51216-400-3232261163-160805-0000000000.log
/var/log/VRTSpbx/50936-103-3232261163-160805-0000000067.log
/var/log/VRTSpbx/50936-103-3232261163-160805-0000000068.log
/var/log/VRTSpbx/50936-103-3232261163-160805-0000000069.log
/var/log/VRTSpbx/50936-103-3232261163-160805-0000000070.log
/var/log/VRTSpbx/50936-103-3232261163-160805-0000000071.log
Total 162 file(s)
Are you sure you want to delete the file(s)? (Y/N):
y
Deleting /var/log/VRTSsmf/50936-100-2222671762-091209-0000000000.log ...
Deleting /var/log/VRTSsmf/50936-80-2222671762-091209-0000000000.log ...
Deleting /var/log/VRTSsmf/50936-95-2222671762-091209-0000000000.log ...
Deleting /var/log/SYMClma/50936-24-2222671762-111024-0000000000.log ...
Deleting /var/log/SYMClma/50936-24-2222671762-111128-0000000000.log ...
Deleting /var/log/SYMClma/50936-24-2222671762-111223-0000000000.log ...
Deleting /var/log/SYMClma/50936-24-2222671762-120209-0000000000.log ...
Deleting /var/log/SYMClma/50936-24-2222671762-120315-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160708-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160708-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160708-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160709-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160709-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160709-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160710-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160710-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160710-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160711-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160711-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160711-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160712-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160712-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160712-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160713-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160713-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160713-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160714-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160714-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160714-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160715-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160715-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160715-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160716-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160716-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160716-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160717-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160717-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160717-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160718-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160718-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160718-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160719-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160719-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160719-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160720-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160720-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160720-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160721-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160721-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160721-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160722-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160722-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160722-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160723-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160723-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160723-0000000000.log ...
Deleting /usr/openv/logs/nbftclnt/51216-200-3232261163-160723-0000000000.log ...
Deleting /usr/openv/logs/nbevtmgr/51216-231-3232261163-160723-0000000000.log ...
Deleting /usr/openv/logs/nbaudit/51216-293-3232261163-160723-0000000000.log ...
Deleting /usr/openv/logs/nbemm/51216-111-3232261163-160723-0000000000.log ...
Deleting /usr/openv/logs/nbrb/51216-118-3232261163-160723-0000000000.log ...
Deleting /usr/openv/logs/nbjm/51216-117-3232261163-160723-0000000000.log ...
Deleting /usr/openv/logs/nbpem/51216-116-3232261163-160723-0000000000.log ...
Deleting /usr/openv/logs/nbstserv/51216-226-3232261163-160723-0000000000.log ...
Deleting /usr/openv/logs/nbkms/51216-286-3232261163-160723-0000000000.log ...
Deleting /usr/openv/logs/nbim/51216-371-3232261163-160723-0000000000.log ...
Deleting /usr/openv/logs/nbars/51216-362-3232261163-160723-0000000000.log ...
Deleting /usr/openv/logs/bmrd/51216-119-3232261163-160723-0000000000.log ...
Deleting /usr/openv/logs/nbvault/51216-166-3232261163-160723-0000000000.log ...
Deleting /usr/openv/logs/nbsvcmon/51216-163-3232261163-160723-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160724-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160724-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160724-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160725-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160725-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160725-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160726-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160726-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160726-0000000000.log ...
Deleting /usr/openv/logs/nbftclnt/51216-200-3232261163-160726-0000000000.log ...
Deleting /usr/openv/logs/nbevtmgr/51216-231-3232261163-160726-0000000000.log ...
Deleting /usr/openv/logs/nbaudit/51216-293-3232261163-160726-0000000000.log ...
Deleting /usr/openv/logs/nbemm/51216-111-3232261163-160726-0000000000.log ...
Deleting /usr/openv/logs/nbrb/51216-118-3232261163-160726-0000000000.log ...
Deleting /usr/openv/logs/nbjm/51216-117-3232261163-160726-0000000000.log ...
Deleting /usr/openv/logs/nbpem/51216-116-3232261163-160726-0000000000.log ...
Deleting /usr/openv/logs/nbkms/51216-286-3232261163-160726-0000000000.log ...
Deleting /usr/openv/logs/nbim/51216-371-3232261163-160726-0000000000.log ...
Deleting /usr/openv/logs/bmrd/51216-119-3232261163-160726-0000000000.log ...
Deleting /usr/openv/logs/nbsvcmon/51216-163-3232261163-160726-0000000000.log ...
Deleting /usr/openv/logs/nbvault/51216-166-3232261163-160726-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160727-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160727-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160727-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160728-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160728-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160728-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160729-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160729-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160729-0000000000.log ...
Deleting /usr/openv/logs/nbftclnt/51216-200-3232261163-160729-0000000000.log ...
Deleting /usr/openv/logs/nbevtmgr/51216-231-3232261163-160729-0000000000.log ...
Deleting /usr/openv/logs/nbaudit/51216-293-3232261163-160729-0000000000.log ...
Deleting /usr/openv/logs/nbemm/51216-111-3232261163-160729-0000000000.log ...
Deleting /usr/openv/logs/nbrb/51216-118-3232261163-160729-0000000000.log ...
Deleting /usr/openv/logs/nbjm/51216-117-3232261163-160729-0000000000.log ...
Deleting /usr/openv/logs/nbpem/51216-116-3232261163-160729-0000000000.log ...
Deleting /usr/openv/logs/nbkms/51216-286-3232261163-160729-0000000000.log ...
Deleting /usr/openv/logs/nbim/51216-371-3232261163-160729-0000000000.log ...
Deleting /usr/openv/logs/bmrd/51216-119-3232261163-160729-0000000000.log ...
Deleting /usr/openv/logs/nbsvcmon/51216-163-3232261163-160729-0000000000.log ...
Deleting /usr/openv/logs/nbvault/51216-166-3232261163-160729-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160730-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160730-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160730-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160731-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160731-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160731-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160801-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160801-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160801-0000000000.log ...
Deleting /usr/openv/logs/nbftclnt/51216-200-3232261163-160801-0000000000.log ...
Deleting /usr/openv/logs/nbevtmgr/51216-231-3232261163-160801-0000000000.log ...
Deleting /usr/openv/logs/nbaudit/51216-293-3232261163-160801-0000000000.log ...
Deleting /usr/openv/logs/nbemm/51216-111-3232261163-160801-0000000000.log ...
Deleting /usr/openv/logs/nbrb/51216-118-3232261163-160801-0000000000.log ...
Deleting /usr/openv/logs/nbjm/51216-117-3232261163-160801-0000000000.log ...
Deleting /usr/openv/logs/nbpem/51216-116-3232261163-160801-0000000000.log ...
Deleting /usr/openv/logs/nbkms/51216-286-3232261163-160801-0000000000.log ...
Deleting /usr/openv/logs/nbim/51216-371-3232261163-160801-0000000000.log ...
Deleting /usr/openv/logs/bmrd/51216-119-3232261163-160801-0000000000.log ...
Deleting /usr/openv/logs/nbvault/51216-166-3232261163-160801-0000000000.log ...
Deleting /usr/openv/logs/nbsvcmon/51216-163-3232261163-160801-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160802-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160802-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160802-0000000000.log ...
Deleting /usr/openv/logs/nbftclnt/51216-200-3232261163-160802-0000000000.log ...
Deleting /usr/openv/logs/nbevtmgr/51216-231-3232261163-160802-0000000000.log ...
Deleting /usr/openv/logs/nbaudit/51216-293-3232261163-160802-0000000000.log ...
Deleting /usr/openv/logs/nbemm/51216-111-3232261163-160802-0000000000.log ...
Deleting /usr/openv/logs/nbrb/51216-118-3232261163-160802-0000000000.log ...
Deleting /usr/openv/logs/nbjm/51216-117-3232261163-160802-0000000000.log ...
Deleting /usr/openv/logs/nbpem/51216-116-3232261163-160802-0000000000.log ...
Deleting /usr/openv/logs/nbkms/51216-286-3232261163-160802-0000000000.log ...
Deleting /usr/openv/logs/nbim/51216-371-3232261163-160802-0000000000.log ...
Deleting /usr/openv/logs/bmrd/51216-119-3232261163-160802-0000000000.log ...
Deleting /usr/openv/logs/nbvault/51216-166-3232261163-160802-0000000000.log ...
Deleting /usr/openv/logs/nbsvcmon/51216-163-3232261163-160802-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160803-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160803-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160803-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160804-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160804-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160804-0000000000.log ...
Deleting /usr/openv/logs/nbrmms/51216-222-3232261163-160805-0000000000.log ...
Deleting /usr/openv/logs/nbsl/51216-132-3232261163-160805-0000000000.log ...
Deleting /usr/openv/logs/nbdisco/51216-400-3232261163-160805-0000000000.log ...
Deleting /var/log/VRTSpbx/50936-103-3232261163-160805-0000000067.log ...
Deleting /var/log/VRTSpbx/50936-103-3232261163-160805-0000000068.log ...
Deleting /var/log/VRTSpbx/50936-103-3232261163-160805-0000000069.log ...
Deleting /var/log/VRTSpbx/50936-103-3232261163-160805-0000000070.log ...
Deleting /var/log/VRTSpbx/50936-103-3232261163-160805-0000000071.log ...
vxlogmgr
-d, --del 将日志文件从产品所配置的文件夹中删除。
vxlogcfg
-a, --add
注册或创建产品日志配置设置。现有的全部日志设置将被覆盖。请不要使用该
选项来向使用统一日志记录的那些日志设置列表添加产品。而是仅将此选项用
于修改现有的统一日志记录设置。(有-a才能更改设置)
-l, --list
列出以下各项之一:
■ 所有配置的产品。
■ 所有产品的创建者 ID 和 logset。
■ 所有为产品 ID 和创建者 ID 对或产品 ID 和 LogSet 对定义的配置设置。
(所以这里51216就是NB,NB就是51216,NB的产品ID(ProductID)为51216)
-o, --orgid OrgID
对指定的创建者 ID 创建或修改日志配置设置。可以为创建者 ID 提供有效的创
建者 ID(一个数字),或者文本字符串 Default 或文本字符串 ALL。如果创建
者 ID 为 Default,则–s 配置设置为默认设置。如果创建者 ID 为 ALL,则 –s
配置设置适用于给定产品 ID 的所有创建者。(这里就是OriginatorID)
-p, --prodid ProductID
创建或修改 productID 的日志配置设置。
-s, --setting keyname=value
当和 -a(添加选项)一起使用时,设置单个配置设置。keyname 是配置设置
的名称,value 是该设置的值。可以在命令行上使用多个 -s keyname=value 参
数。
DebugLevel
设置调试日志消息的详细级别(调试日志供 Symantec 工程人员使用)。有效
值介于 0 到 6 之间。
DiagnosticLevel
设置诊断日志消息的详细级别(诊断日志供 NetBackup 管理员和用户使用)。
有效值为 0 到 6。零 (0) 表示无调试消息。
nbcplogs
./nbcplogs --list-products
###列出可以报告的所有可能的日志
./nbcplogs --list-subproducts log_product
###列出指定日志产品的所有日志子产品。
通过上面命令得出OriginatorID对应关系
标签:log,清除,0000000000,3232261163,NBU,usr,51216,日志,openv From: https://www.cnblogs.com/kyo-1115/p/18320636