Re: [OCLUG-Tech] is "xargs" really still useful just for limiting command line size?

2018-03-20 Thread Peter Sjöberg
On 2018-03-16 09:27 AM, Robert P. J. Day wrote: > > course i taught recently had a section on "xargs", emphasizing its > value(?) in being able to run a command in bite-size pieces but, these > days, is that really that much of an issue? > > IIRC (and i might not), the historical limiting

Re: [OCLUG-Tech] is "xargs" really still useful just for limiting command line size?

2018-03-20 Thread Peter Sjöberg
On 2018-03-16 11:39 AM, Brett Delmage wrote: > On Fri, 16 Mar 2018, J C Nash wrote: > >> This may introduce a tangent, but I find the limit is often not the >> coded one but issues related to >> - getting 250 characters into the line and not remembering whether the >>   parameter should be X or x

Re: [OCLUG-Tech] asterix + pots + raspberry pi = good ?

2017-09-27 Thread Peter Sjöberg
ds, > > Peter > > -=-=-=-=-=-= > > >> -- Forwarded message -- >> From: "Peter Sjöberg" <peters-oc...@techwiz.ca> >> To: Linux@lists.oclug.on.ca >> Cc: >> Bcc: >> Date: Mon, 25 Sep 2017 14:03:55 -0400 >> Su

Re: [OCLUG-Tech] asterix + pots + raspberry pi = good ?

2017-09-25 Thread Peter Sjöberg
On 25/09/17 02:25 PM, Dianne Skoll wrote: > On Mon, 25 Sep 2017 14:19:43 -0400 > Bill Strosberg wrote: > >> I'm no telephony expert by any chance but I would think a Pi might >> not have enough horsepower to handle things - I run things on a quad >> core A7 box with a couple

[OCLUG-Tech] asterix + pots + raspberry pi = good ?

2017-09-25 Thread Peter Sjöberg
I guess it should work but never been playing with asterisk,voip or so I'm asking for an over all opinion. Customer has 3 POTS to an old Talkswitch ct.ts001 pbx and from that it then goes over intranet to a pile of voip phones (talkswitch TS-350i). The system has started to act up a bit (it cut

Re: [OCLUG-Tech] How to convert a character MAC address into individual hex bytes for writing?

2017-07-28 Thread Peter Sjöberg
On 28/07/17 07:22 AM, rpj...@crashcourse.ca wrote: > > OK, this exercise should be a bit trickier -- given a character MAC > address, how can I break it into individual hex chars for writing to > EEPROM? So the script takes the argument, say, "A0:B1:C2:D3:E4:F5", > and I need to, one nibble at

Re: [OCLUG-Tech] Shell scripting: how to loop through characters of a string?

2017-07-28 Thread Peter Sjöberg
On 28/07/17 07:15 AM, rpj...@crashcourse.ca wrote: > > Curious about the best(?) way to do some simple operations in a shell > script > that I would *prefer* to be POSIX-compliant, so here's the first > question -- > how to loop through the individual characters of a string? > > I just

[OCLUG-Tech] fibre cabling issue

2017-05-21 Thread Peter Sjöberg
I'm looking for someone who can help me with a fibre problem I have. Inside a junction box the fibre cable that goes to the connector is no longer in one piece, it is broken. I think it is enough cable left before the connector that it could be spliced or I could just put on a new connector but in

[OCLUG-Tech] how can I control network bandwidth usage?

2017-05-03 Thread Peter Sjöberg
I'm currently in cottage country and internet here is limited. Talked to the people and I'm now wondering how it could be fixed. Setup is basically bell vdsl modem, wireless router -> unmanaged switch. From the switch it is a copper to fibre adapter and then fibre to each cottage. In each

[OCLUG-Tech] ipv6 routing/mtu/? issue

2016-07-21 Thread Peter Sjöberg
I have a problem with my ipv6 connection and have now narrowed it down to something I can reproduce and analyze - just don't have the skill needed to figure it out. I have native adsl ipv6 from teksavvy that goes to a linux firewall. This serves me ok and I can reach a lot of ipv6 stuff but some

Re: [OCLUG-Tech] Simple Chron Job request

2016-06-04 Thread Peter Sjöberg
On 03/06/16 02:38 PM, Trevor James wrote: > Good Day everyone, I know this is one that someone in the know can do in > about 2 minutes and will take me a couple of hours of google time to figure > out. Dunno if it's the best way to test the backup or so but the task it self is simple enough (and

Re: [OCLUG-Tech] Odd behaviour in find

2015-11-26 Thread Peter Sjöberg
On 11/25/2015 03:58 PM, Alex Pilon wrote: >>>> On 15-11-25 01:39 PM, Alex Pilon wrote: >>>>> Is it just me or should this work? >> > On Wed, Nov 25, 2015 at 03:45:38PM -0500, Peter Sjöberg wrote: >> It's just you who skipped reading the man page >

Re: [OCLUG-Tech] Odd behaviour in find

2015-11-25 Thread Peter Sjöberg
On 11/25/2015 02:21 PM, Alex Pilon wrote: >> On 15-11-25 01:39 PM, Alex Pilon wrote: >>> Is it just me or should this work? It's just you who skipped reading the man page find [-H] [-L] [-P] [-D debugopts] [-Olevel] [path...] [expression] note that we have some options before "path" and

Re: [OCLUG-Tech] Topics and Location for October meeting

2014-09-27 Thread Peter Sjöberg
On 09/26/2014 10:45 AM, Alex Pilon wrote: On 09/25/2014 08:35 PM, Jean-Francois Messier wrote: Do we know where the meeting will be held and what the topics will be ? On Fri, Sep 26, 2014 at 09:49:10AM -0400, Peter Sjöberg wrote: Can't talk for location but for one of the topics I'm going

Re: [OCLUG-Tech] Topics and Location for October meeting

2014-09-26 Thread Peter Sjöberg
On 09/25/2014 08:35 PM, Jean-Francois Messier wrote: Do we know where the meeting will be held and what the topics will be ? Can't talk for location but for one of the topics I'm going to show a introduction on how to get started with Arduino on linux and will take some of the projects I made

Re: [OCLUG-Tech] FYI: Phone Scam for Windows Support

2014-08-09 Thread Peter Sjöberg
On 08/08/2014 03:56 PM, dpatte wrote: I usually put them on hold and see how long they last. The winner so far was6 minutes Done that when they start the call with I'm calling long distance from xxx, listen long enough that I can say please hold while I get my credit card.. M$ support, when I

Re: [OCLUG-Tech] a compelling application for bind mounts?

2014-01-02 Thread Peter Sjöberg
On 12/26/2013 11:16 PM, Richard Guy Briggs wrote: On 13/12/26, Peter Sj?berg wrote: Besides what other already said I commonly use it to find out why / (or any other fs with multiple fs mounted on top) is filled up mount --bind / /mnt/root du -sh /mnt/root/*|sort -h since then all the

Re: [OCLUG-Tech] a compelling application for bind mounts?

2013-12-26 Thread Peter Sjöberg
On 12/26/2013 01:11 PM, Robert P. J. Day wrote: On Thu, 26 Dec 2013, Bart Trojanowski wrote: Similar to chroots, I use bind mounts for containers. This is useful to give all containers access to the same /home or for distributing /etc/resolv.conf. The latter is actually a very cool use case

Re: [OCLUG-Tech] free mailing list host

2013-11-30 Thread Peter Sjöberg
% of the emails(users can't) and any message must be created in the provided editor (which doesn't allow attachments or even pictures) - not just send an email to some email address. mailchimp/Yahoo/google, adding them to my list of things to check on. On Fri, 2013-11-29 at 14:04 -0500, Peter

Re: [OCLUG-Tech] dang, just remembered tonight's oclug meeting

2013-09-06 Thread Peter Sjöberg
On 09/05/2013 07:09 AM, Robert P. J. Day wrote: it might be useful to post to the ML a few days in advance warning people about upcoming oclug meetings. sometimes, i only remember earlier that day. It does exist a -announce list (http://oclug.on.ca/mailman/listinfo/oclug-announce) that a

Re: [OCLUG-Tech] oswatcher alternative, collector of top/ps/iostat/vmstat/... info

2013-07-14 Thread Peter Sjöberg
much easier to handle. You don't have to look at them if you don't want to. I haven't looked at zenoss, but will keep an eye open for it. https://github.com/lpaseen/nyss bjb On Fri, Jul 12, 2013 at 11:49:23PM -0400, Peter Sjöberg wrote: On 07/12/2013 10:28 AM, Brenda J. Butler wrote

[OCLUG-Tech] oswatcher alternative, collector of top/ps/iostat/vmstat/... info

2013-07-12 Thread Peter Sjöberg
Just wonder if it's something already out there that does something similar to what oracles oswatcher does ? What I'm looking for is some tool to use when analyzing server issues and while oswatcher could be good it's questionable license and I don't run oracle at all on most of the servers I need

Re: [OCLUG-Tech] oswatcher alternative, collector of top/ps/iostat/vmstat/... info

2013-07-12 Thread Peter Sjöberg
On 07/12/2013 10:28 AM, Brenda J. Butler wrote: I don't know oswatcher, but based on your description the following would be usefule for you: munin (keeps a contstant sized database, which thins out as you look back in time). 10sec look and it looks like overkill but I will look at it

Re: [OCLUG-Tech] what is the uname variation that shows a 32-bit install on 64-bit system?

2011-05-08 Thread Peter Sjöberg
On 05/06/2011 02:49 PM, Bart Trojanowski wrote: On Fri, May 6, 2011 at 18:24, Richard Guy Briggs r...@tricolour.net wrote: Not quite what you intended, but how about: file $(which uname) I often do exactly this with '/bin/ls' to test the OS bitness. Another alternative is to use