Richard Kettlewell wrote:
> bob prohaska writes:
>> Is there a program equivalent to swapinfo for Rasbian? I'm
>> using a Pi3 with the latest version of Rasbian. The machine
>> is configured to use dphys-swapfile, I've added a USB flash
>> swap drive and I'd like to see the effect of adding a second
>> USB flash drive. It's hard to understand what's going on without
>> some utility to compare usage.
>>
>> I've tried using apt-get install swapinfo, but it's not found.
>> Is there something lurking under a different name?
>
> The web suggests that swapinfo is an HP-UX command. Try ‘free’ on Linux.
>
> $ free
> total used free shared buff/cache
> available
> Mem: 444536 26996 123140 35584 294400
> 349188
> Swap: 909308 9020 900288
And, if that's not enough, the OP can
/sbin/swapon -s
or
cat /proc/swaps
to get more info (both report the same info)
~ $ /sbin/swapon -s
Filename Type Size Used Priority
/dev/sda3 partition 31471328 1180 -1
~ $ cat /proc/swaps
Filename Type Size Used Priority
/dev/sda3 partition 31471328 1180 -1
HTH
--
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|