Is there any way to measure httpd/ftpd and sshd trafic per user basis.

link|improve this question
feedback

2 Answers

The httpd server keeps a log which includes user ID (if basic auth is used) and bytes sent. The ftpd should have something similar but you may have to enable a detailed logging. I'm not sure about sshd. It may or may not have a detailed logging option.

link|improve this answer
feedback

The Apache::Traffic server module seems to offer a simple way to log hits and bytes in/out per user. you can just install that module and then run the traffic script to generate reports.

I don't see an obvious way to measure ssh or ftp traffic, other than the previous suggestion of increasing the logging detail and processing the logs.

There was a per-user IP accounting mechanism for the linux kernel called ipacct but it seems way out of date now.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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