Name

smbstatus — 現在の Samba の接続を報告

Synopsis

smbstatus [-P] [-b] [-d <debug level>] [-v] [-L] [-B] [-p] [-S] [-s <configuration file>] [-u <username>]

説明

このツールは Samba(7)システムの一部である。

smbstatus は現在の Samba への接続を 表示するだけの非常に単純なプログラムである。

オプション

-P|--profile

Samba が profiling オプション付きでコンパイルされた場合に、profile された共有メモリの内容だけを出力する。

-b|--brief

簡単な出力を表示する。

-d|--debuglevel=level

level is an integer from 0 to 10. The default value if this parameter is not specified is 0.

The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.

Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.

Note that specifying this parameter here will override the parameter in the smb.conf file.

-V|--version

Prints the program version number.

-s|--configfile <configuration file>

The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See smb.conf for more information. The default configuration file name is determined at compile time.

-l|--log-basename=logdirectory

Base directory name for log/debug files. The extension ".progname" will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.

-v|--verbose

詳細な出力を表示する。

-L|--locks

ロックのリストだけを表示する。

-B|--byterange

バイト範囲のロック(byte range lock)を含めて表示する

-p|--processes

smbd(8) のプロセスの一覧を表示し、終了する。 スクリプト作成時に有用である。

-S|--shares

共有の一覧だけを表示する。 (訳注: "共有の" は "接続の" としたほうが正しい。)

-h|--help

Print a summary of command line options.

-u|--user=<username>

username で 指定されたユーザに関する情報だけを表示する。