View Single Post
Posts: 2,292 | Thanked: 4,135 times | Joined on Apr 2010 @ UK
#77
Originally Posted by peterleinchen View Post
I think it was me dumbhead here

cat /proc/swaps
should give you info what swap is enabled...
Ok ta

Using
Code:
cat /proc/swaps | awk '/dev/ {print $1}'
output in a terminal is ok but not in the scripts, tried a few other ways too. will keep researching.
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following User Says Thank You to sixwheeledbeast For This Useful Post: