ืื ื’ืœื™ืชืฆืจืคืชื™ืชืกืคืจื“ื™

ืกืžืœ OnWorks

testparm - ืžืงื•ื•ืŸ ื‘ืขื ืŸ

ื”ืคืขืœ testparm ื‘ืกืคืง ืื™ืจื•ื— ื‘ื—ื™ื ื ืฉืœ OnWorks ืขืœ ืื•ื‘ื•ื ื˜ื• ืžืงื•ื•ืŸ, ืคื“ื•ืจื” ืžืงื•ื•ืŸ, ืืžื•ืœื˜ื•ืจ ืžืงื•ื•ืŸ ืฉืœ Windows ืื• ืืžื•ืœื˜ื•ืจ ืžืงื•ื•ืŸ ืฉืœ MAC OS

ื–ื”ื• ืžื‘ื—ืŸ ื”ืคืงื•ื“ื” ืฉื ื™ืชืŸ ืœื”ืคืขื™ืœ ื‘ืกืคืง ื”ืื™ืจื•ื— ื”ื—ื™ื ืžื™ ืฉืœ OnWorks ื‘ืืžืฆืขื•ืช ืื—ืช ืžืชื—ื ื•ืช ื”ืขื‘ื•ื“ื” ื”ืžืงื•ื•ื ื•ืช ื”ืžืจื•ื‘ื•ืช ืฉืœื ื•, ื›ื’ื•ืŸ Ubuntu Online, Fedora Online, ืืžื•ืœื˜ื•ืจ ืžืงื•ื•ืŸ ืฉืœ Windows ืื• ืืžื•ืœื˜ื•ืจ ืžืงื•ื•ืŸ ืฉืœ MAC OS

ืชึธื›ึฐื ึดื™ืช:

ืฉืึตื


testparm - ื‘ื“ื•ืง ืงื•ื‘ืฅ ืชืฆื•ืจื” ืฉืœ smb.conf ืœืชืงื™ื ื•ืช ืคื ื™ืžื™ืช

ืชึทืงืฆึดื™ืจ


testparm [-s|--suppress-prompt] [--help] [-v|--verbose] {config filename}
[ืฉื ืžืืจื— ืžืืจื— IP]

ืชื™ืื•ืจ


ื›ืœื™ ื–ื” ื”ื•ื ื—ืœืง ืžื”- ืกืžื‘ื”(7) ืกื•ื•ื™ื˜ื”.

testparm ื”ื™ื ืชื•ื›ื ื™ืช ื‘ื“ื™ืงื” ืคืฉื•ื˜ื” ืžืื•ื“ ืœื‘ื“ื™ืงืช ื smbd(8) ืงื•ื‘ืฅ ืชืฆื•ืจื” ืขื‘ื•ืจ ืคื ื™ืžื™
ื ึฐื›ื•ึนื ื•ึผืช. ืื ืชื•ื›ื ื™ืช ื–ื• ืœื ืžื“ื•ื•ื—ืช ืขืœ ื‘ืขื™ื•ืช, ืืชื” ื™ื›ื•ืœ ืœื”ืฉืชืžืฉ ื‘ืงื•ื‘ืฅ ื”ืชืฆื•ืจื” ืขื
ื‘ื™ื˜ื—ื•ืŸ ืฉ-smbd ื™ื˜ืขืŸ ื‘ื”ืฆืœื—ื” ืืช ืงื•ื‘ืฅ ื”ืชืฆื•ืจื”.

ืฉื™ื ืœื‘ ืฉื–ื”ื• ืœื ืขืจื•ื‘ื” ืฉื”ืฉื™ืจื•ืชื™ื ื”ืžืฆื•ื™ื ื™ื ื‘ืงื•ื‘ืฅ ื”ืชืฆื•ืจื”
ื™ื”ื™ื” ื–ืžื™ืŸ ืื• ื™ืคืขืœ ื›ืฆืคื•ื™.

ืื ืฉื ื”ืžืืจื— ื”ืื•ืคืฆื™ื•ื ืœื™ ื•ื›ืชื•ื‘ืช ื”-IP ื”ืžืืจื— ืžืฆื•ื™ื ื™ื ื‘ืฉื•ืจืช ื”ืคืงื•ื“ื”, ื‘ื“ื™ืงื” ื–ื•
ื”ืชื•ื›ื ื™ืช ืชืคืขื™ืœ ืืช ืขืจื›ื™ ื”ืฉื™ืจื•ืช ื”ืžื“ื•ื•ื—ืช ืื ืœืžืืจื— ืฉืฆื•ื™ืŸ ื™ืฉ
ื’ื™ืฉื” ืœื›ืœ ืฉื™ืจื•ืช.

ืื testparm ืžื•ืฆื ืฉื’ื™ืื” ื‘ืงื•ื‘ืฅ smb.conf ื”ื•ื ืžื—ื–ื™ืจ ืงื•ื“ ื™ืฆื™ืื” ืฉืœ 1 ืœ-
ืงื•ืจื ืœืชื•ื›ื ื™ืช, ืื—ืจืช ื”ื™ื ืžื—ื–ื™ืจื” ืงื•ื“ ื™ืฆื™ืื” ืฉืœ 0. ื–ื” ืžืืคืฉืจ ืœืกืงืจื™ืคื˜ื™ื ืฉืœ ืžืขื˜ืคืช ืœื‘ื“ื•ืง ืืช
ืคืœื˜ ืž-testparm.

ืืคืฉืจื•ื™ื•ืช


-s|--suppress-prompt
ืœืœื ืืคืฉืจื•ืช ื–ื•, testparm ื™ื‘ืงืฉ ื”ื—ื–ืจืช ืขื’ืœื” ืœืื—ืจ ื”ื“ืคืกืช
ืฉืžื•ืช ืฉื™ืจื•ืช ื•ืœืคื ื™ ื”ืฉืœื›ืช ื”ื’ื“ืจื•ืช ื”ืฉื™ืจื•ืช.

-V|--ื’ืจืกื”
ืžื“ืคื™ืก ืืช ืžืกืคืจ ื’ืจืกืช ื”ืชื•ื›ื ื™ืช.

--ืื•ืคืฆื™ื”= =
ื”ื’ื“ืจ ืืช smb.conf(5) ืืคืฉืจื•ืช " " ืœื”ืขืจื™ืš " " ืžืฉื•ืจืช ื”ืคืงื•ื“ื”. ื–ื”
ืขื•ืงืฃ ืืช ื‘ืจื™ืจื•ืช ื”ืžื—ื“ืœ ื”ืžื•ืงื•ืžืคืœื•ืช ื•ืืคืฉืจื•ื™ื•ืช ื”ื ืงืจืื•ืช ืžืงื•ื‘ืฅ ื”ืชืฆื•ืจื”.

-?|--ืขื–ืจื”
ื”ื“ืคืก ืกื™ื›ื•ื ืฉืœ ืืคืฉืจื•ื™ื•ืช ืฉื•ืจืช ื”ืคืงื•ื“ื”.

--ื ื•ึนื”ึธื’
ื”ืฆื’ ื”ื•ื“ืขืช ืฉื™ืžื•ืฉ ืงืฆืจื”.

-d|--debuglevel=ืจืžื”
ืจึธืžึธื” ื”ื•ื ืžืกืคืจ ืฉืœื ืž-0 ืขื“ 10. ืขืจืš ื‘ืจื™ืจืช ื”ืžื—ื“ืœ ืื ืคืจืžื˜ืจ ื–ื” ืœื ืžืฆื•ื™ืŸ
ื”ื•ื 1.

