Appendix smbstatusコマンド
Samba3のsmbstatusコマンド
[root@rocky9-samba31 ~]#
[root@rocky9-samba31 ~]# smbd --version
Version 3.6.25
[root@rocky9-samba31 ~]#
[root@rocky9-samba31 ~]# smbcontrol --usage
Usage: smbcontrol [-?] [-?V] [-?|--help] [--usage] [-t|--timeout TIMEOUT]
[-d|--debuglevel DEBUGLEVEL] [-s|--configfile CONFIGFILE]
[-l|--log-basename LOGFILEBASE] [-V|--version] [--option=name=value]
[OPTION...] <destination> <message-type> <parameters>
[root@rocky9-samba31 ~]#
[root@rocky9-samba31 ~]# smbstatus --help
Usage: [OPTION...]
-p, --processes Show processes only
-v, --verbose Be verbose
-L, --locks Show locks only
-S, --shares Show shares only
-u, --user=STRING Switch to user
-b, --brief Be brief
-P, --profile Do profiling
-R, --profile-rates Show call rates
-B, --byterange Include byte range locks
-n, --numeric Numeric uid/gid
Help options:
-?, --help Show this help message
--usage Display brief usage message
Common samba options:
-d, --debuglevel=DEBUGLEVEL Set debug level
-s, --configfile=CONFIGFILE Use alternate configuration file
-l, --log-basename=LOGFILEBASE Base name for log files
-V, --version Print version
--option=name=value Set smb.conf option from command line
[root@rocky9-samba31 ~]#
Samba4のsmbstatusコマンド
[root@rocky9-samba41 ~]#
[root@rocky9-samba41 ~]# smbd --version
Version 4.17.5
[root@rocky9-samba41 ~]#
[root@rocky9-samba41 ~]# smbstatus --usage
使い方: [-?pvLSNbPRBnjfV] [-?|--help] [--usage] [-p|--processes] [-v|--verbose] [-L|--locks]
[-S|--shares] [-N|--notify] [-u|--user=文字列] [-b|--brief] [-P|--profile]
[-R|--profile-rates] [-B|--byterange] [-n|--numeric] [-j|--json] [-f|--fast]
[--resolve-uids] [-d|--debuglevel=DEBUGLEVEL] [--debug-stdout]
[-s|--configfile=CONFIGFILE] [--option=name=value] [-l|--log-basename=LOGFILEBASE]
[--leak-report] [--leak-report-full] [-V|--version]
[root@rocky9-samba41 ~]#
[root@rocky9-samba41 ~]# smbstatus --help
使い方: [オプション...]
-p, --processes Show processes only
-v, --verbose Be verbose
-L, --locks Show locks only
-S, --shares Show shares only
-N, --notify Show notifies
-u, --user=文字列 Switch to user
-b, --brief Be brief
-P, --profile Do profiling
-R, --profile-rates Show call rates
-B, --byterange Include byte range locks
-n, --numeric Numeric uid/gid
-j, --json JSON output
-f, --fast Skip checks if processes still exist
--resolve-uids Try to resolve UIDs to usernames
ヘルプオプション:
-?, --help このヘルプメッセージを表示します
--usage 使い方の概要を表示します
Common Samba options:
-d, --debuglevel=DEBUGLEVEL Set debug level
--debug-stdout Send debug output to standard output
-s, --configfile=CONFIGFILE Use alternative configuration file
--option=name=value Set smb.conf option from command line
-l, --log-basename=LOGFILEBASE Basename for log/debug files
--leak-report enable talloc leak reporting on exit
--leak-report-full enable full talloc leak reporting on exit
Version options:
-V, --version Print version
[root@rocky9-samba41 ~]#
この記事が気に入ったらサポートをしてみませんか?