Questo contenuto non è disponibile nella lingua selezionata.
4.13. 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 space usage, statistics, and extended status.
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.
4.13.1. Displaying GFS Space Usage Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
You can use the
df
flag of the gfs_tool
to display a space-usage summary of a given file system. The information is more detailed than a standard df
.
Usage Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
gfs_tool df MountPoint
gfs_tool df MountPoint
MountPoint
- Specifies the file system to which the action applies.
Example Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
This example reports extended file system usage about file system
/mnt/gfs
.
4.13.2. Displaying GFS Counters Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
You can use the
counters
flag of the gfs_tool
to display statistics about a file system. If the -c
option is used, the gfs_tool
command continues to run, displaying statistics once per second.
Note
The majority of the GFS counters reflect the internal operation of the GFS file system and are for development purposes only.
The
gfs_tool counters
command displays the following statistics.
locks
- The number of
gfs_glock
structures that currently exist in gfs. locks held
- The number of existing
gfs_glock
structures that are not in theUNLOCKED
state. freeze count
- A freeze count greater than 0 means the file system is frozen. A freeze count of 0 means the file system is not frozen. Each
gfs_tool freeze
command increments this count. Eachgfs_tool unfreeze
command decrements this count. incore inodes
- The number of
gfs_inode
structures that currently exist in gfs. metadata buffers
- The number of
gfs_bufdata
structures that currently exist in gfs. unlinked inodes
- The
gfs_inoded
daemon links deleted inodes to a global list and cleans them up every 15 seconds (a period that is tunable). This number is the list length. It is related to the number ofgfs_unlinked
structures currently in gfs. quota IDs
- The number of
gfs_quota_data
structures that currently exist in gfs. incore log buffers
- The number of buffers in in-memory journal log (incore log), before they are flushed to disk.
log space used
- The the percentage of journal space used.
meta header cache entries
- The number of
gfs_meta_header_cache
structures that currently exist in gfs. glock dependencies
- The number of
gfs_depend structures
that currently exist in gfs. glocks on reclaim list
- The number of glocks on the reclaim list.
log wraps
- The number of times journal has wrapped around.
outstanding LM calls
- obsolete
outstanding BIO calls
- obsolete
fh2dentry misses
- The number of times an NFS call could not find a
dentry
structure in the cache. glocks reclaimed
- The number of glocks which have been reclaimed.
glock dq calls
- The number of glocks released since the file system was mounted.
glock prefetch calls
- The number of glock prefetch calls.
lm_lock calls
- The number of times the lock manager has been contacted to obtain a lock.
lm_unlock calls
- The number of times the lock manager has been contacted to release a lock.
lm callbacks
- The number of times the lock manager has been contacted to change a lock state.
address operations
- The number of address space call operations (
readpage
,writepage
,directIO
,prepare_write
, andcommit_write
) dentry operations
- The number of times a seek operation has been performed on the vfs
dentry
structure. export operations
- The number of times a seek operation has been performed on the nfs
dentry
structure. file operations
- The number of file operations that have been invoked (read, write, seek, etc).
inode operations
- The number of inode operations that have been invoked (create, delete, symlink, etc.).
super operations
- The number of super block operations.
vm operations
- The number of times the
mmap
function has been called. mmap call count block I/O reads
- obsolete
block I/O writes
- obsolete
Usage Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
gfs_tool counters MountPoint
gfs_tool counters MountPoint
MountPoint
- Specifies the file system to which the action applies.
Example Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
This example reports statistics about the file system mounted at
/mnt/gfs
.
4.13.3. Displaying Extended Status Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
You can use the
stat
flag of the gfs_tool
to display extended status information about a GFS file.
Note
The information that the
gfs_tool stat
command displays reflects internal file system information. This information is intended for development purposes only.
Usage Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
gfs_tool stat File
gfs_tool stat File
File
- Specifies the file from which to get information.
Example Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
This example reports extended file status about file
/gfs/datafile
.