loop
You need '' after --
loop --every 5min -- 'pstack 367854 > p$COUNT.pstack'
loop -until-success -- ./prog
loop -until-fail -- ./prog
# Keep trying a failing script until it passes, up to 5 times
loop --every 15s --num 5 -until-success -- ./prog
--num
loop --num 100 --count-by 1 -- './run_emu.csh > loop_$COUNT.txt'
loop --every 5s --num 100 -until-fail -- ./prog
https://github.com/Miserlou/Loop
broot
https://github.com/Canop/broot
Get an overview of a directory, even a big one
procs
A modern replacement for ps
procs
procs zsh
procs --tree
procs --sortd cpu
https://github.com/dalance/procs
fd
A simple, fast and user-friendly alternative to 'find'
FLAGS:
-L, --follow Follow symbolic links
-H, --hidden Search hidden files and directories
-g, --glob Glob-based search (default: regular expression)
-a, --absolute-path Show absolute instead of relative paths
-I, --no-ignore Do not respect .(git|fd)ignore files
OPTIONS:
-t, --type <filetype>... Filter by type: file (f), directory (d), symlink (l), executable (x), empty (e), socket (s), pipe (p)
-e, --extension <ext>... Filter by file extension
https://github.com/sharkdp/fd
timeout
https://github.com/pshved/timeout
Limit both time and memory (adjust number to match the command above):
./timeout -m 1000000 -t 9 perl -e 'while ($i<100000000) {$x->{$i} = $i++;}'
/usr/local/bin/timeout
timeout --version
timeout (GNU coreutils) 8.12
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
timeout 1h sleep 10h
shell2http
./shell2http/shell2http -port 8787 \
/date date /ps "ps aux" \
/vnc "vncserver" \
/vnchttp "~/opt/ts-1.0/bin/ts ~/opt/noVNC/utils/launch.sh --vnc localhost:5901 --listen 8080"
else
-
hyperfine
-
rg