├── .gitignore ├── AUTHORS ├── COPYING ├── ChangeLog ├── INSTALL ├── Makefile ├── README.md ├── README_cn.md ├── conf ├── tsar.8 ├── tsar.conf ├── tsar.cron └── tsar.logrotate ├── devel ├── Makefile.test ├── mod_test.c ├── mod_test.conf ├── tsar.h └── tsardevel ├── examples └── tsar-lua-nginx │ ├── Makefile │ ├── mod_lua_nginx.conf │ └── mod_lua_nginx.lua ├── include ├── common.h ├── config.h ├── debug.h ├── define.h ├── framework.h ├── output_db.h ├── output_file.h ├── output_nagios.h ├── output_print.h ├── output_tcp.h ├── public.h ├── tsar.h └── tsar_lua_util.h ├── info.md ├── luadevel ├── Makefile.test ├── mod_lua_test.conf ├── mod_lua_test.lua └── tsarluadevel ├── lualib ├── Makefile ├── lua-cjson-2.1.0.tar.gz └── luasocket-2.0.2.tar.gz ├── modules ├── Makefile ├── mod_apache.c ├── mod_cpu.c ├── mod_haproxy.c ├── mod_io.c ├── mod_load.c ├── mod_lvs.c ├── mod_mem.c ├── mod_ncpu.c ├── mod_nginx.c ├── mod_partition.c ├── mod_pcsw.c ├── mod_percpu.c ├── mod_pernic.c ├── mod_proc.c ├── mod_squid.c ├── mod_swap.c ├── mod_tcp.c ├── mod_tcpx.c ├── mod_traffic.c └── mod_udp.c ├── rpm ├── scm.xml ├── tsar-VER.txt ├── tsar-build.sh ├── tsar-devel.spec ├── tsar.spec └── tsar.spec.in ├── src ├── .gitignore ├── Makefile ├── common.c ├── config.c ├── debug.c ├── deps │ └── LuaJIT-2.0.4.tar.gz ├── framework.c ├── output_db.c ├── output_file.c ├── output_nagios.c ├── output_print.c ├── output_tcp.c ├── tsar.c └── tsar_lua_util.c └── tools ├── bytes.sh ├── cpu.sh ├── load.sh ├── mem.sh ├── packets.sh ├── readme.txt └── retran.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/.gitignore -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/AUTHORS -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/COPYING -------------------------------------------------------------------------------- /ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/ChangeLog -------------------------------------------------------------------------------- /INSTALL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/INSTALL -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/README.md -------------------------------------------------------------------------------- /README_cn.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/README_cn.md -------------------------------------------------------------------------------- /conf/tsar.8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/conf/tsar.8 -------------------------------------------------------------------------------- /conf/tsar.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/conf/tsar.conf -------------------------------------------------------------------------------- /conf/tsar.cron: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/conf/tsar.cron -------------------------------------------------------------------------------- /conf/tsar.logrotate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/conf/tsar.logrotate -------------------------------------------------------------------------------- /devel/Makefile.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/devel/Makefile.test -------------------------------------------------------------------------------- /devel/mod_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/devel/mod_test.c -------------------------------------------------------------------------------- /devel/mod_test.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/devel/mod_test.conf -------------------------------------------------------------------------------- /devel/tsar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/devel/tsar.h -------------------------------------------------------------------------------- /devel/tsardevel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/devel/tsardevel -------------------------------------------------------------------------------- /examples/tsar-lua-nginx/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/examples/tsar-lua-nginx/Makefile -------------------------------------------------------------------------------- /examples/tsar-lua-nginx/mod_lua_nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/examples/tsar-lua-nginx/mod_lua_nginx.conf -------------------------------------------------------------------------------- /examples/tsar-lua-nginx/mod_lua_nginx.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/examples/tsar-lua-nginx/mod_lua_nginx.lua -------------------------------------------------------------------------------- /include/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/include/common.h -------------------------------------------------------------------------------- /include/config.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/include/config.h -------------------------------------------------------------------------------- /include/debug.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/include/debug.h -------------------------------------------------------------------------------- /include/define.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/include/define.h -------------------------------------------------------------------------------- /include/framework.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/include/framework.h -------------------------------------------------------------------------------- /include/output_db.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/include/output_db.h -------------------------------------------------------------------------------- /include/output_file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/include/output_file.h -------------------------------------------------------------------------------- /include/output_nagios.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/include/output_nagios.h -------------------------------------------------------------------------------- /include/output_print.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/include/output_print.h -------------------------------------------------------------------------------- /include/output_tcp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/include/output_tcp.h -------------------------------------------------------------------------------- /include/public.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/include/public.h -------------------------------------------------------------------------------- /include/tsar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/include/tsar.h -------------------------------------------------------------------------------- /include/tsar_lua_util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/include/tsar_lua_util.h -------------------------------------------------------------------------------- /info.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/info.md -------------------------------------------------------------------------------- /luadevel/Makefile.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/luadevel/Makefile.test -------------------------------------------------------------------------------- /luadevel/mod_lua_test.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/luadevel/mod_lua_test.conf -------------------------------------------------------------------------------- /luadevel/mod_lua_test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/luadevel/mod_lua_test.lua -------------------------------------------------------------------------------- /luadevel/tsarluadevel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/luadevel/tsarluadevel -------------------------------------------------------------------------------- /lualib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/lualib/Makefile -------------------------------------------------------------------------------- /lualib/lua-cjson-2.1.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/lualib/lua-cjson-2.1.0.tar.gz -------------------------------------------------------------------------------- /lualib/luasocket-2.0.2.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/lualib/luasocket-2.0.2.tar.gz -------------------------------------------------------------------------------- /modules/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/Makefile -------------------------------------------------------------------------------- /modules/mod_apache.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_apache.c -------------------------------------------------------------------------------- /modules/mod_cpu.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_cpu.c -------------------------------------------------------------------------------- /modules/mod_haproxy.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_haproxy.c -------------------------------------------------------------------------------- /modules/mod_io.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_io.c -------------------------------------------------------------------------------- /modules/mod_load.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_load.c -------------------------------------------------------------------------------- /modules/mod_lvs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_lvs.c -------------------------------------------------------------------------------- /modules/mod_mem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_mem.c -------------------------------------------------------------------------------- /modules/mod_ncpu.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_ncpu.c -------------------------------------------------------------------------------- /modules/mod_nginx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_nginx.c -------------------------------------------------------------------------------- /modules/mod_partition.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_partition.c -------------------------------------------------------------------------------- /modules/mod_pcsw.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_pcsw.c -------------------------------------------------------------------------------- /modules/mod_percpu.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_percpu.c -------------------------------------------------------------------------------- /modules/mod_pernic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_pernic.c -------------------------------------------------------------------------------- /modules/mod_proc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_proc.c -------------------------------------------------------------------------------- /modules/mod_squid.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_squid.c -------------------------------------------------------------------------------- /modules/mod_swap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_swap.c -------------------------------------------------------------------------------- /modules/mod_tcp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_tcp.c -------------------------------------------------------------------------------- /modules/mod_tcpx.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_tcpx.c -------------------------------------------------------------------------------- /modules/mod_traffic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_traffic.c -------------------------------------------------------------------------------- /modules/mod_udp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/modules/mod_udp.c -------------------------------------------------------------------------------- /rpm/scm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/rpm/scm.xml -------------------------------------------------------------------------------- /rpm/tsar-VER.txt: -------------------------------------------------------------------------------- 1 | 2.1.29 2 | -------------------------------------------------------------------------------- /rpm/tsar-build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/rpm/tsar-build.sh -------------------------------------------------------------------------------- /rpm/tsar-devel.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/rpm/tsar-devel.spec -------------------------------------------------------------------------------- /rpm/tsar.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/rpm/tsar.spec -------------------------------------------------------------------------------- /rpm/tsar.spec.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/rpm/tsar.spec.in -------------------------------------------------------------------------------- /src/.gitignore: -------------------------------------------------------------------------------- 1 | obj 2 | -------------------------------------------------------------------------------- /src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/src/Makefile -------------------------------------------------------------------------------- /src/common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/src/common.c -------------------------------------------------------------------------------- /src/config.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/src/config.c -------------------------------------------------------------------------------- /src/debug.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/src/debug.c -------------------------------------------------------------------------------- /src/deps/LuaJIT-2.0.4.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/src/deps/LuaJIT-2.0.4.tar.gz -------------------------------------------------------------------------------- /src/framework.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/src/framework.c -------------------------------------------------------------------------------- /src/output_db.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/src/output_db.c -------------------------------------------------------------------------------- /src/output_file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/src/output_file.c -------------------------------------------------------------------------------- /src/output_nagios.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/src/output_nagios.c -------------------------------------------------------------------------------- /src/output_print.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/src/output_print.c -------------------------------------------------------------------------------- /src/output_tcp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/src/output_tcp.c -------------------------------------------------------------------------------- /src/tsar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/src/tsar.c -------------------------------------------------------------------------------- /src/tsar_lua_util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/src/tsar_lua_util.c -------------------------------------------------------------------------------- /tools/bytes.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/tools/bytes.sh -------------------------------------------------------------------------------- /tools/cpu.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/tools/cpu.sh -------------------------------------------------------------------------------- /tools/load.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/tools/load.sh -------------------------------------------------------------------------------- /tools/mem.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/tools/mem.sh -------------------------------------------------------------------------------- /tools/packets.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/tools/packets.sh -------------------------------------------------------------------------------- /tools/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/tools/readme.txt -------------------------------------------------------------------------------- /tools/retran.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/tsar/HEAD/tools/retran.sh --------------------------------------------------------------------------------