首页 > 其他分享 >NBU日志清除办法

NBU日志清除办法

时间:2024-07-24 12:51:19浏览次数:15  
标签:log 清除 0000000000 3232261163 NBU usr 51216 日志 openv

更改日志文件的位置
统一日志记录文件会占用大量的磁盘空间。 如果需要,可以将其定向至其他位置。
要将统一日志定向至其他文件系统,请输入以下命令:
■ 在 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

相关文章

  • nbu bpcompatd进程异常,备份失败
    备份失败检查nbu进程bpps-a发现出现大量/usr/openv/netbackup/bin/bpcompatd进程tpconfig-d、available_media、vmoprcmf命令无输出jnbSA图形界面无法登陆通过安装和配置情况的了解分析,怀疑是master和media端未同时配置,而是先配置的master端带库,后配置的media端带库。清......
  • 解锁Nginx日志的宝藏:GoAccess——你的实时、交互式Web日志分析神器!
    在当今数字化的时代,网站的流量和用户行为数据就像是一座蕴藏着无尽秘密的宝藏。而如何有效地挖掘和分析这些数据,成为了许多网站管理者和开发者头疼的问题。GoAccess,一款开源的实时Web日志分析工具,或许能为我们提供一扇窥探这些秘密的窗口。GoAccess:你的流量分析好帮手GoAccess......
  • SQL2019收缩LDF的日志文件
    解决日志文件满造成SQL数据库无法写入文件问题1、打开MicrosoftSQLServerManagementStudio管理工具,右键你要压缩的数据库->任务->收缩->文件2、在“文件类型”选择“日志”,在“收缩操作”选择“在释放未使用的空间前重新组织页”,这里会给出一个允许收缩到的最小M数......
  • flask写接口,定制日志输出以及将请求状态以及自定义日志写入文件中
    前言:无论是写接口还是写项目,配置日志是必选的;适合配置可以帮助自己排查代码逻辑问题简单说一说日志的等级以及用处1.日志等级DEBUG:10INFO:20WARN:30ERROR。40CRITICAL:50数字越大,等级越高!!2.日志用处:        DEBUG(调试):用于开发阶段的调试,开启后,会记录程序......
  • python接口自动化(四十)- logger 日志 - 下(超详解)
    宏哥微信粉丝群:https://bbs.csdn.net/topics/618423372 有兴趣的可以扫码加入 1.简介按照上一篇的计划,这一篇给小伙伴们讲解一下:(1)多模块使用logging,(2)通过文件配置logging模块,(3)自己封装一个日志(logging)类。可能有的小伙伴在这里会有个疑问一个logging为什么分两篇的篇幅......
  • 使用 json 配置文件进行 Python 日志记录
    我玩弄了日志模块,发现了一些我不太清楚的事情。首先,因为这是一个大程序,我希望代码尽可能简单,因此我使用了json配置文件.{"version":1,"disable_existing_loggers":false,"formatters":{"simple":{"format":"%(asctime)s-%(name)s......
  • Graylog 是一个开源的日志管理和分析平台
    Graylog是一个开源的日志管理和分析平台,用于集中化日志数据的收集、存储、搜索和可视化。它特别适用于大规模的日志数据管理,并且提供了强大的功能来帮助监控和分析系统日志、应用程序日志和其他类型的事件数据。主要特点集中化日志管理:Graylog能够从多个来源收集日志数据,......
  • 【Python datetime模块精讲】:时间旅行者的日志,精准操控日期与时间
    当然,让我们深入探讨Python的datetime模块,详细解释其功能和用法。Pythondatetime模块:时间旅行者的日志在编程中,日期和时间的处理是一个常见但复杂的问题。幸运的是,Python的datetime模块为我们提供了一套全面的解决方案。这个模块不仅包括日期和时间的基本表示,还提供......
  • 实现高效的分布式日志收集与分析在淘客返利系统中的应用
    实现高效的分布式日志收集与分析在淘客返利系统中的应用大家好,我是微赚淘客系统3.0的小编,是个冬天不穿秋裤,天冷也要风度的程序猿!在本文中,我们将深入探讨如何在淘客返利系统中实现高效的分布式日志收集与分析。通过使用ELK(Elasticsearch、Logstash、Kibana)技术栈,我们可以有......
  • 如何减少 Docker 日志大小,有效节省磁盘空间
    Docker是一个强大的容器化平台,它允许开发者在一个独立的环境中运行应用程序。虽然Docker提供了很多便利,但在实际使用过程中,日志文件可能会迅速增长,占用大量的磁盘空间。本文将详细介绍如何减少Docker日志大小,从而有效节省磁盘空间。Docker日志机制Docker使用日志......