I would like to try and better understand how to analyse the following situation (which is no longer occurring)
CPU pinned at 50% all night (100% of 1 core I suppose) according to Cloudwatch.
Network usage all night: almost completely flat at 1MB/5 mins
Http logs mostly empty.
My computer left on all night, connected to the instance with SSH and a database connection.
All of the above stops when I unplug my ethernet connection in the morning.
Has not occurred before, no longer happening.
I'm wondering if there's a way to analyse the network usage by IP, port, or the cpu usage by process, retrospectively, or if there's any other approach that I could use to learn more about what happened.