]> granicus.if.org Git - procps-ng/log
procps-ng
13 years agoAdded tar.gz to gitignore
Craig Small [Thu, 20 Oct 2011 11:08:18 +0000 (22:08 +1100)]
Added tar.gz to gitignore

13 years agoMerge branch 'master', remote-tracking branch 'sami/ng'
Craig Small [Sat, 1 Oct 2011 13:23:30 +0000 (23:23 +1000)]
Merge branch 'master', remote-tracking branch 'sami/ng'

13 years agobuild-sys: add ./configure --enable-oomem option
Sami Kerola [Thu, 29 Sep 2011 11:37:52 +0000 (13:37 +0200)]
build-sys: add ./configure --enable-oomem option

Add out-of-memory fields to the library and top.

Refrences:
http://www.freelists.org/post/procps/PATCH-12-Add-missed-oom-support-to-libproc
http://www.freelists.org/post/procps/PATCH-22-Initialize-smp-num-cpus-only-if-really-required

Signed-off-by: Jim Warner <james.warner@comcast.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
13 years agobuild-sys: sensible errors when autogen.sh requirements are is missing
Sami Kerola [Mon, 26 Sep 2011 20:27:34 +0000 (22:27 +0200)]
build-sys: sensible errors when autogen.sh requirements are is missing

<quote="Jim">
I tested the build on several "new" linux installs that didn't yet have any
development tools beyond gcc. On those systems the following error messages
were received:

  ./autogen.sh: line 46: libtoolize: command not found
  ./autogen.sh: line 47: test: =: unary operator expected
</quote>

This commit also removes few unnecessary empty lines, and makes all shell
variables to be wrote in caps & quoted properly.

Cc: Jim Warner <james.warner@comcast.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
13 years agomiscellaneous top and library cleanup
Craig Small [Sat, 24 Sep 2011 14:27:37 +0000 (00:27 +1000)]
miscellaneous top and library cleanup

top changes
 . refined column header width calculations
 . added error messages for:
     invalid signal ('k')
     invalad max tasks ('n')
 . corrected narrative for summary_show

library changes
 . corrected some comments (only)

13 years agobuild-sys: rename libproc to libprog-ng
Jim Warner [Thu, 22 Sep 2011 09:10:05 +0000 (04:10 -0500)]
build-sys: rename libproc to libprog-ng

The library file version string is taken from configure.ac AC_INIT.

Reference: http://www.freelists.org/archive/procps/09-2011

Signed-off-by: Jim Warner <james.warner@comcast.net>
Signed-off-by: Craig Small <csmall-procps@enc.com.au>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
13 years agobuild-sys: check strverscmp
Jim Warner [Thu, 22 Sep 2011 09:10:05 +0000 (04:10 -0500)]
build-sys: check strverscmp

This function is a GNU extension.

Signed-off-by: Jim Warner <james.warner@comcast.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
13 years agobuild-sys: use AC_HEADER_STDBOOL in configure.ac
Jim Warner [Thu, 22 Sep 2011 09:10:05 +0000 (04:10 -0500)]
build-sys: use AC_HEADER_STDBOOL in configure.ac

The AC_CHECK_HEADER_STDBOOL, which was used earlier, requires
autoconf 2.68 (2010-09-22), without great functional benefit in
comparison AC_HEADER_STDBOOL.  The only thing newer macro does is
a problem for many user who has older autoconf in use.

Reference: http://lists.gnu.org/archive/html/autoconf-commit/2011-02/msg00000.html

Signed-off-by: Jim Warner <james.warner@comcast.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
13 years agoadded ps etimes, miscellaneous top enhancements
Craig Small [Mon, 12 Sep 2011 12:18:23 +0000 (22:18 +1000)]
added ps etimes, miscellaneous top enhancements

ps program
 . etimes added for ELAPSED expressed in seconds
 . time_t used in place of former unsigned long

