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
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
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
albert
b0210803bf
update /dev/tty* info to May 2009 devices.txt
2009-05-03 06:39:33 +00:00
albert
7dd414ac1b
new /proc/meminfo fields
2008-03-24 04:41:26 +00:00
albert
94b2a2e910
SCHED_* stuff up to #9
2007-05-05 18:42:16 +00:00
albert
8dcea80764
ps: man page less ambiguous
2006-12-17 18:47:18 +00:00
albert
9049ffef32
ps man page
2006-09-10 06:25:56 +00:00
albert
5b13bb93c7
new foreign-OS research noted
2006-06-18 20:55:02 +00:00
albert
20fba946af
SCHED_BATCH
2006-01-22 08:00:03 +00:00
albert
3ced977cf2
turn off new SE Linux code for now
2005-10-30 03:44:26 +00:00
albert
f642672fcc
spelling fixes #334684
2005-10-30 03:02:48 +00:00
albert
ca1a277318
man page more detailed #334682
2005-10-30 02:52:46 +00:00
albert
8df9f2ee02
SE Linux alias translation code (broken)
2005-10-30 02:45:45 +00:00
albert
f7603be903
oops, IRIX personality fix
2005-10-30 00:27:45 +00:00
albert
b2ca4a892a
IRIX personality PRI
2005-10-30 00:26:34 +00:00
albert
7767733812
dietlibc needs termios.h for struct winsize -- thanks Thomas Ogrisegg
2005-10-30 00:04:21 +00:00
albert
f9d99085e7
crazy Debian GNU/kFreeBSD guy wanted this
2005-01-27 04:08:10 +00:00
albert
37b9b9a235
valgrind freaked out on some weird old code
2005-01-24 03:37:41 +00:00
albert
31fca6bb2d
fix built-in test code
2005-01-10 21:32:49 +00:00
albert
8b29cc8a5d
fix wchan alignment problem -- snprintf can return more than written
2005-01-10 21:29:53 +00:00
albert
39b6574fb3
add comment about an ugly hack
2005-01-06 00:17:59 +00:00
albert
95cc4c37bb
variable-width %CPU,PPID,PID
2005-01-06 00:13:12 +00:00
albert
55aee6a969
SIGTSTP not a bug
2005-01-05 20:34:51 +00:00
albert
2e78a17eda
security labels can contain any printable ASCII
2005-01-05 20:09:03 +00:00
albert
dfd72b363c
use .opt macro all over
2004-12-02 17:53:33 +00:00
albert
f2dab95a92
not being unnessisarily cruel to non-roff parsers, move macros out of .SH NAME area
2004-12-02 17:37:58 +00:00
albert
c961f2604a
leftovers in the 3.2.4 release
2004-11-04 20:50:59 +00:00
albert
6c949eddbe
SubDomain Linux Security Module needs ^ and / characters -- Steve Beattie
2004-10-20 03:34:23 +00:00
albert
6ec1cff342
ps: built-in test code, etc.
2004-10-12 00:12:25 +00:00
albert
0586dc8b6d
fix warnings; put CFLAGS on lib link command
2004-09-23 13:41:33 +00:00
albert
59fc9dd711
%cpu and other changes
2004-09-12 15:43:48 +00:00
albert
af2077f22d
new /proc/vmstat fields
2004-08-27 14:23:36 +00:00
albert
4acae28535
misc
2004-08-18 02:22:13 +00:00
albert
ef0b63de31
string.h and maybe a release
2004-08-10 04:30:27 +00:00
albert
48497fc40d
lots of stuff, sorry
2004-08-10 03:14:10 +00:00
albert
bc43342e2a
update help text
2004-07-30 04:49:14 +00:00
albert
6308cb79e1
rh109147-like bug w/ old data in buffer, plus ")" problem and speed
2004-07-28 15:19:46 +00:00
albert
266d5b708a
wchan for multithreaded process is now ~0ull or "*"
2004-07-21 21:17:35 +00:00
albert
bc5df8a7de
avoid truncating long usernames
2004-07-21 00:37:38 +00:00
albert
8300609ba9
plenty -- see NEWS file and a diff
2004-07-15 01:17:15 +00:00
albert
c65a9d0779
grrr... this WILL change if SVR4-MP differs
2004-05-25 02:13:39 +00:00
albert
9e7c6b8e41
better warning message
2004-05-25 02:01:47 +00:00
albert
c8a8290ef2
fix vmstat -d
2004-05-04 23:29:40 +00:00
albert
6a48d37343
ps: add k and -x
2004-04-26 00:47:31 +00:00
albert
3f603adbae
remove some table inconsistencies and rename it_real_value
2004-04-17 03:13:56 +00:00
albert
d526282deb
nswap data dead since 2.4.xx kernels
2004-04-13 03:56:52 +00:00
albert
3f49530d77
new -M and Z options for security data
2004-03-27 03:55:52 +00:00
albert
9f9c3a16ce
STAT flags for fg process group and session leader
2004-03-26 01:34:16 +00:00