LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba statistics (http://www.linuxquestions.org/questions/linux-software-2/samba-statistics-496870/)

ivanatora 10-30-2006 06:13 AM

Samba statistics
 
I have LAN and a Samba server within.
I want to make statistics from that server - which files are accessed and how often.
Give me a hint where I should start looking.
I tried log files, but there are only messages like:
beast (172.20.30.203) closed connection to service mp3
beast (172.20.30.203) connect to service mp3 initially as user ftp (uid=14, gid=50) (pid 4327)
beast (172.20.30.203) connect to service mp3 initially as user ftp (uid=14, gid=50) (pid 4327)
And so on...

gruntwerk 10-31-2006 12:17 AM

look at the webalizer package/command

poweredbydodge 10-31-2006 12:23 PM

i know its not the question but...

if you're not sharing files/directories/printers with windows machines, and only sharing with other unix/linux (maybe apple friendly too) machines, then you ought to look into using NFS (files) and Cups (printers)instead of Samba.

The performance of file access/transfer with NFS versus Samba is startling. When I do something on client Linux boxes talking to NFS file server, its quick... real quick... like I'm right at the server. When I was using Samba, it would occasionally hang... and most transfers were god awful slow.

But, if you've got to share with Windows machines, then Samba is your only choice, and it's not a bad one... I mean, hell, it effectively links Win and Linux machines without issues... you can't ask for much more. NFS is just nicer when you're in an all-Linux environment.

ivanatora 11-01-2006 03:25 PM

I agree. In my case it is almost all Windows enviroment, so Samba is a must.
I thougt Webalizer analyzes only web server logs?

gruntwerk 11-04-2006 07:42 PM

sorry, you typed samba, i read apache...
maybe i shouldnt read stuff when i wake up in the middle of the night


All times are GMT -5. The time now is 12:17 AM.