Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re^3: analyzing data

by salva (Abbot)
on Apr 23, 2014 at 09:05 UTC ( #1083301=note: print w/replies, xml ) Need Help??

in reply to Re^2: analyzing data
in thread analyzing data

well, the details are important!

How do you find the start and end times? How do you know you have covered all the entries?

When writing some program, the first thing you need to do is to find a precise way to solve the problem. Then you can think about how to translate that into Perl (or any other language).

Replies are listed 'Best First'.
Re^4: analyzing data
by matt00perl (Novice) on Apr 23, 2014 at 09:32 UTC

    my idea is to loop through the data, if an destination ip appears more than once...take the least time (ex. 01:01) continue, to the end of the data and get the last time (ex.01:05). take difference of those and return one line with new time (ex 00:04)

      That's not precise enough, it is not something I can translate to Perl.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1083301]
SuicideJunkie replaces stale cookies with fresh on the platter on the sideboard.
[SuicideJunkie]: So, possibly interesting thing; I had that script which was using more than all the ram to open an absurdly large spreadsheet. I set it up to spin overnight nightly, so it stopped releasing memory since it was never fully exited.
[SuicideJunkie]: Didn't expect that to be a problem. There's plenty of disk space for swap, and the memory space would be reused the next day. But apparently virtualbox dies with a guru meditation when there's no physical memory unused on start.

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2017-04-26 22:46 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (491 votes). Check out past polls.