Salta la navigazione

gawk -F"[= ]" '{ sum = sum + $NF; count = count + 1; if ($NF > max) max = $NF; } END { printf"count=%d avg=%d max=%d\n", count, sum/count, max}'

Lascia un Commento

Fill in your details below or click an icon to log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Log Out / Modifica )

Foto Twitter

You are commenting using your Twitter account. Log Out / Modifica )

Foto di Facebook

You are commenting using your Facebook account. Log Out / Modifica )

Connecting to %s

Follow

Get every new post delivered to your Inbox.