Time filtering the s and e options are used for

This preview shows page 190 - 192 out of 524 pages.

Time filtering: *************** - The "-s" and "-e" options are used for specifying an absolute timespan: -s gives the starting date and -e gives the ending date. The format is yyyymmdd[.hhmm], for instance 20071230, or 20071230.0800. - The "-m" and "-p" options are used for specifying a timespan relative to today's date: -m gives how long time backward and -p gives how long time forward. The format is in days, hours, or minutes, eg. 10d (10 days), 2h (2 hours), 30m (30 minutes). Note: the switch "-s"/"-m" can sometimes be omitted. E.g. "lgo 14" can be used instead of "lgo -m 14", and "lgo 20080701.1200" can be used instead of "lgo -s 20080701.1200". This works only when the options -e/-p are not used. Offline usage: ************** The "-l" option allows to process the logfiles in offline mode, when not connected to the node. The argument of the "-l" option specifies the location where the logfile(s) are locally stored on the workstation. It can be: - a single logfile - a directory containing several logfiles. - a zipped archive containing one or more logfiles. By running the command "lgf" while connected to the node, it is possible to download all the logfiles to a local directory for later offline processing. The local directory can be specified as argument. If not specified, a default location is chosen (~/moshell_logfiles/logs_moshell/lg/nodeaddress/date_time). The local directory is then automatically compressed and saved in a zipped archive. Notes: ****** - The output of the lg command can be filtered by piping to a unix command such as "grep", "sort", "less", etc. - In "lga", the Alarm severity field is shortened to one character: C=Critical, M=Major, m=minor, w=warning,*=cleared. - In "lgd", the downtime values correspond to the following stages: * CPP downtime is the time elapsed between the row "CRIT Node down" and the row "Node operational." in syslog or the row "NODE IN Operational" in avlog (whichever row comes first). * Application downtime is the time elapsed between the row "CRIT Node down" in syslog and the row "RNC Node Restart Completed" (RNC) , "Cell .* enabled" (WRBS) , "VMGWs Unlocked/First VMGw Enabled" (MGW), or "IN Operational CELL" (ERBS) in avlog. Finn Magnusson 2010-03-17 rev PA8 190/524)
Image of page 190
* Jvm downtime is the time elapsed between the row "CRIT Node down" in syslog and the row "JVM Load Module is now operational" in avlog or the row "The Configuration Service is up and running" in upgradelog. * The node downtime figures in the summary table at the end of the printout represent the highest value between CPP downtime and Application downtime. The partial downtime figures are weighted against percentage of availability (when applicable). Examples: ********* >> lga -s 20050705 -e 20050710 --> show alarm log entries between the dates 20050705 and 20070710 >> lgaemc | grep -i atmport --> show all entries from the alarm/event logs matching the word "atmport" (case insensitive), display in CSV format (semicolon separated), pipe to grep >> lgx -m 14 --> show alarms that were active 14 days ago >> lgxc -s 20080704.1330 --> show alarms that were active on the 2008-07-04 at 13:30 and print output in CSV format >> lgvsm -s 20050705.1000 --> show all entries from system log and availability log since the 20070705 at 10:00, merged in chronological order >> lgar -m 10d -p 30m
Image of page 191
Image of page 192

You've reached the end of your free preview.

Want to read all 524 pages?

  • Fall '19

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors