mirror of https://github.com/xzeldon/htop.git
Ensure maximum width for CGROUP column
This commit is contained in:
parent
1284ab4835
commit
1c3c149d20
|
@ -246,7 +246,7 @@ static void LinuxProcess_writeField(const Process* this, RichString* str, Proces
|
|||
#ifdef HAVE_VSERVER
|
||||
case VXID: xSnprintf(buffer, n, "%5u ", lp->vxid); break;
|
||||
#endif
|
||||
case CGROUP: xSnprintf(buffer, n, "%-10s ", lp->cgroup ? lp->cgroup : ""); break;
|
||||
case CGROUP: xSnprintf(buffer, n, "%-35.35s ", lp->cgroup ? lp->cgroup : "N/A"); break;
|
||||
case OOM: xSnprintf(buffer, n, "%4u ", lp->oom); break;
|
||||
case IO_PRIORITY: {
|
||||
int klass = IOPriority_class(lp->ioPriority);
|
||||
|
|
Loading…
Reference in New Issue