Jan Görig
f43de0df19
Added 'vm_swap' variable nullifying.
...
Thanks to KOSAKI Motohiro.
Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=532668
2011-06-02 12:22:31 +02:00
Jan Görig
034612c480
Fixed per-process swap information in top and related cleanup.
...
Thanks to KOSAKI Motohiro and Jim.
Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=532668
2011-06-02 12:15:14 +02:00
Jan Görig
c3b7310149
Merge branch 'newtop'
2011-05-25 11:05:04 +02:00
Jan Görig
8621387c77
Updated ps to use new cgroup interface
2011-05-05 12:20:30 +02:00
Jan Görig
2a2fa20656
Fixed initialization and thread problems in top - changed by Jim
2011-04-18 16:06:54 +02:00
Jan Görig
ee5fd1dce1
top.1 manual page fixes
...
Changes from Debian and fixed escaping errors.
Author: Craig Small <csmall@debian.org >
2011-02-24 15:06:13 +01:00
Jan Görig
24a97a22d2
ps.1 manual page fixes
...
Merged changes from Debian and RHEL. Some minor fixes added.
Authors: Craig Small <csmall@debian.org >, Jari Aalto <jari.aalto@cante.net >,
David Prévot <david@tilapin.org >, Daniel Novotny
2011-02-24 14:23:31 +01:00
Jan Görig
039e2bb7df
Manual pages fixes
...
Taken from Debian with small changes added
Authors: Craig Small <csmall@debian.org >, Brendan O'Dea <bod@debian.org >
2011-02-23 09:17:54 +01:00
Jan Görig
887c1b95c5
Removed .cvsignore files
2011-02-10 13:40:29 +01:00
Jan Görig
e47f54c569
Merged changes from procps-3.2.8 not present in CVS
2011-02-10 13:40:29 +01:00
Jan Görig
59679bc2a2
Rewritten cgroup support and suppressed root cgroup
...
Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=593267
Signed-off-by: Jan Görig <jgorig@redhat.com >
2011-02-10 13:40:29 +01:00
Jan Görig
8fde4af11d
Call libproc constructors in strict order
...
Having one constructor depend on another means if the order
is reversed you get a different result.
Patched based on idea by Tom Evans.
Added new code to old_Hertz_hack by Werner Fink <werner@suse.de >
Bug-Debian: http://bugs.debian.org/460331
Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=632236
Reviewed-by: Jan Görig <jgorig@redhat.com >
2011-01-19 12:50:26 +01:00
Jan Görig
94866c88bf
Fixed build with make 3.82
...
Bug-Debian: http://bugs.debian.org/603759
Signed-off-by: Jan Görig <jgorig@redhat.com >
2011-01-18 16:10:32 +01:00
Jan Görig
4d3c19af52
Read the system boot time from /proc instead of computing
...
Read the time of system boot from /proc/stat (entry: btime) instead
of computing it as the difference between the current time and the
uptime. This is the only way to get a consistent result which won't
possibly change from one run to the next.
The problems with the original code were:
* Both the current time and the uptime are rounded down to the second,
but the system doesn't boot on an integer second value so they do not
tick at the same moment. Thus, the rounding errors can cause a one
second difference from one run to the next.
* We can't read the uptime and the current time at the exact same moment
anyway, so the time difference we compute is bound to be inaccurate.
Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=222251
Author: Jean Delvare <jdelvare@suse.de >
Reviewed-by: Craig Small <csmall@debian.org >
2010-12-16 10:30:39 +01:00
Jan Görig
9e6370a886
clear screen after fields selection
...
Author: Tomas Smetana <tsmetana@redhat.com >
Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=440694
2010-12-16 10:25:36 +01:00
Jan Görig
356a1f9a37
fix the problem with truncated output lines to 2048 characters
...
Author: Karel Zak <kzak@redhat.com > and Olivier Fourdan <ofourdan@redhat.com >
Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=134516
Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=487700
2010-12-16 10:24:44 +01:00
Jan Görig
af25453d9a
ps displays cgroup
...
Author: Swann Perarnau <swann.perarnau@imag.fr >
Bug-Debian: http://bugs.debian.org/469669
Reviewed-by: Craig Small <csmall@debian.org >
2010-12-16 10:23:49 +01:00
Jan Görig
0232430bef
Fix highlighting problem in top
...
Author: Paolo Pantaleo <paolopantaleo@gmail.com >
Bug-Debian: http://bugs.debian.org/351065
2010-12-16 10:21:47 +01:00
Jan Görig
8f466aa21d
Headers for disk and slab info and getopt replacement
...
Author: Liu Xing <liuxing@cn.fujitsu.com >
Author: Michael Tokarev <mjt@corpit.ru >
Bug-Debian: http://bugs.debian.org/436805
Bug-Debian: http://bugs.debian.org/408088
2010-12-16 10:19:14 +01:00
Jan Görig
63b6a8fcbf
Make w make better guesses for user process
...
Based on suggestion by Herbert Xu <herbert@gondor.apana.org.au >
Bug-Debian: http://bugs.debian.org/187808
Author: Craig Small <csmall@debian.org >
2010-12-16 10:15:35 +01:00