
Due to differences in (mainly) measuring and accumulating CPU times, the two top programs end up serving different purposes: the NetBSD top is a system administration tool, while the MINIX3 top (now mtop) is a performance debugging tool. Therefore, we keep both. The newly imported BSD top has a few MINIX3-specific changes. CPU statistics separate system time from kernel time, rather than kernel time from time spent on handling interrupts. Memory statistics show numbers that are currently relevant for MINIX3. Swap statistics are disabled entirely. All of these changes effectively bring it closer to how mtop already worked as well. Change-Id: I9611917cb03e164ddf012c5def6da0e7fede826d
258 lines
6.8 KiB
C
258 lines
6.8 KiB
C
/* config.h. Generated from config.h.in by configure. */
|
|
/* config.h.in. Generated from configure.ac by autoheader. */
|
|
|
|
/* Support for debugging output */
|
|
/* #undef DEBUG */
|
|
|
|
/* Default delay */
|
|
#define DEFAULT_DELAY 5
|
|
|
|
/* Default number of processes to display */
|
|
#define DEFAULT_TOPN -1
|
|
|
|
/* Enable color */
|
|
#define ENABLE_COLOR 1
|
|
|
|
/* Enable dual architecture */
|
|
/* #undef ENABLE_DUALARCH */
|
|
|
|
/* Enable kill and renice */
|
|
#define ENABLE_KILL 1
|
|
|
|
/* Supports C99 style variadic macros */
|
|
#define HAVE_C99_VARIADIC_MACROS 1
|
|
|
|
/* Define to 1 if you have the <curses.h> header file. */
|
|
#define HAVE_CURSES_H 1
|
|
|
|
/* Define to 1 if you have the declaration of `sys_errlist', and to 0 if you
|
|
don't. */
|
|
#define HAVE_DECL_SYS_ERRLIST 0
|
|
|
|
/* Define to 1 if you have the declaration of `sys_signame', and to 0 if you
|
|
don't. */
|
|
#define HAVE_DECL_SYS_SIGNAME 1
|
|
|
|
/* Define to 1 if you have the declaration of `tgetent', and to 0 if you
|
|
don't. */
|
|
#define HAVE_DECL_TGETENT 1
|
|
|
|
/* Define to 1 if you have the declaration of `tgetflag', and to 0 if you
|
|
don't. */
|
|
#define HAVE_DECL_TGETFLAG 1
|
|
|
|
/* Define to 1 if you have the declaration of `tgetnum', and to 0 if you
|
|
don't. */
|
|
#define HAVE_DECL_TGETNUM 1
|
|
|
|
/* Define to 1 if you have the declaration of `tgetstr', and to 0 if you
|
|
don't. */
|
|
#define HAVE_DECL_TGETSTR 1
|
|
|
|
/* Define to 1 if you have the declaration of `tgoto', and to 0 if you don't.
|
|
*/
|
|
#define HAVE_DECL_TGOTO 1
|
|
|
|
/* Define to 1 if you have the declaration of `tputs', and to 0 if you don't.
|
|
*/
|
|
#define HAVE_DECL_TPUTS 1
|
|
|
|
/* Platform module */
|
|
#define HAVE_FORMAT_PROCESS_HEADER 1
|
|
|
|
/* Define to 1 if you have the `getopt' function. */
|
|
#define HAVE_GETOPT 1
|
|
|
|
/* Define to 1 if you have the <getopt.h> header file. */
|
|
#define HAVE_GETOPT_H 1
|
|
|
|
/* Define to 1 if you have the `getopt_long' function. */
|
|
#define HAVE_GETOPT_LONG 1
|
|
|
|
/* Define to 1 if you have the `gettimeofday' function. */
|
|
#define HAVE_GETTIMEOFDAY 1
|
|
|
|
/* Supports gnu style variadic macros */
|
|
#define HAVE_GNU_VARIADIC_MACROS 1
|
|
|
|
/* Define to 1 if the system has the type `id_t'. */
|
|
#define HAVE_ID_T 1
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#define HAVE_INTTYPES_H 1
|
|
|
|
/* Define to 1 if you have the `elf' library (-lelf). */
|
|
/* #undef HAVE_LIBELF */
|
|
|
|
/* Define to 1 if you have the `kstat' library (-lkstat). */
|
|
/* #undef HAVE_LIBKSTAT */
|
|
|
|
/* Define to 1 if you have the `kvm' library (-lkvm). */
|
|
#define HAVE_LIBKVM 1
|
|
|
|
/* Define to 1 if you have the `m' library (-lm). */
|
|
#define HAVE_LIBM 1
|
|
|
|
/* Define to 1 if you have the `mach' library (-lmach). */
|
|
/* #undef HAVE_LIBMACH */
|
|
|
|
/* Define to 1 if you have the `mas' library (-lmas). */
|
|
/* #undef HAVE_LIBMAS */
|
|
|
|
/* Define to 1 if you have the `perfstat' library (-lperfstat). */
|
|
/* #undef HAVE_LIBPERFSTAT */
|
|
|
|
/* Define to 1 if you have the <limits.h> header file. */
|
|
#define HAVE_LIMITS_H 1
|
|
|
|
/* Define to 1 if the system has the type `lwpid_t'. */
|
|
#define HAVE_LWPID_T 1
|
|
|
|
/* Define to 1 if you have the <math.h> header file. */
|
|
#define HAVE_MATH_H 1
|
|
|
|
/* Define to 1 if you have the `memcpy' function. */
|
|
#define HAVE_MEMCPY 1
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#define HAVE_MEMORY_H 1
|
|
|
|
/* Define to 1 if the system has the type `pid_t'. */
|
|
#define HAVE_PID_T 1
|
|
|
|
/* Define to 1 if you have the `setbuffer' function. */
|
|
#define HAVE_SETBUFFER 1
|
|
|
|
/* Define to 1 if you have the `setpriority' function. */
|
|
#define HAVE_SETPRIORITY 1
|
|
|
|
/* Define to 1 if you have the `setvbuf' function. */
|
|
#define HAVE_SETVBUF 1
|
|
|
|
/* Define to 1 if you have the `sigaction' function. */
|
|
#define HAVE_SIGACTION 1
|
|
|
|
/* Define to 1 if you have the `sighold' function. */
|
|
#define HAVE_SIGHOLD 1
|
|
|
|
/* Define to 1 if you have the `sigprocmask' function. */
|
|
#define HAVE_SIGPROCMASK 1
|
|
|
|
/* Define to 1 if you have the `sigrelse' function. */
|
|
#define HAVE_SIGRELSE 1
|
|
|
|
/* Define to 1 if you have the `snprintf' function. */
|
|
#define HAVE_SNPRINTF 1
|
|
|
|
/* Define to 1 if you have the <stdarg.h> header file. */
|
|
#define HAVE_STDARG_H 1
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#define HAVE_STDINT_H 1
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#define HAVE_STDLIB_H 1
|
|
|
|
/* Define to 1 if you have the `strcasecmp' function. */
|
|
#define HAVE_STRCASECMP 1
|
|
|
|
/* Define to 1 if you have the `strchr' function. */
|
|
#define HAVE_STRCHR 1
|
|
|
|
/* Define to 1 if you have the `strerror' function. */
|
|
#define HAVE_STRERROR 1
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#define HAVE_STRINGS_H 1
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#define HAVE_STRING_H 1
|
|
|
|
/* Define to 1 if you have the `sysconf' function. */
|
|
#define HAVE_SYSCONF 1
|
|
|
|
/* Define to 1 if you have the <sysexits.h> header file. */
|
|
#define HAVE_SYSEXITS_H 1
|
|
|
|
/* Define to 1 if you have the <sys/resource.h> header file. */
|
|
#define HAVE_SYS_RESOURCE_H 1
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#define HAVE_SYS_STAT_H 1
|
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
|
#define HAVE_SYS_TIME_H 1
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#define HAVE_SYS_TYPES_H 1
|
|
|
|
/* Define to 1 if you have the <sys/utsname.h> header file. */
|
|
#define HAVE_SYS_UTSNAME_H 1
|
|
|
|
/* Define to 1 if you have the <termcap.h> header file. */
|
|
#define HAVE_TERMCAP_H 1
|
|
|
|
/* Define to 1 if you have the <term.h> header file. */
|
|
/* #undef HAVE_TERM_H */
|
|
|
|
/* Define to 1 if the system has the type `time_t'. */
|
|
#define HAVE_TIME_T 1
|
|
|
|
/* Define to 1 if the system has the type `uid_t'. */
|
|
#define HAVE_UID_T 1
|
|
|
|
/* Define to 1 if you have the `uname' function. */
|
|
#define HAVE_UNAME 1
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#define HAVE_UNISTD_H 1
|
|
|
|
/* Define to 1 if you have the `vsnprintf' function. */
|
|
#define HAVE_VSNPRINTF 1
|
|
|
|
/* Platform module */
|
|
#define MODULE "netbsd"
|
|
|
|
/* Default number of processes to display on non-terminals when topn is all */
|
|
#define NOMINAL_TOPN 40
|
|
|
|
/* Define the major OS revision number. */
|
|
#define OSMAJOR 4
|
|
|
|
/* Define the OS revision. */
|
|
#define OSREV 49962
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#define PACKAGE_BUGREPORT ""
|
|
|
|
/* Define to the full name of this package. */
|
|
#define PACKAGE_NAME "top"
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#define PACKAGE_STRING "top 3.8beta1"
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#define PACKAGE_TARNAME "top"
|
|
|
|
/* Define to the version of this package. */
|
|
#define PACKAGE_VERSION "3.8beta1"
|
|
|
|
/* Define as the return type of signal handlers (`int' or `void'). */
|
|
#define RETSIGTYPE void
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
#define STDC_HEADERS 1
|
|
|
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
|
#define TIME_WITH_SYS_TIME 1
|
|
|
|
/* Define as the type for the argument to the putc function of tputs ('int' or
|
|
'char') */
|
|
#define TPUTS_PUTC_ARGTYPE int
|
|
|
|
/* Define the system hardware platform */
|
|
#define UNAME_HARDWARE "@MACHINE@"
|
|
|
|
/* Include code that utilizes extensions */
|
|
/* #undef WITH_EXT */
|