ื›ื›ืœ ืฉืขืจืš ื–ื” ื’ื‘ื•ื” ื™ื•ืชืจ, ื›ืš ื™ื™ืจืฉืžื• ื™ื•ืชืจ ืคืจื˜ื™ื ืœืงื•ื‘ืฆื™ ื”ื™ื•ืžืŸ ืขืœ
ืคืขื™ืœื•ืช ื”ืฉืจืช. ื‘ืจืžื” 0, ืจืง ืฉื’ื™ืื•ืช ืงืจื™ื˜ื™ื•ืช ื•ืื–ื”ืจื•ืช ื—ืžื•ืจื•ืช ื™ื”ื™ื•
ืœื”ื™ื•ืช ืžื—ื•ื‘ืจ. ืจืžื” 1 ื”ื™ื ืจืžื” ืกื‘ื™ืจื” ืœืจื™ืฆื” ื™ื•ืžื™ื•ืžื™ืช - ื”ื™ื ืžื™ื™ืฆืจืช ืงื˜ืŸ
ื›ืžื•ืช ืžื™ื“ืข ืขืœ ืคืขื•ืœื•ืช ืฉื‘ื•ืฆืขื•.

ืจืžื•ืช ืžืขืœ 1 ื™ื™ืฆืจื• ื›ืžื•ื™ื•ืช ื ื™ื›ืจื•ืช ืฉืœ ื ืชื•ื ื™ ื™ื•ืžืŸ, ื•ื™ืฉ ืœื”ืฉืชืžืฉ ื‘ื”ืŸ ื‘ืœื‘ื“
ื‘ืขืช ื—ืงื™ืจืช ื‘ืขื™ื”. ืจืžื•ืช ืžืขืœ 3 ืžื™ื•ืขื“ื•ืช ืœืฉื™ืžื•ืฉ ืจืง ืขืœ ื™ื“ื™ ืžืคืชื—ื™ื
ื•ืœื™ื™ืฆืจ ื›ืžื•ื™ื•ืช ืขืฆื•ืžื•ืช ืฉืœ ื ืชื•ื ื™ ื™ื•ืžืŸ, ืฉืจื•ื‘ื ื”ื ืงืจื™ืคื˜ื™ื™ื ื‘ื™ื•ืชืจ.

ืฉื™ื ืœื‘ ืฉืฆื™ื•ืŸ ืคืจืžื˜ืจ ื–ื” ื›ืืŸ ื™ืขืงื•ืฃ ืืช ื”ื™ื›ื ืก ืจึธืžึธื” ืคืจืžื˜ืจ ื‘
ืงื•ื‘ืฅ smb.conf.

-v|--ืจื‘ื•ืช
ืื ืืคืฉืจื•ืช ื–ื• ืฆื•ื™ื ื”, testparm ืชื•ืฆื™ื ื’ื ืืช ื›ืœ ื”ืืคืฉืจื•ื™ื•ืช ืฉืœื ื”ื™ื• ื‘ืฉื™ืžื•ืฉ
in smb.conf(5) ื•ื‘ื›ืš ืžื•ื’ื“ืจื™ื ืœื‘ืจื™ืจื•ืช ื”ืžื—ื“ืœ ืฉืœื”ื.

--parameter-name parametername
ื–ื•ืจืง ืืช ื”ืคืจืžื˜ืจ ื”ื ืงื•ื‘. ืื ืœื ื”ื•ื’ื“ืจ ืฉื ืžื“ื•ืจ, ื”ืชืฆื•ื’ื” ืžื•ื’ื‘ืœืช ื›ื‘ืจื™ืจืช ืžื—ื“ืœ ืœ
ื”ืงื˜ืข ื”ื’ืœื•ื‘ืœื™. ืืคืฉืจ ื’ื ืœื–ืจื•ืง ืืคืฉืจื•ืช ืคืจืžื˜ืจื™ืช. ืœื›ืŸ ื”
ื™ืฉ ืœื”ืคืจื™ื“ ื‘ื™ืŸ ื”ืืคืฉืจื•ืช ื‘ืืžืฆืขื•ืช ื ืงื•ื“ืชื™ื™ื ืœืฉื ื”ืคืจืžื˜ืจ.

--ืžืงื˜ืข-ืฉื ืžื“ื•ืจ
ื–ื•ืจืง ืืช ื”ืงื˜ืข ืขื ื”ืฉื.

--ื”ืฆื’-ื›ืœ-ืคืจืžื˜ืจื™ื
ื”ืฆื’ ืืช ื”ืคืจืžื˜ืจื™ื, ื”ืกื•ื’, ื”ืขืจื›ื™ื ื”ืืคืฉืจื™ื™ื.

-l|--ื“ื™ืœื•ื’-ืœื•ื’ื™ืงื”-ื‘ื“ื™ืงื•ืช
ื“ืœื’ ืขืœ ื”ื‘ื“ื™ืงื•ืช ื”ื’ืœื•ื‘ืœื™ื•ืช.

ืฉื ืชืฆื•ืจื”
ื–ื” ื”ืฉื ืฉืœ ืงื•ื‘ืฅ ื”ืชืฆื•ืจื” ืฉื™ืฉ ืœื‘ื“ื•ืง. ืื ืคืจืžื˜ืจ ื–ื” ืื™ื ื• ืงื™ื™ื
ื•ืื– ื‘ืจื™ืจืช ื”ืžื—ื“ืœ smb.conf(5) ื”ืงื•ื‘ืฅ ื™ื™ื‘ื“ืง.

ื”ืžืืจื—
ืื ืคืจืžื˜ืจ ื–ื” ื•ื”ืคืจืžื˜ืจ ื”ื‘ื ืฆื•ื™ื ื•, testparm ื™ื‘ื“ื•ืง ืืช ื”
ืžืืจื—ื™ื ืœื”ืชื™ืจ ื• ืžืืจื—ื™ื ืœื”ื›ื—ื™ืฉ ืคืจืžื˜ืจื™ื ื‘ smb.conf(5) ืงื•ื‘ืฅ ื›ื“ื™ ืœืงื‘ื•ืข ืื
ืฉื ืžืืจื— ืขื ื›ืชื•ื‘ืช IP ื–ื• ื™ื•ืจืฉื” ื’ื™ืฉื” ืœืฉืจืช smbd. ืื ื–ื”
ืคืจืžื˜ืจ ืžืกื•ืคืง, ื™ืฉ ืœืกืคืง ื’ื ืืช ืคืจืžื˜ืจ hostIP.

hostIP
ื–ื•ื”ื™ ื›ืชื•ื‘ืช ื”-IP ืฉืœ ื”ืžืืจื— ืฉืฆื•ื™ืŸ ื‘ืคืจืžื˜ืจ ื”ืงื•ื“ื. ื”ื›ืชื•ื‘ืช ื”ื–ื•
ื—ื™ื™ื‘ ืœื”ื™ื•ืช ืžืกื•ืคืง ืื ืคืจืžื˜ืจ ืฉื ื”ืžืืจื— ืžืกื•ืคืง.

ื”ืฉืชืžืฉ ื‘-testparm ื‘ืื™ื ื˜ืจื ื˜ ื‘ืืžืฆืขื•ืช ืฉื™ืจื•ืชื™ onworks.net


ืฉืจืชื™ื ื•ืชื—ื ื•ืช ืขื‘ื•ื“ื” ื‘ื—ื™ื ื

ื”ื•ืจื“ ืืคืœื™ืงืฆื™ื•ืช Windows & Linux

  • 1
    ื—ื™ื ื ืžื”ื“ืจ ืคืกืงืœ
    ื—ื™ื ื ืžื”ื“ืจ ืคืกืงืœ
    ืžื”ื“ืจ ืคืกืงืœ 32/64/16 ืกื™ื‘ื™ื•ืช ืขื‘ื•ืจ
    Win32/64/CE, Linux, Mac OS X/iOS,
    ืื ื“ืจื•ืื™ื“, FreeBSD, OS/2, Game Boy
    Advance, Nintendo NDS ื•-DOS;
    ืชื•ืื ืกืžื ื˜ื™ ืขื...
    ื”ื•ืจื“ ื‘ื—ื™ื ื ืืช ืžื”ื“ืจ ืคืกืงืœ
  • 2
    ืžื™ื“ืข ืขืœ Canon EOS DIGITAL
    ืžื™ื“ืข ืขืœ Canon EOS DIGITAL
    ืœืงื ื•ืŸ ืื™ืŸ ืกืคื™ืจืช ืชืจื™ืกื™ื
    ื›ืœื•ืœ ื‘ืžื™ื“ืข EXIF โ€‹โ€‹ืฉืœ an
    ืงื•ื‘ืฅ ืชืžื•ื ื”, ื‘ื ื™ื’ื•ื“ ืœ-Nikon ื•
    ืคื ื˜ืงืก. ืื™ืŸ ืงื ื•ืŸ ืจืฉืžื™ ืžื‘ื•ืกืก
    ื™ื™ืฉื•ื ...
    ื”ื•ืจื“ ืžื™ื“ืข ืขืœ Canon EOS DIGITAL
  • 3
    rEFind
    rEFind
    rEFInd ื”ื•ื ืžื–ืœื’ ืฉืœ ืืชื—ื•ืœ rEFit
    ืžื ื”ืœ. ื›ืžื• rEFit, rEFind ื™ื›ื•ืœ
    ื–ื™ื”ื•ื™ ืื•ื˜ื•ืžื˜ื™ ืฉืœ ืืชื—ื•ืœ ื”-EFI ื”ืžื•ืชืงืŸ ืฉืœืš
    ืžืขืžื™ืกื™ื ื•ื”ื•ื ืžืฆื™ื’ GUI ื™ืคื”
    ืชืคืจื™ื˜ ืฉืœ ืืคืฉืจื•ืช ืืชื—ื•ืœ...
    ื”ื•ืจื“ ืืช rEFInd
  • 4
    ExpressLuke GSI
    ExpressLuke GSI
    ื“ืฃ ื”ื”ื•ืจื“ื” ื”ื–ื” ืฉืœ SourceForge ื”ื™ื” ืืžื•ืจ
    ืชืŸ ืœืžืฉืชืžืฉื™ื ืœื”ื•ืจื™ื“ ืืช ื”ืžืงื•ืจ ืฉืœื™ ื‘ื ื•ื™
    GSIs, ื”ืžื‘ื•ืกืกื™ื ืขืœ ื ื”ื“ืจ ืฉืœ Phhusson
    ืขึฒื‘ื•ึนื“ึธื”. ืื ื™ ื‘ื•ื ื” ื’ื Android Pie ื•ื’ื
    ืื ื“ืจื•ืื™ื“ 1...
    ื”ื•ืจื“ ืืช ExpressLuke GSI
  • 5
    ื’ืœื’ืœ ืžื•ื–ื™ืงื”
    ื’ืœื’ืœ ืžื•ื–ื™ืงื”
    Music Caster ื”ื•ื ื ื’ืŸ ืžื•ื–ื™ืงื” ืžื’ืฉ
    ืฉืžืืคืฉืจ ืœืš ืœื”ื˜ื™ืœ ืืช ื”ืžื•ื–ื™ืงื” ื”ืžืงื•ืžื™ืช ืฉืœืš ืœ-a
    ืžื›ืฉื™ืจ Google Cast. ื‘ืจื™ืฆื” ื”ืจืืฉื•ื ื”,
    ืชืฆื˜ืจืš ืœืœื—ื•ืฅ ืขืœ ื”ื—ืฅ ืฉืœืš
    ื˜ืืก...
    ื”ื•ืจื“ ืืช Music Caster
  • 6
    PyQt
    PyQt
    PyQt ื”ื•ื ื”-Python bindings ืขื‘ื•ืจ
    ื”-Qt ื—ื•ืฆื” ืคืœื˜ืคื•ืจืžื•ืช ืฉืœ Digia
    ืžืกื’ืจืช ืคื™ืชื•ื— ืืคืœื™ืงืฆื™ื•ืช. ื–ื”
    ืชื•ืžืš ื‘-Python v2 ื•-v3 ื•-Qt v4 ื•
    Qt v5. PyQt ืžื•ืขื™ืœ...
    ื”ื•ืจื“ ืืช PyQt
  • ืขื•ื“ ยป

ืคืงื•ื“ื•ืช ืœื™ื ื•ืงืก

Ad