-
Notifications
You must be signed in to change notification settings - Fork 0
/proc file logger
License
syuu1228/procfile_logger
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
* 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