Welcome to mirror list, hosted at ThFree Co, Russian Federation.

memusage « scripts - git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4ef5608fd095fe342bb0e6f0d653ed8df949e59e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

busybox=../busybox

i=4000
echo "Before we started $i copies of '$busybox sleep 10':"
$busybox nmeter '%t %[pn] %m' | head -3

while test $i != 0; do
    $busybox sleep 10 &
    i=$((i-1))
done
sleep 1

echo "After:"
$busybox nmeter '%t %[pn] %m' | head -3