top program
 . corrected scroll message bug when 'x' toggle on
 . fixed forest view potential missing libflags bug
 . improved 'k' default signal invocation logic
 . enhanced logic for %CPU maximums displayed
 . made signal handling more robust and efficient

13 years agotop now has a forest view mode
Craig Small [Tue, 30 Aug 2011 12:05:45 +0000 (22:05 +1000)]
top now has a forest view mode

13 years agoadded tgid support plus miscellaneous cleanup
Craig Small [Wed, 17 Aug 2011 11:01:35 +0000 (21:01 +1000)]
added tgid support plus miscellaneous cleanup

 ps
   . added tgid support
   . made process/task naming consistent
 top
   . added tgid support
   . standardized pid related width logic
 documents
   . added tgid to ps & top man documents
 library
   . fixed OOMEM_ENABLE readtask bug
   . corrected header typo for tgid

13 years agorefined library i/f and improved performance
Craig Small [Wed, 10 Aug 2011 21:42:14 +0000 (07:42 +1000)]
refined library i/f and improved performance

 Library changes
   readproc
    . added readeither to more efficiently
      fill both process and thread proc_t
    . added readproctab3, uses readeither
    . included task path support in:
        fill_cgroup_cvt, fill_cmdline_cvt,
        read_unvectored
    . QUICK_THREADS #define allows copying
      process info vs. repeatedly reading
    . simple_nexttid no longer values ppid
    . path var made non-static in readtask
    . documented 'proc_data_t' in .h file
    . tweaked some c comments & formatting
   library.map
    . added new readeither, readproctab3
 Program changes
   ps
    . exploits readproctab3 where possible
    . improved args/comm compliance
   top
    . exploits readeither

13 years agosupgid/supgrp support, improved library interface
Craig Small [Mon, 1 Aug 2011 11:28:46 +0000 (21:28 +1000)]
supgid/supgrp support, improved library interface

 Library changes
   readproc
    . added support for supplementary groups
    . eliminated 2 potential mem leak sources
       . shortcut used for multi-threaded str
         vectors & ptrs was obsoleted
       . freeing of proc_t related dynamic
         memory now rests with the library
    . standardized/normalized many c comments
   sysinfo
    . corrected note regarding glibc & cpuinfo
   library.map
    . made the visible freeproc accessable
 Program changes
   pmap
    . initialized buffer for new readproc i/f
    . eliminated now obsolete free() call
   ps
    . added width aware supgrp support
    . initialized buffers for new readproc i/f
    . eliminated now obsolete free() calls
   top
    . added supgrp support as variable width
    . eliminated now obsolete free() calls
    . expoilted library freeproc function
    . corrected -h|v args text & spacing
    . updated some c comments
 Documentation changes
   ps.1
    . added supgid and supgrp
   top.1
    . added supgid and supgrp
    . addition of above required renumbering
      many fields in section 3a. DESCRIPTIONS

13 years agoRevert -n flag for w
Craig Small [Thu, 14 Jul 2011 22:52:45 +0000 (08:52 +1000)]
Revert -n flag for w

13 years agotop hotplug memory support
Craig Small [Thu, 14 Jul 2011 11:16:02 +0000 (21:16 +1000)]
top hotplug memory support

Another patch from Jim for top to support hot-pluggable memory. Not
fully tested on real hot-pluggable memory because neither of us have
it

13 years agomiscellaneous top program/man document cleanup
Jim Warner [Thu, 23 Jun 2011 13:45:09 +0000 (15:45 +0200)]
miscellaneous top program/man document cleanup

 Program changes
  . corrected eolcap handling if EQUCOLHDRYES defined
  . added missing terminator for OOMEM_ENABLE comment
  . tightened logic in display_fields
  . eliminated some warnings via type or cast
  . updated miscellaneous source comments
 Man Document changes
  . corrected/expanded CGROUPS narrative
  . standardized/normalized PPID narrative

