Here is what I currently have.
BEGIN {FS = ","
format = "%-10s%-10s%-10s%-10s%-10s%-10s%-10s%-10s%-10s%-10s%-10s%-10s\n"
printf (format,"PID","%CPU","%Usr","%Sys","Threads","Size","ResText","ResData","CharIO","RAM","Paging","Command")
printf...
All, While I have been tinkering my awk skills are not that great.
I have a file that has TOP information and I need to do some merging of lines and get a fixed header among other things.
The first thing I want to do is concatenate the TOP line with the UARG line. There is always a TOP but not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.