Quote:
|
Originally Posted by actz
Hi I will soon be opening a large file server and I wanted to have a script that could report back to my users live stats on the server load for the file.
|
The main question is WHAT type of program are you going to be using to serve the files ? If it is an FTP server - and more specifically, if it is going to be PureFTPd, then there is a program already built to handle that:
Quote:
|
The pure-ftpwho command provides real-time reports of who's doing what on the FTP server, including bandwidth usage. The result can be a full web page, and the program can also work like a standard CGI program, compatible with any web server. XML and text reports are also available, as well as a compact and easily parsable format for shell scripts.
|
With a little scripting of the results, you can quickly generate a graph showing how much of your available bandwidth is in use.
http://www.pureftpd.org/
Quote:
|
Pure-FTPd is actively supported, and it was always designed with security in mind, and the code is always re-audited as new kind of vulnerabilities are discussed. Unlike other popular FTP servers, the number of root exploits found since the very first released version is zero.
|