Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STARTTIME is incorrect #202

Closed
cherio opened this issue Oct 3, 2020 · 4 comments
Closed

STARTTIME is incorrect #202

cherio opened this issue Oct 3, 2020 · 4 comments

Comments

@cherio
Copy link

cherio commented Oct 3, 2020

I have several up-to-date instances of Ubuntu 20.04 and one of them consistently shows incorrect STARTTIME. The column often shows the same timestamp for most processes with only a handful of top level exceptions like /sbin/init and /lib/systemd/systemd.

In the same instance the old issue of process name not being completely refreshed is back. This is very noticeable with postrgesql processes that change process name according to the command they execute. E.g. when a process changes state from running a SELECT to idle the process name changes from SELECT to idleCT keeping the last 2 characters "CT" of SELECT.

As a reference top when run with -o lstart produces correct process start timestamp.

:~# htop -v
htop 2.2.0 - (C) 2004-2019 Hisham Muhammad
Released under the GNU GPL.

@BenBE
Copy link
Member

BenBE commented Oct 3, 2020

Can you check the issue using the current master branch (or the latest release version 3.0.2)?

@cherio
Copy link
Author

cherio commented Oct 4, 2020

I downloaded 3.0.2-1 package from debian testing (bullseye), installed it in Ubuntu 20.04.1 LTS and STARTTIME seems to work correctly. I can't do this in production environment though, production requirements are to have everything installed from the standard repositories.

@BenBE
Copy link
Member

BenBE commented Oct 4, 2020

Unfortunately we do not have much influence on when downstream distributions pull newer versions from here. For a list which version is available where have a look at #62 (comment). Also as noted in #62 (comment) you might be able to use the htop snap as an alternative.

@fasterit
Copy link
Member

fasterit commented Oct 4, 2020

Also note "production requirements" are documents written by people. They can be amended if you care to avoid the small bug enough to warrant that.

@BenBE BenBE closed this as completed Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants