Skip to content

Commit

Permalink
modify sysbench path
Browse files Browse the repository at this point in the history
  • Loading branch information
denglei committed Aug 31, 2014
1 parent 542a8ed commit cf47044
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sysbench_install/roles/sysbench_install/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@
when: ansible_os_family == "RedHat" and ansible_distribution_version|int >=6
tags: Onlytest
- name: Start Sysbench Cpu Test In Redhat Client
shell: sysbench --test=cpu --num-threads=`grep "processor" /proc/cpuinfo | wc -l` --cpu-max-prime={{ cpu_max_prime }} run > {{ sysbench_log_dir }}/sysbench_cputest_{{ ansible_hostname }}-{{ time.stdout }}.log
shell: /usr/bin/sysbench --test=cpu --num-threads=`grep "processor" /proc/cpuinfo | wc -l` --cpu-max-prime={{ cpu_max_prime }} run > {{ sysbench_log_dir }}/sysbench_cputest_{{ ansible_hostname }}-{{ time.stdout }}.log
when: ansible_os_family == "RedHat" and ansible_distribution_version|int >=6
tags: Onlytest
- name: Start Sysbench Threads Test In Redhat Client
shell: sysbench --test=threads --num-threads={{ num_threads }} run > {{ sysbench_log_dir }}/sysbench_threads_{{ ansible_hostname }}-{{ time.stdout }}.log
shell: /usr/bin/sysbench --test=threads --num-threads={{ num_threads }} run > {{ sysbench_log_dir }}/sysbench_threads_{{ ansible_hostname }}-{{ time.stdout }}.log
when: ansible_os_family == "RedHat" and ansible_distribution_version|int >=6
tags: Onlytest
- name: Start Sysbench Mutex Test In Redhat Client
shell: sysbench --test=mutex --num-threads={{ num_threads }} --mutex-num={{ mutex_num }} --mutex-locks={{ mutex_locks }} --mutex-loops={{ mutex_loops }} run > {{ sysbench_log_dir }}/sysbench_mutexxx_{{ ansible_hostname }}-{{ time.stdout }}.log
shell: /usr/bin/sysbench --test=mutex --num-threads={{ num_threads }} --mutex-num={{ mutex_num }} --mutex-locks={{ mutex_locks }} --mutex-loops={{ mutex_loops }} run > {{ sysbench_log_dir }}/sysbench_mutexxx_{{ ansible_hostname }}-{{ time.stdout }}.log
when: ansible_os_family == "RedHat" and ansible_distribution_version|int >=6
tags: Onlytest
- name: Start Sysbench Memory Test In Redhat Client
shell: sysbench --test=memory --memory-block-size={{ memory_block_size }} --memory-total-size={{ memory_total_size }} --num-threads={{ num_threads }} run > {{ sysbench_log_dir }}/sysbench_memory_{{ ansible_hostname }}-{{ time.stdout }}.log
shell: /usr/bin/sysbench --test=memory --memory-block-size={{ memory_block_size }} --memory-total-size={{ memory_total_size }} --num-threads={{ num_threads }} run > {{ sysbench_log_dir }}/sysbench_memory_{{ ansible_hostname }}-{{ time.stdout }}.log
when: ansible_os_family == "RedHat" and ansible_distribution_version|int >=6
tags: Onlytest
- name: Copy Sysbench Test Result from Redhat Client
Expand Down

1 comment on commit cf47044

@dl528888
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modify sysbench path

Please sign in to comment.