dotfiles

configuration files
git clone https://pi.duncano.de/git/dotfiles.git
Log | Files | Refs | README

commit 1b46c312bf8f740721634869b35a210567946494
parent 592ce537ede258d33315dcf0ea3879bf3a3e0ff1
Author: Duncaen <mail@duncano.de>
Date:   Mon, 13 Feb 2017 01:21:00 +0100

bin/oomtop: add desc and make headers distinguishable

Diffstat:
bin/oomtop | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/oomtop b/bin/oomtop @@ -1,6 +1,7 @@ #!/bin/sh +# oomtop - lists processes by oom score -printf "score\tpid\tcommand\n" >&2 +printf "SCORE\tPID\tCOMMAND\n" >&2 for f in /proc/[0-9]*; do s=$(cat "$f/oom_score") [ "$s" -eq 0 ] && continue