I have SunOS 5.10 sparc server. I want to calculate buffer memory. I can easily find this in Linux using /usr/bin/free command.
total used free shared buffers cached Mem: 8004388 7427228 577160 0 472196 3336544 -/+ buffers/cache: 3618488 4385900 Swap: 11534628 0 11534628
Can anyone please suggest me if there is any equivalent command in SunOS. It would be better if anyone can give me any Perl script to find the same in below format.