View Single Post
Posts: 2,292 | Thanked: 4,135 times | Joined on Apr 2010 @ UK
#1
I am having a issue with a script I am trying to write and I just can't work out why it's not working.

The issue is that on my N900 the multiply command on line 47 doesn't multiply correctly.
It however seems to work fine on my Ubuntu desktop which is puzzling me.
I have tried multiple methods to calculate but it just isn't correct.
I am trying to multiply a value by 100 (to get percent) and you can clearly tell that it isn't doing so.

The script is to calculate swap de-fragmentation without needing iostat

Any help will be greatly appreciated. Thanks
Attached Files
File Type: gz swapblocks.sh.tar.gz (906 Bytes, 75 views)
__________________

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


Before posting or starting a thread please try this.

Last edited by sixwheeledbeast; 2012-12-04 at 21:39.