Summary: | Process name is truncated to 15 characters | ||
---|---|---|---|
Product: | [Unmaintained] ksysguard | Reporter: | Mad Fish <MadFishTheOne> |
Component: | ksysguard | Assignee: | KSysGuard Developers <ksysguard-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.7.0 | |
Sentry Crash Report: | |||
Attachments: |
Screenshot of the problem
Fix for GUI problem. Fix for ksysguardd. |
It is the kernel that truncates it. ksysguard tries to deduce the untruncated name from the command line. Does it work in the gnome- system-monitor ? Or in top or ps? John It is in fact working in gnome-system-monitor. /proc/*/stat contains truncated name, but /proc/*/cmdline has the full name. So, for some reason, it fails to deduce the name from the command line. Could you paste what stat and cmdline say please? On 3 July 2011 23:03, Mad Fish <MadFishTheOne@gmail.com> wrote: > https://bugs.kde.org/show_bug.cgi?id=276958 > > > > > > --- Comment #2 from Mad Fish <MadFishTheOne gmail com> 2011-07-03 22:03:10 --- > It is in fact working in gnome-system-monitor. /proc/*/stat contains truncated > name, but /proc/*/cmdline has the full name. So, for some reason, it fails to > deduce the name from the command line. > > -- > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are watching the assignee of the bug. > For process "gnome-system-monitor": stat: 21070 (gnome-system-mo) S 1 21069 21069 0 -1 4202496 12447 0 0 0 1001 321 0 0 1 0 3 0 3537005 409067520 6214 18446744073709551615 4194304 4421528 140735894906672 140735894905792 140278792727427 0 0 4102 0 18446744073709551615 0 0 17 1 0 0 0 0 0 cmdline: /usr/bin/gnome-system-monitor\0 \0 is a zero character. Created attachment 61587 [details]
Fix for GUI problem.
Created attachment 61588 [details]
Fix for ksysguardd.
Apparently, it was not necessary, but the work has been done. :)
Looks good. Feel free to merge if you can. How do I do that? I don't have a developer account, I'm just some random guy from the internets. :) Commited to 4.7 and master |
Created attachment 61555 [details] Screenshot of the problem Version: unspecified (using KDE 4.6.3) OS: Linux See attached screenshot. Reproducible: Always Steps to Reproduce: Open "System monitor" application and observe process list. Expected Results: Name should contain full, non-truncated, name. OS: Linux (x86_64) release 2.6.39-ck Compiler: gcc