Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I run top and sort by TIME+ column. Notice that the first process' TIME+ has an odd format.
That large value shows up the moment I run this program and never changes. Is this a bug in top.
# top -version
top: procps version 3.2.8
Code:
# top
top - 04:24:14 up 5 days, 58 min, 14 users, load average: 0.29, 0.25, 0.19
Tasks: 173 total, 1 running, 172 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.8%us, 0.5%sy, 0.0%ni, 96.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2005524k total, 1837696k used, 167828k free, 212692k buffers
Swap: 4088504k total, 0k used, 4088504k free, 614640k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6009 user 1 0 2104 788 576 S 0 0.0 71571:54 mbedit
3876 root 1 0 134m 48m 25m S 1 2.5 64:48.26 X
2100 user 1 0 192m 54m 24m S 3 2.8 48:06.01 konsole
4273 user 1 0 342m 83m 20m S 0 4.3 47:33.05 plasma-desktop
4259 user 1 0 332m 78m 11m S 0 4.0 37:13.52 kwin
I'm using it so it definitely not hung. 71571 hours is much more than the machine's uptime of 5 days. And that value shows up as soon as the process starts.
I'm using it so it definitely not hung. 71571 hours is much more than the machine's uptime of 5 days. And that value shows up as soon as the process starts.
That should be 71571 minutes!
64:48.26 -> 64 minutes, 48 seconds and 26 hundredths of a second.
I'm using it so it definitely not hung. 71571 hours is much more than the machine's uptime of 5 days. And that value shows up as soon as the process starts.
Not hung (I used the wrong word) but even if in a sleeping or waiting status, the point is that it doesn't use the CPU so the TIME count is not increased. The TIME column shows the CPU time, not the elapsed time.
You right 71571 minutes, which is over 49 days, and uptime is less than 6 days. So my point is even if the process had run at 100% cpu since up, this number would still have to be much smaller.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.