On my Fedora 24, I executed two commands to examine the memory information, however, I got two different results about swap cache's size.The first command is as follows:[root@localhost ~]# vmstat -s      4029004 K total memory      1043700 K used memory       742144 K active memory       321916 K inactive memory      2372500 K free memory        63628 K buffer memory       549176 K swap cache      4063228 K total swap            0 K used swap      4063228 K free swap      ......The second command is as follows:[root@localhost ~]# cat /proc/meminfoMemTotal:        4029004 kBMemFree:         2369712 kBMemAvailable:    2690460 kBBuffers:           63720 kBCached:           437460 kBSwapCached:            0 kB......Please note: vmstat -s says 549176 K swap cache, while cat /proc/meminfo says SwapCached: 0 kB.My question are:What does it mean by swap cache?What does it mean by SwapCached?Are they the same thing? If no, what's the difference between them?
swap cache of vmstat vs. SwapCached of /proc/meminfo
linux;memory