[Touch-packages] [Bug 295876] Re: top and ps truncate command after 15 chars

2018-03-05 Thread PabloAB
The reason is in kernel TASK_COMM_LEN (check man proc) constant fixed to 16 (name + \0). A guy called [Luben Tuikov][0] proposed to increase this back on 2006 ([last lines][1] of sys.c). Even if this is too difficult because of mysterous complicated reasons pgrep should search on the complete name,

[Touch-packages] [Bug 295876] Re: top and ps truncate command after 15 chars

2016-03-19 Thread Dominique Poulain
Confirmed on latest Xenial for top, `ps -e` and pgrep: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu Xenial Xerus (development branch) Release:16.04 Codename: xenial $ python3 -c 'print(len("chromium-browser"))' 16 $ pgrep chromium-bro