1 .\" Copyright (C) 1994, 1995, Daniel Quinlan <quinlan@yggdrasil.com>
2 .\" Copyright (C) 2002-2008, 2017, Michael Kerrisk <mtk.manpages@gmail.com>
3 .\" Copyright (C) 2023, Alejandro Colomar <alx@kernel.org>
5 .\" SPDX-License-Identifier: GPL-3.0-or-later
7 .TH proc_pid_comm 5 (date) "Linux man-pages (unreleased)"
9 /proc/pid/comm \- command name
12 .IR /proc/ pid /comm " (since Linux 2.6.33)"
13 .\" commit 4614a696bd1c3a9af3a08f0e5874830a85b889d4
14 This file exposes the process's
16 value\[em]that is, the command name associated with the process.
17 Different threads in the same process may have different
19 values, accessible via
20 .IR /proc/ pid /task/ tid /comm .
21 A thread may modify its
23 value, or that of any of other thread in the same thread group (see
28 by writing to the file
29 .IR /proc/self/task/ tid /comm .
32 (16) characters (including the terminating null byte) are silently truncated.
34 This file provides a superset of the
39 operations, and is employed by
40 .BR pthread_setname_np (3)
41 when used to rename threads other than the caller.
42 The value in this file is used for the
45 .IR /proc/sys/kernel/core_pattern ;