← Back to team overview

enterprise-support team mailing list archive

Re: [Question #176067]: Obtaining valid status about active connections

 

Question #176067 on samba in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/samba/+question/176067

Bob Harvey gave more information on the question:
This is the effect of using an ubuntu client
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------Server login--------------------------------
bob@Harvey10:~$ ssh server01
bob@server01's password: 
Linux server01 2.6.32-34-server #77-Ubuntu SMP Tue Sep 13 20:54:38 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.04.3 LTS

Welcome to the Ubuntu Server!
 * Documentation:  http://www.ubuntu.com/server/doc

  System information as of Mon Oct 24 21:42:59 BST 2011

  System load: 0.62              Memory usage: 5%   Processes:       155
  Usage of /:  50.5% of 3.46GB   Swap usage:   0%   Users logged in: 0

  => There are 2 zombie processes.

  Graph this data and manage this system at
https://landscape.canonical.com/

Last login: Mon Oct 24 21:22:34 2011 from 10.63.63.63
bob@server01:~$ 

=========================================================================
=====================Server side, no connection made=====================
bob@server01:~$ smbstatus

Samba version 3.4.7
PID     Username      Group         Machine                        
-------------------------------------------------------------------
 <processes do not show up in anonymous mode>

Service      pid     machine       Connected at
-------------------------------------------------------

No locked files

bob@server01:~$

=======================Client side, no connection made===================
bob@Harvey10:~$ ps aux | grep smb
root      1107  0.0  0.1  15316  3960 ?        Ss   21:42   0:00 smbd -F
root      1405  0.0  0.0  15316  1192 ?        S    21:42   0:00 smbd -F
bob       2208  0.0  0.0   3328   808 pts/1    S+   21:45   0:00 grep smb
bob@Harvey10:~$ 

=========================================================================
=====================Server side, Nautilus navigator open================
bob@server01:~$ smbstatus

Samba version 3.4.7
PID     Username      Group         Machine                        
-------------------------------------------------------------------
 <processes do not show up in anonymous mode>

Service      pid     machine       Connected at
-------------------------------------------------------
share        27703   10.63.63.63   Mon Oct 24 21:46:45 2011

No locked files

========================Client side, Nautilus navigator open===============
bob@Harvey10:~$ ps aux | grep smb
root      1107  0.0  0.1  15316  3960 ?        Ss   21:42   0:00 smbd -F
root      1405  0.0  0.0  15316  1192 ?        S    21:42   0:00 smbd -F
bob       2210  0.0  0.2  24184  4960 ?        S    21:46   0:00 /usr/lib/gvfs/gvfsd-smb --spawner :1.8 /org/gtk/gvfs/exec_spaw/2
bob       2217  0.0  0.0   3328   812 pts/1    S+   21:47   0:00 grep smb
bob@Harvey10:~$ 

=============================================================================
=======================Server side, text file opened in Ubuntu client text editor==========
=======================fiole /srv/share/samba/code/keep_alive.py opened in gedit===========
=======================Looked exactly the same a few minutes later with the editor open====
=======================Looked exactly the same with the editor closed======================
=======================Looked exactly the same a few minutse after the editor was closed.==
bob@server01:~$ smbstatus

Samba version 3.4.7
PID     Username      Group         Machine                        
-------------------------------------------------------------------
 <processes do not show up in anonymous mode>

Service      pid     machine       Connected at
-------------------------------------------------------
share        27703   10.63.63.63   Mon Oct 24 21:46:45 2011

No locked files

======================Cient side, text file opened in ubuntu client text editor===============
=======================Looked exactly the same a few minutes later with the editor open====
=======================Looked exactly the same with the editor closed======================
=======================Looked exactly the same a few minutes after the editor was closed.==
bob@Harvey10:~$ ps aux | grep smb
root      1107  0.0  0.1  15316  3960 ?        Ss   21:42   0:00 smbd -F
root      1405  0.0  0.0  15316  1192 ?        S    21:42   0:00 smbd -F
bob       2210  0.0  0.2  24308  5156 ?        S    21:46   0:00 /usr/lib/gvfs/gvfsd-smb --spawner :1.8 /org/gtk/gvfs/exec_spaw/2
bob       2237  0.0  0.0   3328   808 pts/1    S+   21:48   0:00 grep smb
bob@Harvey10:~$ 

===========================================================================================
======================Server side with Ubuntu clien Nautilus file explorer closed==========
======================Looked exactly the same a few minutes later==========================
bob@server01:~$ smbstatus

Samba version 3.4.7
PID     Username      Group         Machine                        
-------------------------------------------------------------------
 <processes do not show up in anonymous mode>

Service      pid     machine       Connected at
-------------------------------------------------------
share        27703   10.63.63.63   Mon Oct 24 21:46:45 2011

No locked files

bob@server01:~$
===================Client side with Nautilus file explorer closed==========================
bob@Harvey10:~$ ps aux | grep smb
root      1107  0.0  0.1  15316  3960 ?        Ss   21:42   0:00 smbd -F
root      1405  0.0  0.0  15316  1192 ?        S    21:42   0:00 smbd -F
bob       2210  0.0  0.2  24308  5156 ?        S    21:46   0:00 /usr/lib/gvfs/gvfsd-smb --spawner :1.8 /org/gtk/gvfs/exec_spaw/2
bob       2257  0.0  0.0   3328   804 pts/1    S+   21:55   0:00 grep smb
bob@Harvey10:~$ 



=============================================================================================

-- 
You received this question notification because you are a member of
Ubuntu Server/Client Support Team, which is an answer contact for samba
in Ubuntu.