Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • RED HAT FEATURE ==> /proc/<PID>/comm ON TOP OF WHICH RELEASE HAS BEEN DELIVERED

    Posted on

    Hi All,

    We need to identify on top of which exact red-hat version has been delivered the "proc//comm" feature .

    It's seems delivered since 6.5 (general) as per link extract below indicated :

    http://www.naulinux.ru/static/Docs/SLCE/6.5/Docs/SL/Technical.Notes.65.html

    proc//comm and /proc//task//comm files
    These files provide a method to access a tasks comm value. It also allows for a task to set its own or one of its thread siblings comm value. The comm value is limited in size compared to the cmdline value, so writing anything longer then the kernel's TASK_COMM_LEN macro (currently 16 chars) will result in a truncated comm value.

    In our lab we have the RED-HAT :

    Linux version 2.6.32-431.el6.x86_64 (mockbuild@x86-023.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Sun Nov 10 22:19:54 EST 2013

    In Customer env :

    Linux version 2.6.32-358.18.1.el6.x86_64 (mockbuild@x86-003.build.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Fri Aug 2 17:04:38 EDT 2013

    In Customer environment launching the command “find / -name "comm" -print 2>/dev/null” the output is "empty" (mean it's seems the feature is not present) :

    [root@tl03 ~]# find / -name "comm" -print 2>/dev/null
    /usr/bin/comm
    /app/software/comm
    [root@tl03 ~]#

    Instead in Lab environment :

    ..............
    .....................
    /proc/16391/task/16405/comm
    /proc/16391/comm
    /proc/18138/task/18138/comm
    /proc/18138/comm
    /proc/18141/task/18141/comm
    /proc/18141/comm
    /proc/18142/task/18142/comm
    /proc/18142/comm
    /proc/18143/task/18143/comm
    /proc/18143/comm
    /proc/18145/task/18145/comm
    /proc/18145/comm
    /proc/18231/task/18231/comm
    /proc/18231/comm
    /proc/18232/task/18232/comm
    /proc/18232/comm
    /proc/18233/task/18233/comm
    /proc/18233/comm
    /proc/18237/task/18237/comm
    /proc/18237/comm
    /proc/18238/task/18238/comm
    .....................
    .........

    To make our application correctly work we need of “/proc//comm” feature .

    It’s possible understood if Linux up-grade will generate the “comm” file

    Thanx and Best Regards

    Alessandro.

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat