new default display

This commit is contained in:
albert 2002-10-11 22:45:09 +00:00
parent c4268a47b9
commit 3615538e2e
2 changed files with 9 additions and 7 deletions

8
NEWS
View File

@ -1,3 +1,11 @@
procps-3.0.1 --> procps-3.0.2
new "make install" fixed
fix top for non-SMP 2.2.xx and 2.0.xx
vmstat -a fixed
vmstat compiles with latest gcc-3.x
vmstat does 64-bit time
procps-3.0.0 --> procps-3.0.1 procps-3.0.0 --> procps-3.0.1
sysctl handles net/ipv4/conf/eth1.0123/tag (VLAN interface) sysctl handles net/ipv4/conf/eth1.0123/tag (VLAN interface)

8
top.h
View File

@ -29,7 +29,6 @@
//#define CASEUP_SUMMK /* show memory summary kilobytes with 'K' */ //#define CASEUP_SUMMK /* show memory summary kilobytes with 'K' */
//#define POSIX_CMDLIN /* use '[ ]' for kernel threads, not '( )' */ //#define POSIX_CMDLIN /* use '[ ]' for kernel threads, not '( )' */
//#define SORT_SUPRESS /* *attempt* to reduce qsort overhead */ //#define SORT_SUPRESS /* *attempt* to reduce qsort overhead */
//#define TICS_64_BITS /* accommodate Linux 2.5.xx 64-bit jiffies */
//#define USE_LIB_STA3 /* use lib status (3 ch) vs. proc_t (1 ch) */ //#define USE_LIB_STA3 /* use lib status (3 ch) vs. proc_t (1 ch) */
//#define WARN_NOT_SMP /* restrict '1' & 'I' commands to true smp */ //#define WARN_NOT_SMP /* restrict '1' & 'I' commands to true smp */
@ -127,13 +126,8 @@
typedef unsigned char PFLG_t; typedef unsigned char PFLG_t;
/* These typedefs attempt to ensure consistent 'ticks' handling */ /* These typedefs attempt to ensure consistent 'ticks' handling */
#ifdef TICS_64_BITS
typedef unsigned long long TICS_t; typedef unsigned long long TICS_t;
typedef long long STIC_t; typedef long long STIC_t;
#else
typedef unsigned long TICS_t;
typedef long STIC_t;
#endif
/* Sorted columns support. */ /* Sorted columns support. */
typedef int (*QSORT_t)(const void *, const void *); typedef int (*QSORT_t)(const void *, const void *);
@ -293,7 +287,7 @@ typedef struct win {
/* The default fields displayed and their order, /* The default fields displayed and their order,
if nothing is specified by the loser, oops user */ if nothing is specified by the loser, oops user */
#define DEF_FIELDS "AbcdEfgHIjKlMNOPQrstuvWXyz" #define DEF_FIELDS "AEHIOQTWKNMXbcdfgjplrsuvyz"
/* Pre-configured field groupss */ /* Pre-configured field groupss */
#define JOB_FIELDS "ABXcefgjlrstuvyzMKNHIWOPQD" #define JOB_FIELDS "ABXcefgjlrstuvyzMKNHIWOPQD"
#define MEM_FIELDS "ANOPQRSTUVXbcdefgjlmyzWHIK" #define MEM_FIELDS "ANOPQRSTUVXbcdefgjlmyzWHIK"