GETINO(1)
โจ GETINO(1) โจ
okay so bestie, buckle up, because this is getino from the GETINO(1) manual page and it's literally the cutest little process-identifier you've ever met ๐
๐ธ NAME ๐ธ
getino โ print the unique inode number associated to a process file descriptor or namespace for a given PID
๐ SYNOPSIS ๐
getino
[--pidfs|--cgroupns|--ipcns|--netns|--mntns|--pidns|--timens|--userns|--utsns]
[--print-pid|-p] PID[:inode]...
getino [--print-pid|-p] PID[:inode]...
getino PID[:inode]...
๐ฆ DESCRIPTION ๐ฆ
So like. getino is a simple command โ and when I say simple I mean it does one thing and it eats every time ๐
. It prints the inode numbers associated with the process file descriptor (pidfd) or namespace for all the PIDs you pass to it as arguments.
Here's the part that's actually iconic: the kernel guarantees that the inode number associated with a process's file descriptor is exempt from reuse during the current boot cycle. Translation? A process can be uniquely identified by its PID plus the inode number โ conveniently in the format 'PID:inode'. As an example (no cap), this enables race-free signalling of processes with kill(1), which accepts the aforementioned PID format. obsessed.
And the inode numbers associated with a namespace for a given process are, like, essentially namespace IDs โ identical to the inode number reported by /proc/pid/ns/nstype. See namespaces(7) for more details, bestie ๐ซถ
๐ OPTIONS ๐
-p,--print-pidโ Print both the PID and pidfd/namespace inode, separated by a colon':', in respective order. This format convention can be used to address processes in a race-free manner, e.g. for signalling with thekill(1)command. main character energy fr fr ๐--pidfsโ Print the unique inode number for a process's pidfs file descriptor.--cgroupnsโ Print the unique cgroup namespace inode number. Seecgroup_namespaces(7)--ipcnsโ Print the unique ipc namespace inode number. Seeipc_namespaces(7)--netnsโ Print the unique network namespace inode number. Seenetwork_namespaces(7)--mntnsโ Print the unique mount namespace inode number. Seemount_namespaces(7)--pidnsโ Print the unique pid namespace inode number. Seepid_namespaces(7)--timensโ Print the unique time namespace inode number. Seetime_namespaces(7)--usernsโ Print the unique user namespace inode number. Seeuser_namespaces(7)--utsnsโ Print the unique uts namespace inode number. Seeuts_namespaces(7)-h,--helpโ Display help text and exit. (bestie behaviour honestly ๐)-V,--versionโ Display version and exit.
โญ EXIT STATUS โญ
getino has the following exit status values:
0โ success ๐1โ unspecified failure ๐ญ
๐ NOTES ๐
getino requires support for the pidfs pseudo-filesystem (introduced in Linux version 6.9) to retrieve a valid inode for a process file descriptor. So if your kernel is giving ancient, it's not gonna slay here โ that's just the vibe check failing, not you ๐ธ
๐ง AUTHORS ๐ง
Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
๐ SEE ALSO ๐
kill(1) pidfd_open(2) namespaces(7)
๐ REPORTING BUGS ๐
For bug reports, use the issue tracker <https://github.com/util-linux/util-linux/issues>.
๐ AVAILABILITY ๐
The getino command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.
and that's the whole page bestie โ util-linux 2.42.4, dated 2026-09-21, GETINO(1), and yes this manual page ATE ๐
โจ periodt.
๐ฆ where this page comes from
- arch rolling: util-linux 2.42.4-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ISC AND LGPL-2.1-or-later AND LicenseRef-PublicDomain
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms