Next: Log Analysis Functions
Up: Klogger Perl Module
Previous: Klogger Perl Module
Contents
Control Functions
The first group can be regarded as Klogger control functions, used in
automated workload generating scripts. These are just wrappers for the basic
shell commands introduces so far:
- klogger_start_logging()
As the same says: starts logging! (an equivalent to writing ``1'' into
/proc/sys/klogger/enabled).
- klogger_stop_logging()
Another surprise: the function simply stops the logging!
(equivalent to writing ``1'' into /proc/sys/klogger/enabled).
- klogger_dump2txt(kernel_home, dumpfile, txtfile)
Convert a binary dump file into the textual log format.
The arguments are:
- kernel_home: the path to Klogger's kernel source tree.
Needed for the binary2text decoder.
- dumpfile: the binary file to be converted.
- txtfile: the output text file.
Yoav Etsion
2007-09-09