Fixed nice value.
* procuid.c: Fixed nice value.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
1999-05-08 Drazen Kacar <dave@srce.hr>
|
||||||
|
|
||||||
|
* procuid.c: Fixed nice value.
|
||||||
|
|
||||||
1999-05-08 Martin Baulig <martin@home-of-linux.org>
|
1999-05-08 Martin Baulig <martin@home-of-linux.org>
|
||||||
|
|
||||||
Use the setgid server for IPC Limits.
|
Use the setgid server for IPC Limits.
|
||||||
|
@@ -73,7 +73,7 @@ glibtop_get_proc_uid_s (glibtop *server, glibtop_proc_uid *buf, pid_t pid)
|
|||||||
buf->tty = psinfo.pr_ttydev;
|
buf->tty = psinfo.pr_ttydev;
|
||||||
|
|
||||||
buf->priority = psinfo.pr_lwp.pr_pri;
|
buf->priority = psinfo.pr_lwp.pr_pri;
|
||||||
buf->nice = psinfo.pr_lwp.pr_nice;
|
buf->nice = psinfo.pr_lwp.pr_nice - NZERO;
|
||||||
|
|
||||||
buf->flags = _glibtop_sysdeps_proc_uid_psinfo;
|
buf->flags = _glibtop_sysdeps_proc_uid_psinfo;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user