![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Networking & Wireless Having problems getting connected to the internet or getting your wireless card to work? Ask here. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Dipped in Ubuntu
![]() Join Date: Jun 2007
Beans: 600
Ubuntu 9.10 Karmic Koala
|
[SOLVED] 'Who' is using SAMBA?
Is there a command that will let you find out who is accessing a samba share?
Similar to the 'who' command to find out who is logged onto a machine, but instead for SAMBA shares. Does a command like this exist? Really my goal is to work this into a script that will shutdown my server at night so long as NO ONE is using the share. TiA, -BassKozz
__________________
Ubuntu 9.10 64-bit - IP35-Pro | Q6600@3.3ghz(TRUE [lapped]) | G.Skill 2x2GB | MSI NX8600GT | 150GB WD Raptor ||| NAS - Ubuntu 9.04 - Intel D865GBF | P4 3.0GHz | G.Skill 4x1GB | FX5200-AGP | 3x250GB mdadm Raid5 | 200GB OS Last edited by BassKozz; February 2nd, 2009 at 11:24 AM.. |
|
|
|
|
|
#2 |
|
Way Too Much Ubuntu
![]() Join Date: Sep 2007
My beans are hidden!
|
Re: 'Who' is using SAMBA?
smbstatus will do that.
_________edit _____________________ Just found out Samba also has a"net" command. "net status shares parseable" looks just about perfect for your needs
__________________
Jill has left these forums due to ongoing double-standards in rule enforcement. Last edited by JillSwift; February 2nd, 2009 at 10:35 AM.. |
|
|
|
|
|
#3 | |
|
Dipped in Ubuntu
![]() Join Date: Jun 2007
Beans: 600
Ubuntu 9.10 Karmic Koala
|
Re: 'Who' is using SAMBA?
Quote:
Follow-up: Need help creating an advanced shutdown script for powersaving?
__________________
Ubuntu 9.10 64-bit - IP35-Pro | Q6600@3.3ghz(TRUE [lapped]) | G.Skill 2x2GB | MSI NX8600GT | 150GB WD Raptor ||| NAS - Ubuntu 9.04 - Intel D865GBF | P4 3.0GHz | G.Skill 4x1GB | FX5200-AGP | 3x250GB mdadm Raid5 | 200GB OS Last edited by BassKozz; February 2nd, 2009 at 11:53 AM.. |
|
|
|
|
| Bookmarks |
| Tags |
| crontab, samba, shutdown |
| Thread Tools | |
| Display Modes | |
|
|