orb2disk [-b bury-interval] [-m match] [-r reject] [-p period] [-s size] [-vv] orb directory [start-time [end]]
When started for the first time, or when resurrection from the state file fails, orb2disk positions the read at the specified start-time. If no start-time is specified, orb2disk starts with the oldest packet.
When an end time is specified, orb2disk quits after reading a packet with a later time. If the specified end time is last, it copies until reaching the current last packet in the orb.
orb2disk also saves a state file into this directory; this state file keeps track of the position in the orbserver from which packets are being copied.
% orb2disk ruper:brtt disk orb2disk: orb2disk : $Revision: 1.5 $ $Date: 2006/09/13 04:56:33 $ orb2disk: resurrection unsuccessful starting pktid is #3099 TA_H03A/log 4/26/2006 8:35:41.272 orb2disk: Disk files disk (0 segment files currently) Current size = 0.0 Mbytes Max size = 1000.0 Mbytes Available = 23482.1 Mbytes ^C 14316 1124 byte packets (15714 kbytes) in 4.982 seconds 3154.007 kbytes/s 25232.055 kbaud 2873.374 pkts/s % orb2disk -s 5G -r '.*/st' ruper:brtt disk orb2disk: orb2disk : $Revision: 1.5 $ $Date: 2006/09/13 04:56:33 $ orb2disk: read old state file orb2disk: resurrection successful: repositioned to pktid #17415 @ 4/26/2006 10:14:40.693 starting pktid is #17415 TA_W12A/log 4/26/2006 10:14:40.693 orb2disk: Disk files disk (2 segment files currently) Current size = 16.7 Mbytes Max size = 5368.7 Mbytes Available = 23465.4 Mbytes ^C 974 49964 byte packets (47524 kbytes) in 5.480 seconds 8672.948 kbytes/s 69383.585 kbaud 177.751 pkts/s
orbserver(1) diskserver(1) forb(5)
Similarly, the size is not fixed, but grows steadily as packets are added to a segment, then drops by large amounts are whole segments are deleted to keep the size (roughly) below the specified size.