LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-30-2006, 07:13 AM   #1
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Rep: Reputation: 31
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...
 
Old 10-31-2006, 01:17 AM   #2
gruntwerk
Member
 
Registered: Dec 2003
Location: PA
Distribution: fc9
Posts: 89

Rep: Reputation: 15
look at the webalizer package/command
 
Old 10-31-2006, 01:23 PM   #3
poweredbydodge
Member
 
Registered: Oct 2006
Location: Buffalo, NY
Distribution: Servers: Scientific Linux 5.x // Desktops: Fedora Core (latest)
Posts: 110

Rep: Reputation: 15
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.
 
Old 11-01-2006, 04:25 PM   #4
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Original Poster
Rep: Reputation: 31
I agree. In my case it is almost all Windows enviroment, so Samba is a must.
I thougt Webalizer analyzes only web server logs?
 
Old 11-04-2006, 08:42 PM   #5
gruntwerk
Member
 
Registered: Dec 2003
Location: PA
Distribution: fc9
Posts: 89

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


Reply

Tags
samba, statistics


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistics NightSoul Linux - Newbie 6 06-11-2006 12:32 AM
kernel fs statistics phoenix7 Programming 3 08-04-2005 02:39 AM
Are there any browser statistics for LQ? MartinN LQ Suggestions & Feedback 3 09-21-2004 09:34 AM
Statistics on file accesses (Samba) ? intens Linux - Software 5 01-19-2004 11:57 AM
Squid statistics Padre Linux - Networking 0 12-14-2003 02:56 AM


All times are GMT -5. The time now is 09:34 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration