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
Werner Fink aac0de8994 Initialize smp_num_cpus only if really required
Initialize smp_num_cpus only if really required

Signed-off-by: Werner Fink <werner@suse.de>
2011-04-15 15:53:20 +02:00
proc Initialize smp_num_cpus only if really required 2011-04-15 15:53:20 +02:00
ps ps.1 manual page fixes 2011-02-24 14:23:31 +01:00
.gitignore New version of top from Jim 2011-03-31 22:15:12 +11:00
AUTHORS new authors 2002-10-10 21:18:13 +00:00
BUGS sync BUGS w/ Makefile 2004-10-20 00:12:12 +00:00
CodingStyle diskstats and slabinfo 2003-06-08 17:28:06 +00: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
dummy.c check_gcc for -m64, pmap shows shmid 2004-01-29 22:28:13 +00:00
free.1 Manual pages fixes 2011-02-23 09:17:54 +01:00
free.c merge with procps2 free 2004-01-30 04:47:14 +00:00
kill.1 Manual pages fixes 2011-02-23 09:17:54 +01:00
Makefile Merged changes from procps-3.2.8 not present in CVS 2011-02-10 13:40:29 +01:00
minimal.c dietlibc needs termios.h for struct winsize -- thanks Thomas Ogrisegg 2005-10-30 00:04:21 +00:00
NEWS not ppc64 2009-12-10 11:37:48 +00:00
pgrep.1 Manual pages fixes 2011-02-23 09:17:54 +01:00
pgrep.c pgrep: usage error should exit with 2 2007-05-28 00:16:39 +00:00
pkill.1 procps 010114 2002-02-01 22:47:29 +00:00
pmap.1 Manual pages fixes 2011-02-23 09:17:54 +01:00
pmap.c update /dev/tty* info to May 2009 devices.txt 2009-05-03 06:39:33 +00:00
procps.lsm ps man page 2006-09-10 06:25:56 +00:00
procps.spec Merged changes from procps-3.2.8 not present in CVS 2011-02-10 13:40:29 +01:00
pwdx.1 new pwdx command 2004-10-16 07:59:02 +00:00
pwdx.c Fix potential bufferoverflow in pwdx 2011-01-18 16:15:15 +01:00
README new packager guidelines 2004-07-17 15:25:45 +00:00
README.top several bug fixes, enhancements and formatting 2011-04-14 07:08:14 +10:00
skill.1 Manual pages fixes 2011-02-23 09:17:54 +01:00
skill.c note UNIX standard self-conflict 2008-03-24 05:57:28 +00:00
slabtop.1 Manual pages fixes 2011-02-23 09:17:54 +01:00
slabtop.c fix overflow on huge NUMA boxes 2005-01-05 21:46:22 +00:00
snice.1 procps 010114 2002-02-01 22:47:29 +00:00
sysctl.8 Manual pages fixes 2011-02-23 09:17:54 +01:00
sysctl.c Do not let sysctl abort due a missed file or directory under /proc. 2011-01-19 12:26:01 +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
t rh109147-like bug w/ old data in buffer, plus ")" problem and speed 2004-07-28 15:19:46 +00:00
tload.1 Manual pages fixes 2011-02-23 09:17:54 +01:00
tload.c procps 010114 2002-02-01 22:47:29 +00:00
tmp-junk.c procps 010114 2002-02-01 22:47:29 +00:00
TODO update /dev/tty* info to May 2009 devices.txt 2009-05-03 06:39:33 +00:00
top.1 several bug fixes, enhancements and formatting 2011-04-14 07:08:14 +10:00
top.c cgroup support. rcfile errors default to fatal 2011-04-15 09:24:29 +10:00
top.h cgroup support. rcfile errors default to fatal 2011-04-15 09:24:29 +10:00
uptime.1 Manual pages fixes 2011-02-23 09:17:54 +01:00
uptime.c uptime -V #122521 2002-10-08 18:51:56 +00:00
utmp.c procps 010114 2002-02-01 22:47:29 +00:00
v rh109147-like bug w/ old data in buffer, plus ")" problem and speed 2004-07-28 15:19:46 +00:00
vmstat.8 Manual pages fixes 2011-02-23 09:17:54 +01:00
vmstat.c Headers for disk and slab info and getopt replacement 2010-12-16 10:19:14 +01:00
w.1 Manual pages fixes 2011-02-23 09:17:54 +01:00
w.c Do not let sysctl abort due a missed file or directory under /proc. 2011-01-19 12:26:01 +01:00
watch.1 Manual pages fixes 2011-02-23 09:17:54 +01:00
watch.c watch: tolerate umlauts 2007-05-28 03:18:52 +00: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 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 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 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 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

    Debian users should use the Debian bug tracking system.
    Email to albert@users.sf.net or csmall@debian.org or
    procps-feedback@lists.sf.net will also work.