/proc/<pid>/stat utime not updating
- Dominant language
- C
- Stars
- 20.5k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
I was trying to get cpulimit by opsengine to work on iSH. Walking through its source code, I found it depends on getting the utime (user mode jiffies) of a process in the /proc/\/stat pseudo-file. However, this parameter is always zero, and never changes. There may also
be other parameters that don't change, but I have not investigated them yet.
More information can be found in this file:
[extraInfo.txt](https://github.com/ish-app/ish/files/5934767/extraInfo.txt)
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue using the /proc//stat pseudo-file and compare its utime value while a process runs. Review extraInfo.txt and the behavior expected by cpulimit by opsengine. Done means utime updates for running processes, with any additional unchanged parameters identified and addressed if confirmed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100