Cut utility example
102
Historical Server
Suppose that you are interested in only the total I/O for each device during the
sample. You could execute the following command to cut out the data you want
by executing the following command:
cut -f1,2,5 -d, d1_1_device_io > d1_1_device.io.new
where field 1 is the date and time of the sample, 2 is the second field, which is
the device name, and 5 is the fifth field, which is the device I/O value.
Now you can import the d1_1_device.new file into an Adaptive Server table as
described in the previous section, “Bulk copy example” on page 99.
For more information about the
cut
utility, refer to the UNIX reference pages
on your system.
Summary of Contents for 12.5.1
Page 1: ...User s Guide Historical Server 12 5 1...
Page 14: ...xiv Historical Server...
Page 46: ...Configuring multiple instances of Historical Server 32 Historical Server...
Page 56: ...Starting and stopping Historical Server on Windows NT 42 Historical Server...
Page 102: ...hs_terminate_recording 88 Historical Server...