@T4$UNIX_COLLECT, Miscellaneous, Tru64 COLLECT data to T4 format.9 This utility will read a log file created by the Tru649Unix "collect" utility, which collects system performance<information, and convert it to a CSV (comma separated value)6text file which is compatible with T4 performance datacollection utilities. : "collect" is a program that runs on Tru64 Unix systems,;collecting data on system performance in a manner analogous6to MONITOR /RECORD on an OpenVMS system. There are two9sample collect commands contained at the beginning of the7program source code, but I highly recommend reading the:Tru64 documentation, or at least the man or xman pages for collect. ; Before processing the data, you must convert it from the;binary ".cgz" format to a text file. This is done with thecommand ,# collect -p datafile.cgz > collect_log_file< The text log file can then be copied to an OpenVMS systemfor conversion. 7 There isn't a lot of documentation for this program,0because it only does one thing. To run it, edit8T4$UNIX_COLLECT.CLD so that the IMAGE line points to the6location of the executable image (I normally put it in1T4$SYS, where most other T4 programs reside), do $ SET COMMAND T4$UNIX_COLLECT9to define the command, and then the program is run with: +$ T4$UNIX_COLLECT collect_log_file csv_file5 The resulting CSV file can be read by a variety of:programs, including TLViz and CSVPNG: and probably by some<spreadsheet and database programs. The program will convert:every data item I could manage to turn into a fixed number*of columns, as required by the CSV format.: There are some areas where users may need to test and /9or modify the program. First: it has only been tested on<systems with 4 processors, and I don't have a way to test it9on a system with some other number of processors. So the<logic that extracts CPU data may need to change. Second: it8collects individual PID statistics for certain users and=certain commands. You may want or need to change this list. 7It currently isn't automated, it is hard-coded into the:program. Someone with more time available than I have now<will have to turn it into a more general-purpose program, ifthat is desired.Bart Z. Lederman