GFLSOF(1)
π GFLSOF π
okay bestie, so gflsof is the manual page for the gflsof command in the Gfarm fam, and it's literally just "list currently opened Gfarm files" β¨ iykyk.
β¨ NAME β¨
gflsof β list currently opened Gfarm files ποΈπ
π 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
πΈ DESCRIPTION πΈ
So if you don't pass -C and you don't pass -G, it spills all the tea about every Gfarm file descriptor. π«β¨ Here's the field-by-field breakdown, because the way this thing prints columns is honestly iconic:
- the USER field β the username
- the GPID field β the Gfarm process ID
- the FD field β the Gfarm file descriptor number. and listen, the character right after that descriptor number is doing a lot of work:
- if it's
r, it means read-only open π - if it's
w, it means write-only open βοΈ - if it's
u, it means read-write open π₯
- if it's
- the TYPE fields β the type of the inode, where
REGis a file,DIRis a directory, andLNKis a symbolic link π¦ - the INODE field β the inode number
- the GEN field β 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 β hostname and port number of the client which is connecting to the
gfmd - the GFSD field β hostname and port number of the
gfsdwhich is connecting to thegfmd
if you pass the -C option, this command shows only hostnames of clients which are opening descriptors π»β¨
and if you pass the -G option, this command shows only hostnames of gfsd which are opening file replicas ποΈβ¨
π OPTIONS π
-Aβ display information about all users. lowkey exclusive: only thegfarmadmgroup is allowed to use this option π-Wβ limit subject descriptors to which are either write-only opened or read-write opened βοΈ-P pathβ specify a pathname or a Gfarm URL to identify the metadata server which will be accessed by this command. if you don't specify it,"."is used as the default value π-D domainname-of-gfsdβ limit subject descriptors to whichgfsdis currently opening a replica and thegfsdbelongs to the specified domain π-U domainname-of-user-hostβ limit subject descriptors to which client host belongs to the specified domain π-u usernameβ limit subject descriptors to which is opened by the specified user. only thegfarmadmgroup is allowed to use this option π-?β displays a list of command options π
β EXAMPLES β
Example 1. list file descriptors which are opened by myself πͺ
gflsof
Example 2. list all users' file descriptors π₯
gflsof -A
Example 3. list filesystem nodes which are currently opening file replicas in writable mode βοΈπ₯
gflsof -AWG
Example 4. list descriptors that corresponding gfsd processes are opening file replicas in writable mode ποΈ
gflsof -AW -D ''
Example 5. list client hosts which belong to example.org domain and user john is opening descriptors on the hosts ππ»
gflsof -U example.org -u john -C
ngl bestie, that's the whole vibe. go forth and gflsof responsibly π«Ά
k byeeee π this was the Gfarm manual page, dated 27 Sep 2016 β periodt β¨π
π¦ where this page comes from
- debian bookworm: gfarm-client 2.7.20+dfsg-1+b2 Β· BSD-like
- debian trixie: gfarm-client 2.7.20+dfsg-1.2+b1 Β· BSD-like
- ubuntu noble: gfarm-client 2.7.20+dfsg-1.1ubuntu1 Β· BSD-like
- ubuntu questing: gfarm-client 2.7.20+dfsg-1.2
- ubuntu resolute: gfarm-client 2.7.20+dfsg-1.3 Β· BSD-like
- ubuntu stonking: gfarm-client 2.7.20+dfsg-1.3build1 Β· BSD-like
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms