Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have created a local Ubuntu repository using apt-mirror and i must say it has been awesome. But now one issue that we are facing is that we need to monitor which version of Ubuntu is being accessed more for packages, which packages are being downloaded more and all sort of things. It would be great if someone could show us the way or just tell us how could we set up a monitoring for apt-mirror.

share|improve this question

You would just need to ensure that you have the right amount of logging setup for Apache2 and then just grep the logs for the information that you want. You would have to know the directory path for the given Ubuntu version. Here's some details for how to customize Apache logging:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.