I want to know the status of swap memory on my system, to understand the same tried different commands, each command thrown different output, could someone help to understand the situation better
command 1: free -m
command 1 output:
total used free shared buff/cache available
Mem: 7661 1152 1820 69 4687 6359
Swap: 0 0 0
command 2: swapon --show
command 2 output:
NAME TYPE SIZE USED PRIO
/oraswap file 1024k 1024k -2