Check if Imunify is registered or not command line

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • samy.janson
    Junior Member
    Forum Explorer
    • Mar 2021
    • 15

    #1

    Check if Imunify is registered or not command line

    Hi,

    I want to check via command line if ImunifyAV is in Free or registered (ImunifyAV+) mode via command line.
    Ive only found this command:

    Code:
    imunify-antivirus rstatus
    But it always outputs "OK" no matter if it is free or paid.

    Thanks
  • skhristich
    Senior Member
    • Nov 2019
    • 595

    #2
    Code:
    imunify-antivirus rstatus --json | jq -r .license.license_type

    Comment

    • skhristich
      Senior Member
      • Nov 2019
      • 595

      #3
      Hello Ignacio,
      This code will give full info on the status and type of license:

      Code:
      imunify-antivirus rstatus --json -v
      Thanks

      Comment

      • imorandin
        Junior Member
        • Jul 2017
        • 11

        #4
        Great Thanks both!

        Comment

        Working...