Uploaded image for project: 'VCL'
  1. VCL
  2. VCL-817

pgrep command arguments have changed with RHEL/CentOS 7.x

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4
    • vcld (backend)
    • None

    Description

      We use pgrep -fl in a few places. This used to return the full command names for each matching process. This no longer seems to be the case with 7.x. The command names are truncated. There is a new -a switch which causes the full names to be displayed. Unfortunately, the -a switch is not available on earlier versions and the command fails if it is included.

      Code needs to be updated to detect which switches are available and then assemble the correct command.

      This is very important. pgrep is used to ensure multiple processes aren't forked for the same reservation.

      Attachments

        Activity

          People

            arkurth Andrew Kurth
            arkurth Andrew Kurth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: