I have log files like this for some top data:
Mon May 9 23:45:02 EDT 2016 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 14816 radius 25 0 848m 415m 10m S 10 2.6 274:05.28 java
How does one get the first line and just the value for %MEM?
I have tried
paste but not having any luck.
Somehow the data is not perfect in that I can't always trust the the value is the 21st spot.