LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 06:13 AM   #1
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Rep: Reputation: 32
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, 12: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, 12: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, 03:25 PM   #4
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Original Poster
Rep: Reputation: 32
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, 07: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



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-10-2006 11:32 PM
kernel fs statistics phoenix7 Programming 3 08-04-2005 01:39 AM
Are there any browser statistics for LQ? MartinN LQ Suggestions & Feedback 3 09-21-2004 08:34 AM
Statistics on file accesses (Samba) ? intens Linux - Software 5 01-19-2004 10:57 AM
Squid statistics Padre Linux - Networking 0 12-14-2003 01:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:33 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration