此内容没有您所选择的语言版本。

4.11. Displaying Extended GFS Information and Statistics


You can use the gfs_tool command to gather a variety of details about GFS. This section describes typical use of the gfs_tool command for displaying statistics, space usage, and extended status.

Usage

Displaying Statistics
gfs_tool counters MountPoint
The counters flag displays statistics about a file system. If -c is used, the gfs_tool command continues to run, displaying statistics once per second.
Displaying Space Usage
gfs_tool df MountPoint
The df flag displays a space-usage summary of a given file system. The information is more detailed than a standard df.
Displaying Extended Status
gfs_tool stat File
The stat flag displays extended status information about a file.
MountPoint
Specifies the file system to which the action applies.
File
Specifies the file from which to get information.
The gfs_tool command provides additional action flags (options) not listed in this section. For more information about other gfs_tool flags, refer to the gfs_tool man page.

Examples

This example reports extended file system usage about file system /gfs.
gfs_tool df /gfs
This example reports extended file status about file /gfs/datafile.
gfs_tool stat /gfs/datafile
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.