Signed-off-by: Jan Görig <jgorig@redhat.com>
13 years agomiscellaneous library documentation changes
Jim Warner [Thu, 23 Jun 2011 13:39:32 +0000 (15:39 +0200)]
miscellaneous library documentation changes

 Library changes
  . standardized comments in proc_t statm/status memory definitions

Signed-off-by: Jan Görig <jgorig@redhat.com>
13 years agoKernel 3.0 version format support
Jaromír Cápík [Mon, 20 Jun 2011 15:54:06 +0000 (17:54 +0200)]
Kernel 3.0 version format support

13 years agobuild-sys: add contrib directory
Sami Kerola [Sun, 5 Jun 2011 10:17:14 +0000 (12:17 +0200)]
build-sys: add contrib directory

Move files that are not compiled to <build-root>/contrib
directory. The files consist two unmaintained commands,
alternative ps & w, and and broken utmp examination / printing
utility. The dummy.c became unnecessary at the point when
autotools where re-introduced.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
13 years agoname change: procps -> procps-ng
Sami Kerola [Sat, 4 Jun 2011 17:40:29 +0000 (19:40 +0200)]
name change: procps -> procps-ng

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
13 years agowatch.c: fix version printing
Sami Kerola [Sat, 4 Jun 2011 14:53:24 +0000 (16:53 +0200)]
watch.c: fix version printing

Print same style version string as other procps utilities. Also
the number makes now more sense, when it's coming from autotools
config.h

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
13 years agosysctl.c: crash due missing include
Sami Kerola [Sat, 4 Jun 2011 14:52:14 +0000 (16:52 +0200)]
sysctl.c: crash due missing include

Missinc include made help printing to crash.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
13 years agoproc/sysinfo.c: autotools caused a regression
Sami Kerola [Sat, 4 Jun 2011 14:50:01 +0000 (16:50 +0200)]
proc/sysinfo.c: autotools caused a regression

For some reason necessary variable was commented out at June
2003, see commit bellow for details.

commit 5c99a21b722a568253ea4cf5a385e71a54db427c

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
13 years agoproc/version.c: use autotools version
Sami Kerola [Sat, 4 Jun 2011 14:48:01 +0000 (16:48 +0200)]
proc/version.c: use autotools version

The old version output does not work, or make sense, after
autotools are in use again.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
13 years agobuild-sys: take autotools in use again
Sami Kerola [Sat, 4 Jun 2011 14:26:58 +0000 (16:26 +0200)]
build-sys: take autotools in use again

This will revert change at Oct 2002 when autotools support was
removed.

Unlike before the package developers are expected to use
./autogen.sh to generate ./configure script, and run make after
that. The build system is also able to create, with make dist, a
tar ball release which compiles correctly, and has files which
seemed to be important to have.

The patch removes few unnecessary files, but no everything. Files
procps.lsm and procps.spec in git repository are useless as is,
but I left them lying around for someone who can make more
justified call about removal of them.

Last, but not least package version number is set 3.3.0 to
distinct this procps from the sourceforge's upstream procps.
Please notice that libproc relese is kept as 3.2.8.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
13 years agoAdded 'vm_swap' variable nullifying.
Jan Görig [Thu, 2 Jun 2011 10:22:31 +0000 (12:22 +0200)]
Added 'vm_swap' variable nullifying.
Thanks to KOSAKI Motohiro.

Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=532668

13 years agoFixed per-process swap information in top and related cleanup.
Jan Görig [Thu, 2 Jun 2011 10:15:14 +0000 (12:15 +0200)]
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

13 years agoremove trailing spaces in top batch mode
Jim Warner [Wed, 1 Jun 2011 11:58:06 +0000 (13:58 +0200)]
remove trailing spaces in top batch mode

Signed-off-by: Jan Görig <jgorig@redhat.com>
13 years agoadded output width/height override support to top, + misc
Jim Warner [Thu, 26 May 2011 09:33:32 +0000 (11:33 +0200)]
added output width/height override support to top, + misc

