LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2011, 11:54 AM   #1
hmutual2
LQ Newbie
 
Registered: Feb 2011
Posts: 10

Rep: Reputation: 0
Server Activity Log


I was given an activity log and it has a lot of activity with the code nmbd[4123]. What does this mean?


Also, there doesn't seem to be a column that indicate who made the change. should there be one?

ie

Feb 8 11:02:28 server nmbd[4123]: msg
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-09-2011, 06:14 AM   #2
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 17.3 and 18 at present.
Posts: 1,192

Rep: Reputation: 204Reputation: 204Reputation: 204
Sorry, Not enough information. Can you supply a section of the code before and after the nmbd code? It may help to know the context.

Your question is like "I've got a sentence with the word 'the' in it, what does it mean?"

Play Bonny!
 
Old 02-09-2011, 07:12 AM   #3
geovg
Member
 
Registered: Mar 2010
Posts: 40

Rep: Reputation: 1
please provide more details here, then only we will be able to help you.
 
Old 02-09-2011, 07:47 AM   #4
tommylovell
Member
 
Registered: Nov 2005
Distribution: Fedora, Redhat
Posts: 372

Rep: Reputation: 101Reputation: 101
Quote:
Feb 8 11:02:28 server nmbd[4123]: msg
That appears to be a syslog entry (like what you would find in /var/log/messages on a typical Linux system).

If so, there's the obvious "date", "time" and "hostname" of your server, which is named "server"; then the process name and process id of who logged the entry, the "nmbd[4123] that you asked about. Not really a code, but an identifier of what (who?) logged the message.

The process ID or PID (the number between the brackets []) is not mandatory and is at the discretion of whoever is logging the entry, so it can be missing in some entries. Do a 'man logger' to see a shell command interface to syslog; or 'man -s3 syslog' to see the c language interface to syslog if you are curious.

You should be able to do a 'man nmbd' to get the man page for nmbd, but here is an online one http://linuxcommand.org/man_pages/nmbd8.html

Google nmbd to get more info on that. It's part of Samba.

Last edited by tommylovell; 02-09-2011 at 07:50 AM.
 
2 members found this post helpful.
Old 02-10-2011, 05:20 AM   #5
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 17.3 and 18 at present.
Posts: 1,192

Rep: Reputation: 204Reputation: 204Reputation: 204
Nice answer from a pretty info-scarce question!

Rock on Tommy!

Play Bonny!

Last edited by Soadyheid; 02-10-2011 at 05:21 AM. Reason: punctuation omission
 
  


Reply


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
Need to setup Linux Router/Firwall Server to log employee web activity. chopinpatel Linux - Server 2 11-11-2010 12:35 AM
log activity in samba packets Linux - Software 1 11-05-2008 05:24 AM
Setting up simple file/print server to notify me of log activity across the LAN adamsjw2 Linux - Networking 1 04-10-2006 04:59 PM
activity log linuxhippy Slackware 5 11-16-2005 07:55 PM
How to Log eth0 activity? Noffy Linux - Networking 1 03-04-2002 05:26 PM


All times are GMT -5. The time now is 06:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration