in reply to Reaped: solve the relative timestamp problem
It's unclear what exactly you're looking for in 1. time() will give you epoch on the system that you're working on. No need to jump through hoops with getting the date from the system
Your sample data isn't enough to get a clear idea of what you want to do for 2, unless you just want to add the bytes column for each unique file and ip combination. If that's the case, split the data on the delimter (tab?) and build a HOH scenario, using the IP as the key.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: solve the relative timestamp problem
by roadtest (Sexton) on Jun 15, 2011 at 13:49 UTC |