This source patch addresses the following:
 Enhancements
  . added -w command line switch, with optional argument
   ( offers complete control over width and height, in  )
   ( combination with env variables COLUMNS= and LINES= )
  . updated man document to reflect the new capability
  . reengineered Fields Management to be more flexible
    thus no longer requiring a normal sized tty
 Buglets fixed
  . forced View_SCROLL off when in 'Batch' mode
  . for narrow xterm, fixed return val in show_pmt
  . for narrow xterm, fixed cursor pos in linein
  . added a window specific end-of-line termcap ptr
   ( so clr_eol does not overwrite last printable char )
 Cosmetic changes
  . eliminated TTYGETENVYES define, incorporated as -w
  . eliminated RESIZE_LIMIT define, no longer needed
  . eliminated FIELD_CURSOR define, no longer possible
  . eliminated extra text on Fields Management screen
  . fixed miscellaneous man document typos/formatting

Signed-off-by: Jan Görig <jgorig@redhat.com>
13 years agoMerge branch 'newtop'
Jan Görig [Wed, 25 May 2011 09:05:04 +0000 (11:05 +0200)]
Merge branch 'newtop'

13 years agoenhanced libproc cgroup/cmdline support, exploited by top
Jim Warner [Wed, 18 May 2011 08:33:44 +0000 (10:33 +0200)]
enhanced libproc cgroup/cmdline support, exploited by top

Library Changes
. added PROC_EDITCMDLCVT flag
. added an internal (static) fill_cmdline_cvt function:
  - reads and "escapes" /proc/#/cmdline
  - returns result as a single string in a single vector
  - callers are guaranteed a cmdline (no more NULL)
. added vectorize_this_str function, exploited by
  fill_cgroup_cvt, fill_cmdline_cvt
. generalized read_cmdline function as read_unvectored, now
  exploited by fill_cgroup_cvt, fill_cmdline_cvt, read_cmdline
  ( cgroup and cmdline no longer need be converted to string )
  ( vectors before being transformed to final representation )
. fixed bug regarding skipped group numbers (when enabled)
. escape_str made responsible for all single byte translation
  with distinction between control chars + other unprintable
