Jeff Davis <[EMAIL PROTECTED]> writes: > I am trying to set up a server, and I would like to know about some of > the tools I should be using for the following tasks: > > Bandwidth monitoring/restriction on a per-user basis > > Traffic (total data transfered per time unit) monitoring/restriction on > a per-user basis
Have a look at the net-acct package: $ apt-cache show net-acct Package: net-acct Priority: extra Section: net Installed-Size: 129 Maintainer: Bernd Eckenfels <[EMAIL PROTECTED]> Architecture: i386 Version: 0.71-1 Depends: cron, libc6 (>= 2.1.94) Filename: dists/woody/main/binary-i386/net/net-acct_0.71-1.deb Size: 43704 MD5sum: f8ae7b1759d2b78042928af74f225f7f Description: Usermode IP accounting daemon This package logs network traffic. It provides a daemon (nacctd) that logs all traffic passing the machine it runs on (similar to what tcpdump does). . Capability is provided to associate traffic to slip/ppp users in case you run a slip/ppp server. > CPU & RAM would also be nice, but I assume linux won't let a user > totally take over the machine's resources with default options. man ulimit? Greetings, joachim