Print this page
2989 Eliminate use of LOGNAME_MAX in ON
1166 useradd have warning with name more 8 chars

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/prstat/prstat.h
          +++ new/usr/src/cmd/prstat/prstat.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
       23 + * Copyright (c) 2013 Gary Mills
       24 + *
  23   25   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24   26   * Use is subject to license terms.
  25   27   *
  26   28   * Portions Copyright 2009 Chad Mynhier
  27   29   */
  28   30  
  29   31  #ifndef _PRSTAT_H
  30   32  #define _PRSTAT_H
  31   33  
  32   34  #include <sys/sysmacros.h>
↓ open down ↓ 33 lines elided ↑ open up ↑
  66   68  #define OPT_FULLSCREEN  0x0200          /* full-screen mode flag */
  67   69  #define OPT_USEHOME     0x0400          /* use 'home' to move cursor up */
  68   70  #define OPT_TASKS       0x0800          /* report about system tasks */
  69   71  #define OPT_PROJECTS    0x1000          /* report about system projects */
  70   72  #define OPT_ZONES       0x2000          /* report about zones */
  71   73  #define OPT_PSETS       0x4000          /* report for specified psets */
  72   74  #define OPT_LGRP        0x8000          /* report home lgroups */
  73   75  #define OPT_UDATE       0x20000         /* print unix timestamp */
  74   76  #define OPT_DDATE       0x40000         /* print timestamp in date(1) format */
  75   77  #define OPT_NORESOLVE   0x80000         /* no nsswitch lookups */
       78 +#define OPT_TRUNC       0x100000        /* truncate long names */
  76   79  
  77   80  /*
  78   81   * Flags to keep track of process or lwp status
  79   82   */
  80   83  #define LWP_ALIVE       0x0008          /* this pid/lwp still exists */
  81   84  #define LWP_REPRESENT   0x0010          /* this LWP represents the process */
  82   85  
  83   86  /*
  84   87   * Possible list types
  85   88   */
↓ open down ↓ 88 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX