need vxlogview synatax help

This issue has been solved. See solution.
J.Hinchcliffe's picture

I want to view unified log 148 which is on the E drive of my NOM server.

vxlogview command is located on the C drive of the server (where the netbackup client is installed)

I want to view something that happened in the last 10 minutes

this is what I have come up with but is wrong somehow.

any help on what I have incorrect.

vxlogview -o 148 -t 00:10:00 -G 'E:\Veritas\NOM\NetBackup Operations Manager\logs'

it comes back with usage.

mph999's picture

vxlogview

Solution

Try this ...

vxlogview -p 51216 -o 148 -d all -t 00:10:00 -G 'E:\Veritas\NOM\NetBackup Operations Manager\logs'

the -p 51216 denotes 'Netbackup' the -d all is optional

Martin

J.Hinchcliffe's picture

did not work

C:\Program Files\Veritas\NetBackup\bin>vxlogview -p 51216 -o 148 -d all -t 01:00
:00 -G "E:\Veritas\NOM\NetBackup Operations Manger\logs"
V-1-45 No log files found.

I tried with singe and double quotes and it still does not work.

but I know I have the file I can see it.  tried it for 20 hours and still says no log file.

I don't have to know how to spell....I work on Unix.

J.Hinchcliffe's picture

Got it working

Had a typo.

thanks mph999  that worked.  Unix people just don't always work well with windows.  ;o}

I don't have to know how to spell....I work on Unix.

rj_nbu's picture

remove -G from the syntax

Hi

try this

vxlogview -p 51216 -o 148 -t 01:00:00 > c:\nomlog.log

-Rajeev
"Unix IS user friendly... It's just selective about who its friends are"