Read this blog post first ->
https://ermanarslan.blogspot.com/2014/04/linux-understanding-free-command-output.htmlThe defition of those 2 columns are as follows;
Ref: Linux free manual
Shared column -> Memory used (mostly) by tmpfs (Shmem in /proc/meminfo)
Available -> Estimation of how much memory is available for starting new applications, without swapping. Unlike the data provided by the cache or free fields, this field takes into account page cache and also that not all reclaimable memory slabs will be reclaimed due to items being in use .