P

procps

Command line and full screen utilities for browsing procfs, a "pseudo" file system dynamically generated by the kernel to provide information about the status of entries in its process table.

Project ID: 247135
  • jim warner's avatar
    top: a tweak to the forest view collapsed code (again) · b3b7a350
    jim warner authored
    From the outset, top has tried to provide some minimal
    garbage collection in support of forest view collapse.
    For example, with every 'v' keystroke, a check is made
    of the currently targeted pids.  If all were negative,
    which means expanded, that Hide_pid array was emptied.
    
    Recently, yet another efficiency was added wherein the
    continuing scan for a targeted pid was terminated when
    a match was found. But, one more inefficiency existed.
    
    When a task which was subject to collapse under forest
    view mode has disappeared (ended), repeatedly scanning
    for such a pid with each iteration makes little sense.
    
    So this commit will negate such targeted pids and thus
    avoid scanning every current task looking for a match.
    Then, if 'v' is ever stuck at some point in the future
    there will be a chance to empty that Hide_pid[] array.
    
    [ hopefully this will be a final tweak of the forest ]
    [ view collapse stuff, but cross your fingers anyway ]
    Signed-off-by: jim warner's avatarJim Warner <james.warner@comcast.net>
    b3b7a350
Name
Last commit
Last update
Documentation Loading commit data...
contrib Loading commit data...
include Loading commit data...
lib Loading commit data...
man-po Loading commit data...
misc Loading commit data...
po Loading commit data...
proc Loading commit data...
ps Loading commit data...
testsuite Loading commit data...
top Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
ChangeLog Loading commit data...
INSTALL.md Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
create-man-pot.sh Loading commit data...
free.1 Loading commit data...
free.c Loading commit data...
kill.1 Loading commit data...
pgrep.1 Loading commit data...
pgrep.c Loading commit data...
pidof.1 Loading commit data...
pidof.c Loading commit data...
pkill.1 Loading commit data...
pmap.1 Loading commit data...
pmap.c Loading commit data...
procio.c Loading commit data...
pwdx.1 Loading commit data...
pwdx.c Loading commit data...
skill.1 Loading commit data...
skill.c Loading commit data...
slabtop.1 Loading commit data...
slabtop.c Loading commit data...
snice.1 Loading commit data...
sysctl.8 Loading commit data...
sysctl.c Loading commit data...
sysctl.conf Loading commit data...
sysctl.conf.5 Loading commit data...
tload.1 Loading commit data...
tload.c Loading commit data...
translate-man.sh Loading commit data...
uptime.1 Loading commit data...
uptime.c Loading commit data...
vmstat.8 Loading commit data...
vmstat.c Loading commit data...
w.1 Loading commit data...
w.c Loading commit data...
watch.1 Loading commit data...
watch.c Loading commit data...