ish-app / ish-app/ish

/proc/<pid>/stat utime not updating

Open
#1,263 1 comment 0 reactions 0 assignees View on GitHub
unconfirmed
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.