Skip to content

Commit

Permalink
tweak xargs args
Browse files Browse the repository at this point in the history
  • Loading branch information
toralf committed Aug 8, 2024
1 parent 3270e19 commit a31a51b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ function printMetricsIpsets() {
grep '^tor-'${mode}${v}'-' |
while read -r name; do
export nickname=${NICKNAME:-$(_ipset2nickname $name)}
echo "nickname=$nickname; v=$v; ipset list -s $name | sed -e '1,8d' | _histogram"
echo "\"nickname=$nickname; v=$v; ipset list -s $name | sed -e '1,8d' | _histogram\""
done |
xargs -r -P $cpus -I '{}' bash -c "{}"
xargs -r -P $cpus -L 1 bash -c
done

###############################
Expand Down

0 comments on commit a31a51b

Please sign in to comment.