Prev | Current Page 1344 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

The following is an example of the output from smbstatus:
# smbstatus
Samba version 3.0.24-12.fc7
PID Username Group Machine
-------------------------------------------------------------------
25770 chris chris booker (10.0.0.50)
25833 chris chris 10.0.0.50 (10.0.0.50)
Service pid machine Connected at
-------------------------------------------------------
IPC$ 25729 booker Sun Apr 22 12:06:29 2007
mytmp 25770 booker Sun Apr 22 12:16:03 2007
mytmp 25833 10.0.0.50 Sun Apr 22 12:25:52 2007
IPC$ 25730 booker Sun Apr 22 12:06:29 2007
Locked files:
Pid Uid DenyMode Access R/W Oplock SharePath Name Time
--------------------------------------------------------------------------------
25833 501 DENY_NONE 0x12019f RDWR NONE /tmp .b.txt.swp Sun Apr 22 12:26:18 2007
This output shows that from your Linux Samba server, the mytmp service (which is a share of the
/tmp directory) is currently open by the computer named booker. PID 25833 is the process number
of the smbd daemon on the Linux server that is handling the service. The file that is open is the
/tmp/.b.txt.swap file, which happened to be opened by a vi command. It has read/write access.
Using Samba Shared Directories
Once you have configured your Samba server, you can try using the shared directories from a
client computer on your network.


Pages:
1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356