Friday, October 13, 2023

awk one line command for displaying total storage assigned on AIX LPAR


#awk '{ sum += $1 } END { print sum }' list.txt

list.txt.  file contain pv size in 1St column of file

Approach 2 for calculating storage size on AIX
====================================
Thanks : 😊

No comments:

Post a Comment