GETINO(1)

๐Ÿ“ฆ
version 2.42.4 ยท 4 versions
, in arch rolling

โœจ 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 the kill(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. See cgroup_namespaces(7)
  • --ipcns โ€” Print the unique ipc namespace inode number. See ipc_namespaces(7)
  • --netns โ€” Print the unique network namespace inode number. See network_namespaces(7)
  • --mntns โ€” Print the unique mount namespace inode number. See mount_namespaces(7)
  • --pidns โ€” Print the unique pid namespace inode number. See pid_namespaces(7)
  • --timens โ€” Print the unique time namespace inode number. See time_namespaces(7)
  • --userns โ€” Print the unique user namespace inode number. See user_namespaces(7)
  • --utsns โ€” Print the unique uts namespace inode number. See uts_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:

  1. 0 โ€” success ๐ŸŽ‰
  2. 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