tsung start真实执行命令
查看/usr/local/bin/tsung文件:
此文件是sh文件,tsung start实际执行的是start方法
当我们执行tsung -f fetch_user_key.xml start时,我们实际执行:
/usr/local/lib/erlang/erts-8.3.5.4/bin/beam.smp -A 8 -K true -P 250000
-- -root /usr/local/lib/erlang -progname erl
-- -home /root
-- -smp auto -rsh ssh -noshell -proto_dist inet_tcp
-sname tsung_controller
-setcookie tsung
-kernel inet_dist_listen_min 64000
-kernel inet_dist_listen_max 65500
-s tsung_controller
-pa /usr/local/lib/tsung/tsung-1.7.0/ebin
-pa /usr/local/lib/tsung/tsung_controller-1.7.0/ebin
-ssl session_cb ts_ssl_session_cache
-ssl session_lifetime 600
-sasl sasl_error_logger false
-tsung_controller web_gui true
-tsung_controller keep_web_gui false
-tsung_controller smp_disable true
-tsung_controller debug_level 5
-tsung_controller warm_time 1
-tsung_controller exclude_tag ""
-tsung_controller config_file "fetch_user_key.xml"
-tsung_controller log_dir "/root/.tsung/log/"
-tsung_controller mon_file "tsung.log"