Scripts in pegasus-unsupported
Karl Schopmeyer <[email protected]> Sat, 08 Nov 2014 14:09:56 -0600
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <[email protected]> |
I have update one set of scripts in the pegasus-unsupported module and
committed the first version of a second set.
1. formattrace - A bash/awk script tool to help clean up the traces
somewhat. It does several things including:
- consolidate the multiple traces from OOP into a single trace
sorted by time.
- Change the time on each trace entry from absolute to time
relative to the start of the output. Thus, all of
the lines of the log can be read in terms of time from the first
entry in the output log. Makes it much easier
to see time differences in the log
- Changes the process/thread id to something meaningful (P01:TH01)
so that it is much easier to trace the
multiple threads through the dump.
- Reformat the XML output to that it is easier to read.
- Marks certain log entries so that they are easy to find.
Remember that that this is an unsupported tool. I found it useful and
am making it available to everybody.
2. CHO test scripts. I created two bash scripts (chosimpletest and
watchcimserver) and they in the sunsupported
directory scripts/chotest. One is to regulary display/save core
data about the server operation (today it is
data from repeated execution of the ps command) and the other,
executes a defined set of clients against
the server. Again this is primitive but at least it works and we
have already used it to locate a number of issues.
I welcome comments, etc.
Note that today this are primarily for developers.
Karl