. added escaped_copy function for already escaped strings
. reorganized parts of proc_t to restore formatting standards
  ( displacement changes shouldn't matter with new version # )
. former ZAP_SUSEONLY #define now OOMEM_ENABLE
. added to library.map: escaped_copy; read_cmdline

Top Program Changes
. exploited the new PROC_EDITCMDLCVT provision
. eliminated now obsolete #include "proc/escape.h"
. changed the P_WCH display format if no kernel symbol table
. fixed very old bug in lflgs for out-of-view sort fields
. former ZAP_SUSEONLY #define now OOMEM_ENABLE

Ps Program Changes
. exploited the new PROC_EDITCMDLCVT provision
. exploited the new escaped_copy function
. consolidated pr_args and pr_comm into pr_argcom

Signed-off-by: Jan Görig <jgorig@redhat.com>
13 years agoUpdated ps to use new cgroup interface
Jan Görig [Thu, 5 May 2011 10:20:30 +0000 (12:20 +0200)]
Updated ps to use new cgroup interface

13 years agocgroup support migrated to libproc, plus miscellaneous re-formatting
Jim Warner [Thu, 5 May 2011 10:07:25 +0000 (12:07 +0200)]
cgroup support migrated to libproc, plus miscellaneous re-formatting

This source patchset addresses the following:
Library Extension (readproc)
 . added PROC_EDITCGRPCVT flag
 . added an internal (static) fill_cgroup_cvt function:
   . reads AND parses /proc/#/cgroup
   . returns result as a single string in a single vector
   . thus no changes to proc_t structure or free memory logic
Program Enhancements (top)
 . removed parse_cgroup logic in favor of libproc
 . eliminated cgroup sort recurring overhead
 . converted WCHAN field to variable width
 . generalized variable width field logic in task_show
 . real-time notation under P col more distinctive as 'rt'
Program Cosmetic (top)
 . CGROUP now known as CGROUPS (plural)
 . moved jan's attribution from top.c to 'Notes' in top.h
 . numerous comments tweaked
Document Enhancements (top)
 . documented CGROUPS field (required renumbering all fields)
 . adapted narratives for the 3 current variable width fields
 . expanded real-time scheduling notes, 'RT' now shown as 'rt'

Signed-off-by: Jan Görig <jgorig@redhat.com>
13 years agodocs: free great modernization manual page fixes
Sami Kerola [Mon, 18 Apr 2011 17:30:21 +0000 (19:30 +0200)]
docs: free great modernization manual page fixes

Mention long options, and new options, in manual page.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
13 years agofree: great modernization
Sami Kerola [Mon, 18 Apr 2011 17:30:20 +0000 (19:30 +0200)]
free: great modernization

Support long options, use program_invocation_short_name, print
version up on request, new giga & tera byte sizes switches, exit
when numeric arguments has garbage... and for rest see the diff.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
13 years agoFixed initialization and thread problems in top - changed by Jim
Jan Görig [Mon, 18 Apr 2011 14:06:54 +0000 (16:06 +0200)]
Fixed initialization and thread problems in top - changed by Jim

13 years agoInitialize smp_num_cpus only if really required
Werner Fink [Fri, 15 Apr 2011 13:53:20 +0000 (15:53 +0200)]
Initialize smp_num_cpus only if really required

Initialize smp_num_cpus only if really required

Signed-off-by: Werner Fink <werner@suse.de>
13 years agoAdd missed oom support to libproc
Werner Fink [Fri, 15 Apr 2011 13:52:40 +0000 (15:52 +0200)]
Add missed oom support to libproc

Add missed oom support to libproc
Signed-off-by: Werner Fink <werner@suse.de>
13 years agocgroup support. rcfile errors default to fatal
Craig Small [Thu, 14 Apr 2011 23:24:29 +0000 (09:24 +1000)]
cgroup support. rcfile errors default to fatal

This source patch addresses the following:
 Conceivable Buglets Avoided
  . added sanity checks for previous assumptions re: pid size, num cpus
  . changed response for rcfile errors to fatal, vs. silent default
 Enhancements
  . reorganized WIN_t struct for reduced padding and better readability
  . generalized code for multiple var-width cols (divorced from pflags)
  . absorbed jan gorig's cgroup patch, with attribution
 Cosmetic
  . reduced numerous #ifdef directives, especially in calibrate_fields

13 years agoseveral bug fixes, enhancements and formatting
Craig Small [Wed, 13 Apr 2011 21:08:14 +0000 (07:08 +1000)]
several bug fixes, enhancements and formatting

The documentation portion of the patch addresses the following:
  README.top
    . corrected a minor typo
    . updated to reflect current patch level
  top.1
    . fixed potentially misinterpreted Me/ME strings
    . added '.Bd -literal' directives for indented fixed-width font
    . some comments changed from \# to .\" to avoid man2html problems

The source portion of the patch addresses the following:
  Buglets
    . header/task output length now consistent
    . fixed 2 obscure horizontal scrolling bugs
    . fixed potential bug regarding 'help' and 'current' window
    . messages and prompts are now also sensitive to terminal width
    . normalized buffer names/sizes now accommodate any SCREENMAX changes
  Features
    . made %CPU and 'i' mode handling more efficient
    . for input the Up/Dn arrows keys act as alternatives to Ins/Del keys
   . an optional USE_X_COLHDR define eliminates ALL 'x' toggle overhead
    . an optional ZAP_SUSEONLY define was added for Werner's modifications
  Cosmetic
    . defines and format for optional end-of-job reports standardized

13 years agoNew version of top from Jim
Craig Small [Thu, 31 Mar 2011 11:15:12 +0000 (22:15 +1100)]
New version of top from Jim

13 years agotop.1 manual page fixes
Jan Görig [Thu, 24 Feb 2011 14:06:13 +0000 (15:06 +0100)]
top.1 manual page fixes

Changes from Debian and fixed escaping errors.

Author: Craig Small <csmall@debian.org>

13 years agops.1 manual page fixes
Jan Görig [Thu, 24 Feb 2011 13:23:31 +0000 (14:23 +0100)]
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

13 years agoManual pages fixes
Jan Görig [Wed, 23 Feb 2011 08:17:54 +0000 (09:17 +0100)]
Manual pages fixes

Taken from Debian with small changes added

Authors: Craig Small <csmall@debian.org>, Brendan O'Dea <bod@debian.org>

13 years agoRemoved .cvsignore files
Jan Görig [Thu, 10 Feb 2011 12:35:46 +0000 (13:35 +0100)]
Removed .cvsignore files

13 years agoMerged changes from procps-3.2.8 not present in CVS
Jan Görig [Thu, 10 Feb 2011 12:31:14 +0000 (13:31 +0100)]
Merged changes from procps-3.2.8 not present in CVS

13 years agoRewritten cgroup support and suppressed root cgroup
Jan Görig [Wed, 19 Jan 2011 11:16:56 +0000 (12:16 +0100)]
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>
13 years agoCall libproc constructors in strict order
Jan Görig [Wed, 19 Jan 2011 11:50:26 +0000 (12:50 +0100)]
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>
13 years agoDo not let sysctl abort due a missed file or directory under /proc.
Werner Fink [Mon, 20 Dec 2010 12:22:24 +0000 (13:22 +0100)]
Do not let sysctl abort due a missed file or directory under /proc.

Include signal.h for compiling w.

Signed-off-by: Werner Fink <werner@suse.de>
13 years agoFix potential bufferoverflow in pwdx
Werner Fink [Mon, 20 Dec 2010 11:46:37 +0000 (12:46 +0100)]
Fix potential bufferoverflow in pwdx

 Fix potential bufferoverflow in pwdx
 Novell bugzilla entry 78074

Signed-off-by: Werner Fink <werner@suse.de>
13 years agoFixed build with make 3.82
Jan Görig [Tue, 18 Jan 2011 15:10:32 +0000 (16:10 +0100)]
Fixed build with make 3.82

Bug-Debian: http://bugs.debian.org/603759
Signed-off-by: Jan Görig <jgorig@redhat.com>
14 years agoRead the system boot time from /proc instead of computing
Jan Görig [Thu, 16 Dec 2010 09:30:39 +0000 (10:30 +0100)]
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>
14 years agoclear screen after fields selection
Jan Görig [Thu, 16 Dec 2010 09:25:36 +0000 (10:25 +0100)]
clear screen after fields selection

Author: Tomas Smetana <tsmetana@redhat.com>
Bug-Redhat: https://bugzilla.redhat.com/show_bug.cgi?id=440694

14 years agofix the problem with truncated output lines to 2048 characters
Jan Görig [Thu, 16 Dec 2010 09:24:44 +0000 (10:24 +0100)]
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

14 years agops displays cgroup
Jan Görig [Thu, 16 Dec 2010 09:23:49 +0000 (10:23 +0100)]
ps displays cgroup

Author: Swann Perarnau <swann.perarnau@imag.fr>
Bug-Debian: http://bugs.debian.org/469669
Reviewed-by: Craig Small <csmall@debian.org>
14 years agoFix highlighting problem in top
Jan Görig [Thu, 16 Dec 2010 09:21:47 +0000 (10:21 +0100)]
Fix highlighting problem in top

Author: Paolo Pantaleo <paolopantaleo@gmail.com>
Bug-Debian: http://bugs.debian.org/351065

14 years agoHeaders for disk and slab info and getopt replacement
Jan Görig [Thu, 16 Dec 2010 09:19:14 +0000 (10:19 +0100)]
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

14 years agoMake w make better guesses for user process
Jan Görig [Thu, 16 Dec 2010 09:15:35 +0000 (10:15 +0100)]
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>

14 years agoper-process swap info available on Linux 2.6.34
albert [Tue, 18 May 2010 07:02:03 +0000 (07:02 +0000)]
per-process swap info available on Linux 2.6.34

15 years agonot ppc64
albert [Thu, 10 Dec 2009 11:37:48 +0000 (11:37 +0000)]
not ppc64

15 years agosrc==dst is illegal, failing on ppc64
albert [Wed, 9 Dec 2009 09:28:22 +0000 (09:28 +0000)]
src==dst is illegal, failing on ppc64

15 years agoupdate /dev/tty* info to May 2009 devices.txt
albert [Sun, 3 May 2009 06:39:33 +0000 (06:39 +0000)]
update /dev/tty* info to May 2009 devices.txt

16 years agonote UNIX standard self-conflict
albert [Mon, 24 Mar 2008 05:57:28 +0000 (05:57 +0000)]
note UNIX standard self-conflict

16 years agonew /proc/meminfo fields
albert [Mon, 24 Mar 2008 04:41:26 +0000 (04:41 +0000)]
new /proc/meminfo fields

17 years agowatch: tolerate umlauts
albert [Mon, 28 May 2007 03:18:52 +0000 (03:18 +0000)]
watch: tolerate umlauts

17 years agosysctl: fix crash -- thanks Steinar Gunderson #423704
albert [Mon, 28 May 2007 01:59:28 +0000 (01:59 +0000)]
sysctl: fix crash -- thanks Steinar Gunderson      #423704

17 years agovmstat: use EXIT_FAILURE -- thanks Yoshio Nakamura #425492
albert [Mon, 28 May 2007 00:20:13 +0000 (00:20 +0000)]
vmstat: use EXIT_FAILURE -- thanks Yoshio Nakamura   #425492

17 years agopgrep: usage error should exit with 2
albert [Mon, 28 May 2007 00:16:39 +0000 (00:16 +0000)]
pgrep: usage error should exit with 2

17 years agotop: normal exit code should be 0
albert [Sun, 27 May 2007 23:56:49 +0000 (23:56 +0000)]
top: normal exit code should be 0

17 years agoSCHED_* stuff up to #9
albert [Sat, 5 May 2007 18:42:16 +0000 (18:42 +0000)]
SCHED_* stuff up to #9

18 years agops: man page less ambiguous
albert [Sun, 17 Dec 2006 18:47:18 +0000 (18:47 +0000)]
ps: man page less ambiguous

18 years agothreadsafe-statics
albert [Mon, 30 Oct 2006 03:57:57 +0000 (03:57 +0000)]
threadsafe-statics

18 years agops man page
albert [Sun, 10 Sep 2006 06:25:56 +0000 (06:25 +0000)]
ps man page

18 years agofix the low_density_names table, maybe
albert [Sun, 9 Jul 2006 06:58:39 +0000 (06:58 +0000)]
fix the low_density_names table, maybe

18 years agoLinux 2.6.17 tty devices. Lose support for original pty numbering.
albert [Sun, 9 Jul 2006 04:41:30 +0000 (04:41 +0000)]
Linux 2.6.17 tty devices. Lose support for original pty numbering.

18 years agotop: show CPU time stolen from a virtual machine
albert [Sun, 25 Jun 2006 02:15:36 +0000 (02:15 +0000)]
top: show CPU time stolen from a virtual machine

18 years agobit of top hacking
albert [Sun, 25 Jun 2006 01:14:24 +0000 (01:14 +0000)]
bit of top hacking

18 years agosysctl: use - for stdin
albert [Sat, 24 Jun 2006 21:17:51 +0000 (21:17 +0000)]
sysctl: use - for stdin

18 years agog is criteria
albert [Sat, 24 Jun 2006 20:12:29 +0000 (20:12 +0000)]
g is criteria

18 years agouse ln_f, and update to version 3.2.7
albert [Sat, 24 Jun 2006 04:34:55 +0000 (04:34 +0000)]
use ln_f, and update to version 3.2.7

18 years agobetter -L support
albert [Fri, 23 Jun 2006 03:18:12 +0000 (03:18 +0000)]
better -L support

18 years agoFreeBSD -F and -L options (but -L may be useless) with sucky error messages
albert [Wed, 21 Jun 2006 05:45:16 +0000 (05:45 +0000)]
FreeBSD -F and -L options (but -L may be useless) with sucky error messages

18 years agocorrect description of some currently-foreign options
albert [Wed, 21 Jun 2006 04:41:58 +0000 (04:41 +0000)]
correct description of some currently-foreign options

18 years agopgrep cleanup
albert [Wed, 21 Jun 2006 04:18:02 +0000 (04:18 +0000)]
pgrep cleanup

18 years agonote that skill/snice are obsolete
albert [Sun, 18 Jun 2006 23:57:44 +0000 (23:57 +0000)]
note that skill/snice are obsolete

18 years agofix more of the pgrep memory-related brokenness
albert [Sun, 18 Jun 2006 23:19:30 +0000 (23:19 +0000)]
fix more of the pgrep memory-related brokenness

18 years agonew foreign-OS research noted
albert [Sun, 18 Jun 2006 20:55:02 +0000 (20:55 +0000)]
new foreign-OS research noted

18 years agocorrect mailing list
albert [Sun, 18 Jun 2006 00:42:37 +0000 (00:42 +0000)]
correct mailing list

18 years agow: stale utmp entries snuck in via uninitialized var -- thanks Robert A Basch
albert [Sat, 17 Jun 2006 06:14:33 +0000 (06:14 +0000)]
w: stale utmp entries snuck in via uninitialized var -- thanks Robert A Basch

18 years agotop: CPU usage column width fixes -- thanks Tony Ernst
albert [Sat, 17 Jun 2006 05:20:01 +0000 (05:20 +0000)]
top: CPU usage column width fixes -- thanks Tony Ernst

18 years agoprocps.spec needed a slash -- thanks Jesse Brandeburg
albert [Sat, 17 Jun 2006 05:12:35 +0000 (05:12 +0000)]
procps.spec needed a slash -- thanks Jesse Brandeburg

18 years agopwdx: buffer overflow fixed -- thanks Ulf Harnhammar
albert [Sat, 17 Jun 2006 05:01:17 +0000 (05:01 +0000)]
pwdx: buffer overflow fixed -- thanks Ulf Harnhammar

18 years agoavoid integer overflow for usleep() arg
albert [Sat, 17 Jun 2006 04:52:42 +0000 (04:52 +0000)]
avoid integer overflow for usleep() arg

18 years agofix "ps sm" bug involving 1-thread-proc optimization
albert [Sat, 17 Jun 2006 04:14:57 +0000 (04:14 +0000)]
fix "ps sm" bug involving 1-thread-proc optimization

18 years agoSCHED_BATCH
albert [Sun, 22 Jan 2006 08:00:03 +0000 (08:00 +0000)]
SCHED_BATCH

18 years agoterabytes
albert [Sun, 22 Jan 2006 07:57:13 +0000 (07:57 +0000)]
terabytes

19 years agodocument H option -- thanks Tony Ernst
albert [Tue, 27 Dec 2005 04:25:32 +0000 (04:25 +0000)]
document H option -- thanks Tony Ernst

19 years agofix buffer overflow
albert [Sun, 30 Oct 2005 23:52:35 +0000 (23:52 +0000)]
fix buffer overflow

19 years agofputs instead of fprintf
albert [Sun, 30 Oct 2005 23:45:47 +0000 (23:45 +0000)]
fputs instead of fprintf

19 years ago3.2.6 prep
albert [Sun, 30 Oct 2005 06:47:15 +0000 (06:47 +0000)]
3.2.6 prep