my clients are getting services from servers but how to
know which client is using which service. is there any
files to keep information about these? clients used ftp,
nis, samba, apache, squid, nfs and mail services how to
know how many users got service from server side with
date,time and client system ip ?

Answers were Sorted based on User's Feedback



my clients are getting services from servers but how to know which client is using which service. ..

Answer / rahul wandile

Checking the logs is a good idea always.
Now for which server we need to check should be clear.
mail server --> /var/log/mail/maillog [RedHat,centos]
ssh --> /var/log/secure
apache --> /var/log/http/access.log
nfs alrady told also check in /var/log/ folder
samba and nis dont know excatly.

Also check the syslog level and the perticular server log
informations.[Eg: Tomcat keeps log in
$CATALINA_HOME/log/catalina.out which if different then
linux logs]

Is This Answer Correct ?    8 Yes 0 No

my clients are getting services from servers but how to know which client is using which service. ..

Answer / pavan.r

for NFS: end of the day view /var/lib/nfs/rmtab file it
contains how many users used nfs service those users list.
sorry i dont know abou rest all servers.

Is This Answer Correct ?    7 Yes 3 No

my clients are getting services from servers but how to know which client is using which service. ..

Answer / richu

all log information wil get on /var/log/messages

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Linux Commands Interview Questions

Enlist some linux networking and troubleshooting commands?

0 Answers  


How you will create new folder / directories and how to remove file and folder in linux?

0 Answers  


What does umask 022 mean?

0 Answers  


How do I change shell in linux?

0 Answers  


Explain about document formatting?

0 Answers  


some one is asking my machine is slow what is your steps?

5 Answers   Oracle, Talent,


1. Why "d" is postfix in almost every service name of Linux like httpd, dhcpd? 2. how to restrict su & ssh services for some users? 3. how can we configure a default gateway for 10 n/w cards in a server?

6 Answers  


Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.

0 Answers  


How do I check dns entry?

0 Answers  


Did you ever write any inerface files / profile file to support unix environment setup ?

1 Answers   HP,


in redhat Linux wat is the command to check at ahich date and time file was created?

16 Answers  


What is the difference between cd and cd in linux?

0 Answers  


Categories