It can always happen that when starting certain processes on our Mac and even specific programs, the opening of them has been slowed down over time causing the general speed of the system to be well below where it should be. This can be caused by devices connected to our computers via USB, Thunderbolt ... or any recently installed software.
Although our first idea to solve it is to use third party programs To see what is happening or have a specialized technician provide us with support, we also have the option of being able to see a series of statistics that will help us determine if everything is working as it should to a greater or lesser extent.
Precisely in Mavericks they have tried to optimize the general operation of the system as much as possible with the memory compression algorithms and battery life on laptops so monitoring it can be carried out with the Activity Monitor, which in fact will be accessing Systemstats to create a more visual but less 'detailed' report of everything that is happening.
However, to see absolutely everything that this Systemstats can show us, we just have to go to Applications> Utilities> Terminal and type in the command line «sudo systemstats», at that moment we will introduce our administrator password and it will show us all the system statistics from CPU frequency to the total activity time of the equipment including data such as the time it has been in suspension to the activity of the memory or devices connected by USB for example.
Within this simple command we can also view a specified period of time including "-s" after sudo, the time interval and "-e" to close. This will allow us to see everything that has happened during that specified time.
sudo-s systemstats 2013-12-10 15:30:00 2013-12-10 16:30:00-e
More information - Assign the applications you want to run on a specific desktop