IBM Support

IZ75728: CINFO -R GIVES TRUNCATED START DATE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • PROBLEM DESCRIPTION:
    
    
    If a given process has been running for more than 24
    hours, then cinfo -r gives the start month and day
    instead of the start time. For some platforms, only
    the month is given.
    
    Linux example:
    
    # cinfo -r
    
    *********** Thu Apr 29 16:06:15 CDT 2010 ******************
    User: root Groups: root bin daemon sys adm disk wheel
    Host name : itm.support.tivlab.austin.ibm.com    Installer
    Lvl:06.22.01.00
    CandleHome: /opt/IBM/ITM
    ***********************************************************
    Host  Prod  PID    Owner  Start  ID    ..Status
    itm   kf    5086   root   Apr27  None  ...running
    itm   cq    5234   root   Apr27  None  ...running
    itm   hd    6043   root   Apr27  None  ...running
    itm   ms    9804   root   Apr27  TEMS  ...running
    itm   sy    30312  root   Apr27  None  ...running
    itm   ul    4949   root   Apr27  None  ...running
    itm   um    11089  root   Apr27  None  ...running
    itm   pa    22949  root   Apr28  None  ...running
    
    In contrast, AIX, Solaris, and HP give the following:
    
    # cinfo -r
    
    *********** Thu Apr 29 16:45:56 CDT 2010 ******************
    User: root Groups: system bin sys security cron audit lp
    Host name : bent.tivlab.austin.ibm.com   Installer
    Lvl:06.22.01.00
    CandleHome: /opt/IBM/ITM
    ***********************************************************
    Host  Prod  PID     Owner    Start  ID    ..Status
    bent  ms    266312  itmuser  Apr    TEMS  ...running
    bent  kf    602264  root     Apr    None  ...running
    bent  cq    757866  root     Apr    None  ...running
    bent  ux    315584  root     Apr    None  ...running
    bent  um    741446  root     Apr    None  ...running
    bent  sy    684114  root     Apr    None  ...running
    bent  hd    704744  root     Apr    None  ...running
    
    
    RECREATE INSTRUCTIONS:
    
    1. Install, configure, and start an agent or TEMS.
    2. Let the process run for > 24 hours.
    3. Invoke cinfo -r.
    

Local fix

  • There is no simple workaround other than running something
    like 'ps -fp <pid>' manually to get more complete start
    information.
    

Problem summary

  • The 'cinfo -R' command truncates the start date.
    
    The problem is that cinfo expects ps output to be the same for
    all platforms.  For processes that have run longer than 24
    hours, ps reports the start month and day instead of start time.
    On Linux, ps returns the form "MmmDD".  On AIX, Solaris, and HP,
    ps returns the form "Mmm DD" (note the space between month and
    day).  Since cinfo is doing a word parse, it gets just the month
    name.
    

Problem conclusion

  • The code was modified to get the correct start time and show the
    same value/format for all platforms: "MmmDD".
    
    
    The fix for this APAR is contained in the following maintenance
    packages:
    
      | fix pack | 6.2.2-TIV-ITM-FP0003
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ75728

  • Reported component name

    OMEG DIST INSTA

  • Reported component ID

    5608A41CI

  • Reported release

    622

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-05-06

  • Closed date

    2010-05-30

  • Last modified date

    2010-10-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    OMEG DIST INSTA

  • Fixed component ID

    5608A41CI

Applicable component levels

  • R622 PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTFXA","label":"Tivoli Monitoring"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"622"}]

Document Information

Modified date:
30 December 2022