Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-11852

"Lab: Analyze and Store Logs" feedback about date -d "30 minutes" command

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • 3
    • ROLE
    • en-US (English)

      Please fill in the following information:


      URL: https://role.rhu.redhat.com/rol-rhu/app/courses/rh199-9.0/pages/ch12s11 
      Reporter RHNID: mwhitehe@redhat.com 
      Section Title:             Lab: Analyze and Store Logs                                                            

      Issue description: Feedback from Matthew White ( mwhitehe@redhat.com  ) 

        In section ch12s11, it does not use the solution given in the class on ch12s05. The question asks "view the recorded events in the previous 30 minutes". This was clearly explained in ch12s05 with the example 'journalctl -since "1 hour" ' . In the solution provided, it used the 'date d "-30 minutes" ' command. Unfortunately, this was not shown anywhere in the class, so many students would not know how to use this rather obscure usage of the 'date' command. Using journalctl with the 'since' and '-before' options was indeed covered in the class, but not the uncommon usage of 'date' shown above, to get their values.  

       

       

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

            shasingh01 Shashi Singh
            chetan-rhls Chetan Tiwary
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: