Hi all, i am trying to top , sar , iostats in the backgound via ansible on 
remote hosts and collect stats redirecting outpu to a log file while I run 
other tasks from my local machine. I have tried - name: collect hypervisor 
stats hosts: all tasks: - name: execute sar iostat scripts shell: top -bd 
$MON_INTERVAL > $GLUSTER_PROFILER_RESULTS/top_proc.$HOSTNAME.txt & disown 
but it stops by itself. I want to kill the tasks after sometime manually. 
Is there any way

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/dc2fc2b7-1c81-4f95-812e-eaba57665445%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to