Command line and full screen utilities for browsing procfs, a "pseudo" file system dynamically generated by Linux to provide information about the status of entries in its process table.
Go to file
Sami Kerola c1fa3bfce8 misc: compiler warning fixes
Fix few compiler warnings. Some of these warnings appeared multiple
times, and the listing bellow is more about which sort of errors
where fixed.

devname.c:87:12: warning: comparison of integers of different signs: 'int' and 'unsigned long'
output.c:389:36: warning: passing 'char **const' to parameter of type 'const char *const restrict *' discards qualifiers in nested pointer types
output.c:611:31: warning: comparison of integers of different signs: 'const unsigned long' and 'int'
stacktrace.c:33:37: warning: unused parameter 'signum'

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-12-20 17:30:50 +01:00
contrib contrib: minimal ps: define mips PAGE_SIZE 2011-12-18 22:25:11 +11:00
include includes: add xalloc.h to unify memory allocations 2011-12-20 17:30:50 +01:00
po build-sys: add NLS support 2011-12-20 17:17:03 +01:00
proc misc: compiler warning fixes 2011-12-20 17:30:50 +01:00
ps misc: compiler warning fixes 2011-12-20 17:30:50 +01:00
testsuite Added Debian bug note for pgrep -u and testsuite 2011-12-06 21:37:45 +11:00
.gitignore build-sys: add NLS support 2011-12-20 17:17:03 +01:00
AUTHORS watch: support unicode 2011-12-19 21:57:09 +11:00
autogen.sh build-sys: add NLS support 2011-12-20 17:17:03 +01:00
BUGS name change: procps -> procps-ng 2011-06-04 20:50:12 +02:00
ChangeLog build-sys: take autotools in use again 2011-06-04 17:22:44 +02:00
CodingStyle diskstats and slabinfo 2003-06-08 17:28:06 +00:00
configure.ac build-sys: add NLS support 2011-12-20 17:17:03 +01:00
COPYING resync due to auto* 2002-09-27 13:26:07 +00:00
COPYING.LIB procps 010114 2002-02-01 22:47:29 +00:00
FAQ adapt redhat FAQ for procps-ng 2011-10-06 21:46:34 +02:00
free.1 docs: fix free.1 groff syntax 2011-12-20 17:17:03 +01:00
free.c free: add gettext support 2011-12-20 17:17:03 +01:00
kill.1 docs: clean up kill and skill man pages 2011-12-20 17:17:03 +01:00
Makefile.am build-sys: add NLS support 2011-12-20 17:17:03 +01:00
NEWS Added news item for top search capability 2011-12-20 22:16:40 +11:00
pgrep.1 docs: mention long options in man pgrep.1 2011-12-20 17:17:02 +01:00
pgrep.c includes: add xalloc.h to unify memory allocations 2011-12-20 17:30:50 +01:00
pkill.1 procps 010114 2002-02-01 22:47:29 +00:00
pmap.1 docs: mention long options in man pmap.1 2011-12-20 17:17:02 +01:00
pmap.c includes: add xalloc.h to unify memory allocations 2011-12-20 17:30:50 +01:00
pwdx.1 docs: mention long options in man pwdx.1 2011-12-20 17:17:01 +01:00
pwdx.c pwdx: add gettext support 2011-12-20 17:17:04 +01:00
README name change: procps -> procps-ng 2011-06-04 20:50:12 +02:00
README.top several bug fixes, enhancements and formatting 2011-04-14 07:08:14 +10:00
skill.1 docs: clean up kill and skill man pages 2011-12-20 17:17:03 +01:00
skill.c includes: add xalloc.h to unify memory allocations 2011-12-20 17:30:50 +01:00
slabtop.1 docs: small nroff fixes to man slabtop.1 2011-12-20 17:17:01 +01:00
slabtop.c slabtop: add gettext support 2011-12-20 17:17:04 +01:00
snice.1 procps 010114 2002-02-01 22:47:29 +00:00
sysctl.8 sysctl: implement --pattern option 2011-12-20 17:17:03 +01:00
sysctl.c includes: add xalloc.h to unify memory allocations 2011-12-20 17:30:50 +01:00
sysctl.conf misc 2004-08-18 02:22:13 +00:00
sysctl.conf.5 procps 010114 2002-02-01 22:47:29 +00:00
tload.1 docs: mention long options in man tload.1 2011-12-20 17:17:01 +01:00
tload.c includes: add xalloc.h to unify memory allocations 2011-12-20 17:30:50 +01:00
TODO name change: procps -> procps-ng 2011-06-04 20:50:12 +02:00
top.1 top: update man document for new search capability 2011-12-20 22:15:37 +11:00
top.c Removed xalloc type functions from library 2011-12-20 22:56:17 +11:00
top.h top: add a search capability 2011-12-20 22:15:31 +11:00
uptime.1 docs: mention long options in man uptime.1 2011-12-20 17:17:01 +01:00
uptime.c uptime: add gettext support 2011-12-20 17:17:04 +01:00
vmstat.8 docs: mention long options in man vmstat.8 2011-12-20 17:17:03 +01:00
vmstat.c vmstat: add gettext support 2011-12-20 17:17:04 +01:00
w.1 docs: mention long options in man w.1 2011-12-20 17:17:01 +01:00
w.c w: add gettext support 2011-12-20 17:17:04 +01:00
watch.1 docs: mention long options in man watch.1 2011-12-20 17:17:02 +01:00
watch.c includes: add xalloc.h to unify memory allocations 2011-12-20 17:30:50 +01:00

