logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gflsof - list currently opened Gfarm files

Description

       Displays information about each Gfarm file descriptors, if neither -C nor -G is specified. The USER field
       shows username, the GPID field shows Gfarm process ID, the FD field shows Gfarm file descriptor number,
       if the character just after the descriptor number is 'r', it means read-only open, if the character is
       'w', it means write-only open, and if the character is 'u', it means read-write open, the TYPE fields
       shows the type of the inode (REG is a file, DIR is a directory and LNK is a symbolic link), the INODE
       field shows the inode number, the GEN field shows the generation number of the inode, the SIZE/OFF shows
       the seek-offset value if the inode is a directory, or the file size if the inode is a file, the CLIENT
       field shows hostname and port number of the client which is connecting to the gfmd, the GFSD field shows
       hostname and port number of the gfsd which is connecting to the gfmd.

       If -C option is specified, this command shows only hostnames of clients which are opening descriptors.

       If -G option is specified, this command shows only hostnames of gfsd which are opening file replicas.

Examples

Example1.listfiledescriptorswhichareopenedbymyself

           gflsof

       Example2.listallusers'filedescriptors

           gflsof -A

       Example3.listfilesystemnodeswhicharecurrentlyopeningfilereplicasinwritablemode

           gflsof -AWG

       Example4.listdescriptorsthatcorrespondinggfsdprocessesareopeningfilereplicasinwritablemode

           gflsof -AW -D ''

       Example5.listclienthostswhichbelongtoexample.orgdomainanduserjohnisopeningdescriptorsonthehosts

           gflsof -U example.org -u john -C

Gfarm                                              27 Sep 2016                                         GFLSOF(1)

Name

       gflsof - list currently opened Gfarm files

Options

-A
           Display information about all users. Only gfarmadm group is allowed to use this option.

       -W
           Limit subject descriptors to which are either write-only opened or read-write opened.

       -Ppath
           Specify a pathname or a Gfarm URL to identify metadata server which will be accessed by this command.
           If not specified, "." is used as the default value.

       -Ddomainname-of-gfsd
           Limit subject descriptors to which gfsd is currently opening a replica and the gfsd belongs to the
           specified domain.

       -Udomainname-of-user-host
           Limit subject descriptors to which client host belongs to the specified domain.

       -uusername
           Limit subject descriptors to which is opened by the specified user. Only gfarmadm group is allowed to
           use this option.

       -?
           Displays a list of command options.

Synopsis

gflsof [-AW] [-P path] [-D domainname-of-gfsd] [-U domainname-of-user-host] [-u username]

       gflsof [-AW] [-P path] [-D domainname-of-gfsd] [-U domainname-of-user-host] [-u username] -C

       gflsof [-AW] [-P path] [-D domainname-of-gfsd] [-U domainname-of-user-host] [-u username] -G

See Also