- Sun Storage Virtual Tape Library VTL User Guide
Event Log
224 VTL User Guide • May 2008 G • 96267
EventLog
GetEventLog
iscon geteventlog -s <server-name> [-u <username> -p <password>]
[-D <date-range>] [-F <fileFormat>] [-o <filename>] [-H] [-f] [-X <rpc-
timeout>]
iscon geteventlog --server-name=<server-name>
[--server-username=<username> --server-password=<password>] [--date-
range=<date-range>] [--file-format=<fileFormat>] [--include-heading] [--
output-file=<filename>] [--force]
[--rpc-timeout=<rpc-timeout>]
Description:
Thiscomma n d getstheeventlog.
‐D(‐‐date ‐range)isthestartingdate/timeandendingdate/timeinthefollowing
format:
YYYYMMDDhhmmss‐YYYYMMDDhhm mssorYYYYMMDDhhmmss
‐F(‐‐fileFormat)isoneofthefollowingformats:csv(default)ortxt.
‐H(‐‐include‐heading)istheoptiontoincludetheeventlog
dataheading.
‐o(‐‐output‐file)is thefullpa thofthefilenametosavetheeventlogdata. Ifan
outputfilenameisnotspecified,thedefaultfilenameis:eventlogYYYY‐MM ‐DD‐hh‐
mm‐<servername>[.#]
[.#]istheadditionalsuffixwhenthereisaduplicate.
Specifythe‐f(‐‐force)
optionif youwanttooverwritetheexistingfileiftheoutput
filealreadyexist s.
‐X(‐‐rpc‐timeout)isanoptiontospecifyanumberbetween1and30000inseconds
fortheRPCtimeout.Thesystemwillretrythecommandfortheamountof time
specifiedifthe
serverdoesnotrespond.ThedefaultRPCtimeoutis30seconds.