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 | logger -t checkswap; done >/home/mit/swap.log

...merging the two approaches.  :-)  I'd expect swap.log to be empty,
with swapon(8)'s output going into the logging system.

Cheers, Ralph.

--
  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, ...  http://dorset.lug.org.uk/
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to