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

RHT2305180: RH199: Ch06s08: Feedback: If the purpose of step 2.1 is not to teach how to use "grep" I'd suggest to simplify the task of how to get the current number of available cpus by just calling the by default installed tool "nproc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • RH199 - RHEL9.3-en-1-20240723, RH134 - RHEL9.3-en-2-20241029
    • RH134, RH199
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 5
    • en-US (English)
    • RH134 - Sprint 5

      Please fill in the following information:


      URL: https://rol.redhat.com/rol/app/courses/rh199-9.3/pages/ch06s08
      Reporter RHNID: wasim-rhls
      Section Title:                  Guided Exercise: Influence Process Scheduling                                                      

      Issue description

      If the purpose of step 2.1 is not to teach how to use "grep" I'd suggest to simplify the task of how to get the current number of available cpus by just calling the by default installed tool "nproc" instead, which is more reliable then parsing stuff under /proc manually.
      "nproc" reliably returns the number of cpus. 

      Steps to reproduce:

       

      Workaround:

       

      Expected result:

              zoltanmolnar Zoltan Molnar
              wraja@redhat.com Wasim Raja
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: