Unable to run a background process using sshCommand

XMLWordPrintable

      I'm trying to run the below command as background process and it seems successful, but it doesn't create any log file mentioned in the command.

      sshCommand remote: remote, failOnError: true, command: 'sar 2 10 -r > sar-mem.log &', sudo: true

            Assignee:
            Naresh Rayapati
            Reporter:
            Madan Kv
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: