Find the answer to your Linux question:
Results 1 to 7 of 7
Hello, Can somebody help me with top column TIME+ (second from left). On my box, there is values like 12786:26 (part of them copied above). 10955 postgres 21 0 58496 ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    5

    top commands time+

    Hello,

    Can somebody help me with top column TIME+ (second from left). On my box, there is values like 12786:26 (part of them copied above).

    10955 postgres 21 0 58496 41m 36m R 30.2 0.2 4326:43 postmaster
    19105 postgres 25 0 58496 41m 36m R 28.9 0.2 2389:22 postmaster
    13587 postgres 25 0 57324 40m 36m R 27.6 0.2 12786:26 postmaster

    What does this mean? I used to know 12:01.10

    My box is running CentOs5.4

    --
    Kupen

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    strange ...I don't know that ...may be try using ps aux | grep postgres to get time and compare the time with top command .

    HTH
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    5
    Thanks,

    I ps my processes and cannot identify correct one, but it seems that 12345:48 means 12345 minutes and 48 seconds?

  4. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    I'm not sure .Please let us know ,what are trying to achieve ?

    From "man top"

    l: TIME -- CPU Time
    Total CPU time the task has used since it started. When ’Cumulative
    mode’ is On, each process is listed with the cpu time that it and
    its dead children has used. You toggle ’Cumulative mode’ with ’S’,
    which is a command-line option and an interactive command. See the
    ’S’ interactive command for additional information regarding this
    mode.

    m: TIME+ -- CPU Time, hundredths
    The same as ’TIME’, but reflecting more granularity through hun-
    dredths of a second.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  5. #5
    Just Joined!
    Join Date
    Mar 2010
    Posts
    5
    Hi,

    I noticed that on one of our server there are tens of processess with big amount of TIME+ on top. I tried to find our what they are. Something to do with postgres database.

    I have previously not seen time+ times like this and now I try to find out, can I just kill them.

    Thanks!

  6. #6
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    does all other process in top command has same time format? are you sure postgres is not needed by any application ? This thread says minutes:second format for top command.

    IT Resource Center forums - Top Command TIME Format - This thread has been closed
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  7. #7
    Just Joined!
    Join Date
    Mar 2010
    Posts
    5
    yeps it seems. that all are in same format, except which has run only a few seconds they are like 00:05.10

    Out web-software are using postgres db, but all transactions which has been run over 10 minutes are not valid!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...