Skip to content
/proc file logger
C C++
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
tools
LICENSE
Makefile
README
global_stats_logger.cpp
global_stats_logger.hpp
interrupts.cpp
interrupts.hpp
local_stats_logger.hpp
main.cpp
netstat.cpp
netstat.hpp
proc_nprocs.cpp
proc_nprocs.hpp
proc_sched.cpp
proc_sched.hpp
schedstat.cpp
schedstat.hpp
sha2.c
sha2.h
sha_thread.cpp
sha_thread.hpp
stat.cpp
stat.hpp
timer_runner.cpp
timer_runner.hpp

README

* What's this?

This is logger for statistics information files on /proc, with graph generator.
Primary target is mersureing various kernel parameter when network heavy load occurs, and the "heavy load" is generated by "netperf" benchmark tool, but this tool can be useful also for other purpose.


* Requirement libraries
Compiler: g++-4.7.1
C++: boost-1.5.1
Ruby: gruf-0.3.6


* Usage examples
1. Startup netserver
node b$ netserver

2. Start netperf
node a$ ruby procfile_logger/tools/multi_netperf.rb 1000 172.16.0.1 10000

3. Wait for all connection established...
node b$ ps ax | grep -c netserver

4. Execute logger
node b$ mkdir /tmp/log1
node b$ ./procfile_logger/procfile_logger -g interrupts -g netstat -g stat -g schedstat -p netserver -l sched -l nprocs -o /tmp/log1 -d 1 -T 180

5. Loop 4

6. Execute graph_generator.sh
node b$ bash ./procfile_logger/tools/graph_generator.sh /tmp log1,log2,log3
Something went wrong with that request. Please try again.