Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F23511840
avg's UMA one-liner
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
allanjude
Jun 11 2021, 1:28 PM
2021-06-11 13:28:35 (UTC+0)
Size
372 B
Referenced Files
None
Subscribers
None
avg's UMA one-liner
View Options
vmstat -z | tail +3 | awk -F '[:,] *' 'BEGIN { total=0; cache=0; used=0 } {u = $2 * $4; c = $2 * $5; t = u + c; cache += c; used += u; total += t; name=$1; gsub(" ", "_", name); print t, name, u, c} END { print total, "TOTAL", used, cache } ' | sort -n | perl -a -p -e 'while (($j, $_) = each(@F)) { 1 while s/^(-?\d+)(\d{3})/$1,$2/; print $_, " "} print "\n"' | column -t
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3821067
Default Alt Text
avg's UMA one-liner (372 B)
Attached To
Mode
P505 avg's UMA one-liner
Attached
Detach File
Event Timeline
Log In to Comment