hishamhm / htop

htop is an interactive text-mode process viewer for Unix systems. It aims to be a better 'top'.
GNU General Public License v2.0
5.84k stars 581 forks source link

STARTTIME can be misleading/wrong (because of lacking refresh) #928

Open DJCrashdummy opened 5 years ago

DJCrashdummy commented 5 years ago

lets assume i started htop (or whatever other process) a few minutes ago, so the STARTTIME column shows 17:00. for other processes which started more than 24 hours ago only the date like Jul26 is shown. so far so good, but if i leave htop running e.g. in a tmux session, then also more than 24 hours or even days later the STARTTIME column still shows 17:00 instead of Jul27 for htop!

at long-time monitoring this can really be misleading (see #595) or even cause mistakes/problems. also the workaround to restart htop is a little bit clumsy and not really applicable if you are monitoring more than a hand full of processes.

alternatively ditch the whole column and replace it with something like "RUNTIME" like proposed in #187, which would be even more accurate.