[Dorset] Linksys WRT1900ACS

2018-12-02 Thread Tim
Anybody got one of these routers, have you had issue would be interested in any comments please Regards Tim -- Next meeting at *new* venue: Bournemouth, Tuesday, 2018-12-04 20:00 Check if you're replying to the list or the author Meetings, mailing list, IRC, ...

Re: [Dorset] Swap file issue

2018-12-02 Thread Tim
On 02/12/2018 15:57, Tim wrote: On 02/12/2018 12:53, Ralph Corderoy wrote: Hi Tim, Keith asked: I noticed a script I added several month ago (and completely forgotten it) which cleared the swap and memory cache over night Glad you found the problem, but what were (are) you trying to achieve

Re: [Dorset] Swap file issue

2018-12-02 Thread Tim
On 02/12/2018 12:53, Ralph Corderoy wrote: Hi Tim, Keith asked: I noticed a script I added several month ago (and completely forgotten it) which cleared the swap and memory cache over night Glad you found the problem, but what were (are) you trying to achieve with that script? Yeah, if you

Re: [Dorset] Swap file issue

2018-12-02 Thread Ralph Corderoy
Hi Tim, > > > > > while sleep 50; do date -Is; swapon -s; done >swap.log > > > > > > > > while sleep 50; do swapon -s | logger -t checkswap > > > > while sleep 50; do swapon -s | logger -t checkswap; done > > OK I changed my the command to > >  while sleep 50; do swapon -s |

Re: [Dorset] Swap file issue

2018-12-02 Thread Ralph Corderoy
Hi Tim, Keith asked: > > I noticed a script I added several month ago (and completely > > forgotten it) which cleared the swap and memory cache over night > > Glad you found the problem, but what were (are) you trying to achieve > with that script? Yeah, if you have processes running that use

Re: [Dorset] Swap file issue

2018-12-02 Thread Keith Edmunds
On Sun, 2 Dec 2018 12:17:19 +, t...@xendistar.co.uk said: > I noticed a script I added several month ago (and completely forgotten it) > which cleared the swap and memory cache over night Glad you found the problem, but what were (are) you trying to achieve with that script? -- Linux

Re: [Dorset] Swap file issue

2018-12-02 Thread Tim
On 02/12/2018 11:36, Ralph Corderoy wrote: Hi Tim, while sleep 50; do date -Is; swapon -s; done >swap.log Nice, but I'd use: while sleep 50; do swapon -s | logger -t checkswap ... $ sudo grep checkswap /var/log/messages Ok stupid question time, I assume I just enter "while

Re: [Dorset] Swap file issue

2018-12-02 Thread Ralph Corderoy
Hi Tim, > I then removed all those lines which were from the firewall regarding > traffic in and out, this left me with 300+ plus lines to look at. That's a `grep -v ...'. Often built up in stages, e.g. less /var/log/pacman.log grep -v ' installed ' /var/log/pacman.log | less

Re: [Dorset] Swap file issue

2018-12-02 Thread Tim
On 02/12/2018 11:15, Tim wrote: On 01/12/2018 12:45, Keith Edmunds wrote: On Sat, 01 Dec 2018 12:31:46 +, ra...@inputplus.co.uk said: while sleep 50; do date -Is; swapon -s; done >swap.log Nice, but I'd use: while sleep 50; do swapon -s | logger -t checkswap That will put an

Re: [Dorset] Swap file issue

2018-12-02 Thread Ralph Corderoy
Hi Tim, > > > while sleep 50; do date -Is; swapon -s; done >swap.log > > > > Nice, but I'd use: > > > > while sleep 50; do swapon -s | logger -t checkswap ... > > $ sudo grep checkswap /var/log/messages > > Ok stupid question time, I assume I just enter > > "while sleep 50; do swapon -s

Re: [Dorset] Swap file issue

2018-12-02 Thread Keith Edmunds
On Sun, 2 Dec 2018 11:15:23 +, t...@xendistar.co.uk said: > sudo grep checkswap /var/log/messages > > Assuming that is correct it has not shown me anything. OK, it should be creating an entry every 50 seconds, so something is wrong. It may be that the message isn't going into

Re: [Dorset] Swap file issue

2018-12-02 Thread Tim
On 01/12/2018 12:45, Keith Edmunds wrote: On Sat, 01 Dec 2018 12:31:46 +, ra...@inputplus.co.uk said: while sleep 50; do date -Is; swapon -s; done >swap.log Nice, but I'd use: while sleep 50; do swapon -s | logger -t checkswap That will put an entry in the system logger