COMPATIBILITY

    This code is intended for use with Linux 2.2.xx, 2.4.xx,
    2.6.xx, and hopefully all future kernels. You should be
    running a system with libc 6, but libc 5 might work too.

INSTALLATION

    make
    make install

    Only the second ("make install") is needed if you just
    want to build and install procps-ng in the normal way.

    If you wish to test before installing, use the scripts
    named t, v, and p to ensure that the correct libproc
    (the new one) is used during your testing.

    You may set SKIP to avoid building or installing things.
    For example:

    make SKIP='/bin/kill /usr/share/man/man1/kill.1' install

    Use SHARED=0 to build procps-ng without shared libraries.
    This may be useful for installing in your home directory.

    make SHARED=0 DESTDIR=$HOME install

    Suppose you wanted to install stuff in strange places.
    You might do something like this:

    make usr/bin=/tmp/Q/i/ DESTDIR=/tmp/Q install="install -D" ldconfig=echo install

    If cross-compiling, you might need to set lib64 to
    either "lib" or "lib64". You might need to set m64 to
    -m64, -m32, or nothing at all. Some examples:

    make lib64=lib m64=-m32      # for a bi-arch gcc
    make lib64=lib64 CC=x86_64-gcc
    make lib64=lib CC=alpha-gcc

PACKAGING

    If you are a downstream maintainer (packager) for a Linux distribution,
    please avoid causing troubles. This section applies to you.

    Send patches in regularly. Many patches made by vendors have been buggy,
    some quite severely so. Sending in a patch will at least get it reviewed,
    if not included. There is a procps-ng test suite that must be passed.
    Forward all bug reports. If your bug database is public and busy enough
    to bother with, please make this known. Follow Debian's lead in making
    the bug database easy to comment on via email w/o need for an account.

    Do not change the user interface. Many of the programs are intended to be
    compatible with Solaris, FreeBSD, AIX, IRIX, Tru64, and the UNIX standard.
    Your nice new command options WILL BE BROKEN as needed to ensure that
    procps-ng remains compatible with the rest of the world. Sysadmins hate to
    deal with incompatible behavior. If you need a new option, ask for it.

    For normal packages, ensure that you do not add debugging flags
    to the CFLAGS variable. If debugging flags are present, the Makefile
    will avoid adding several optimizations that would interfere with gdb.

    There should be no need to modify the Makefile. You can set variables
    on the "make" command line or use "make -e" to pass variables from
    the environment.

BUG REPORTS

    Email to procps@freelists.org.