Phil Dobbin | 1 Aug 2012 01:10
Picon
Gravatar

Re: Monitoring Internet Usage


Craig Treleaven wrote:

> I want to be able to monitor internet usage from my son's Mac*.  (Top 5
> applications by MB transferred; maybe top 20 internet addresses, etc.) 
> I think there was a commit in the last couple of weeks to a port that
> did just that--but, of course, I can't find it now.
> 
> Craig
> 
> *We keep blowing through our GB cap and the overage charge was $50 on
> the last bill!!  Since there is 4 of us in the house, I've never been
> clear on how much data he uses.  Hover, he has been away at camp the
> last 4 weeks and our GB usage is down by 2/3!

If you have a router, it's probably easier to cap his bandwidth.

Cheers,

  Phil...

--

-- 
But masters, remember that I am an ass.
Though it be not written down,
yet forget not that I am an ass.

    Wm. Shakespeare - Much Ado About Nothing

Attachment (smime.p7s): application/x-pkcs7-signature, 3865 bytes
(Continue reading)

Jeremy Lavergne | 1 Aug 2012 01:13

Re: Monitoring Internet Usage

> I want to be able to monitor internet usage from my son's Mac*.  (Top 5 applications by MB transferred; maybe
top 20 internet addresses, etc.)  I think there was a commit in the last couple of weeks to a port that did just
that--but, of course, I can't find it now.

Apart from finding that app, you could log the size of all HTTP requests using squid.

Or suggest your son get his own connection. :-)

Craig Treleaven | 1 Aug 2012 02:12
Picon
Favicon

Re: Monitoring Internet Usage

At 12:10 AM +0100 8/1/12, Phil Dobbin wrote:
>Craig Treleaven wrote:
>
>>  I want to be able to monitor internet usage from my son's Mac*.  (Top 5
>>  applications by MB transferred; maybe top 20 internet addresses, etc.)
>>  I think there was a commit in the last couple of weeks to a port that
>  > did just that--but, of course, I can't find it now.
>  >
>  > Craig
>  >
>>  *We keep blowing through our GB cap and the overage charge was $50 on
>>  the last bill!!  Since there is 4 of us in the house, I've never been
>>  clear on how much data he uses.  Hover, he has been away at camp the
>>  last 4 weeks and our GB usage is down by 2/3!
>
>If you have a router, it's probably easier to cap his bandwidth.
>

I'd like to understand what is using all this bandwidth.  He was 
running torrents for a while but I believe he stopped months ago.  He 
talks to friends on Skype.  He plays a couple of online games which 
occasionally have enormous updates.  Some YouTube.  Lots of Facebook 
and other lower-bandwidth stuff.  It seems that he is going through 
40-70 GB per month by himself and I really don't understand what he's 
doing that is consuming all that data.

BTW, with my D-Link router, I think I can limit his network use to 
certain times of the day (and block specific web sites) but I don't 
think I can "cap" his bandwidth.

(Continue reading)

Sam Kuper | 1 Aug 2012 02:18
Favicon
Gravatar

Re: Monitoring Internet Usage

On 1 August 2012 01:12, Craig Treleaven <ctreleaven <at> cogeco.ca> wrote:

... BTW, with my D-Link router, I think I can limit his network use to certain times of the day (and block specific web sites) but I don't think I can "cap" his bandwidth.

OpenWRT, DD-RT, Tomato or suchlike might be installable on your router, and may be able to give you this power.

Sam

<div>
<p>On 1 August 2012 01:12, Craig Treleaven <span dir="ltr">&lt;<a href="mailto:ctreleaven <at> cogeco.ca" target="_blank">ctreleaven <at> cogeco.ca</a>&gt;</span> wrote:<br></p>
<div class="gmail_quote">
<blockquote class="gmail_quote">
... BTW, with my D-Link router, I think I can limit his network use to certain times of the day (and block specific web sites) but I don't think I can "cap" his bandwidth.<span class="HOEnZb"><br></span>
</blockquote>
<div>
<br>OpenWRT, DD-RT, Tomato or suchlike might be installable on your router, and may be able to give you this power.<br><br>Sam<br>
</div>
</div>
<br>
</div>
Craig Treleaven | 1 Aug 2012 02:34
Picon
Favicon

Re: Monitoring Internet Usage

At 1:18 AM +0100 8/1/12, Sam Kuper wrote:
On 1 August 2012 01:12, Craig Treleaven <ctreleaven <at> cogeco.ca> wrote:
... BTW, with my D-Link router, I think I can limit his network use to certain times of the day (and block specific web sites) but I don't think I can "cap" his bandwidth.

OpenWRT, DD-RT, Tomato or suchlike might be installable on your router, and may be able to give you this power.

Unfortunately, none of those appear to work with my specific router.  I'm reluctant to experiment since my wife uses VPN to connect to work on a regular basis.

Craig

<div>
<div>At 1:18 AM +0100 8/1/12, Sam Kuper wrote:</div>
<blockquote type="cite" cite>On 1 August 2012 01:12, Craig Treleaven &lt;<a href="mailto:ctreleaven <at> cogeco.ca">ctreleaven <at> cogeco.ca</a>&gt;
wrote:<br><blockquote>... BTW, with my D-Link router, I think I can limit his
network use to certain times of the day (and block specific web sites)
but I don't think I can "cap" his bandwidth.<br>
</blockquote>
</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>OpenWRT, DD-RT, Tomato or suchlike might
be installable on your router, and may be able to give you this
power.</blockquote>
<div><br></div>
<div>Unfortunately, none of those appear to work with my specific
router.&nbsp; I'm reluctant to experiment since my wife uses VPN to
connect to work on a regular basis.</div>
<div><br></div>
<div>Craig</div>
<div><br></div>
</div>
Ian Wadham | 1 Aug 2012 05:03
Picon

Re: How to set C++ compiler outside Macports?


On 30/07/2012, at 2:54 AM, Ryan Schmidt wrote:
> Probably the usual CC and CXX environment variables could be used to influence that.

Thanks, Ryan.  I have set those up in my CMake script now.

>> Is use of clang now official Macports policy?  Last I heard on this list, a
>> few months back, its use was experimental.
> 
> The compiler MacPorts uses by default is chosen based on the Xcode version.
> 
> Xcode 2.x: gcc-4.0
> Xcode 3.x: gcc-4.2
> Xcode 4.0 and 4.1: llvm-gcc-4.2
> Xcode 4.2 and up: clang

Thanks again, Ryan.  I have passed that information on to the KDE developers.

It turns out that the KDE project is intending to move to clang in the future but is
not ready for it yet.  Its build macros do not generate the right settings of clang.

It is OK to build KDE modules with clang, but if you build one that way you must build
the lot with clang.  I was not building my own code with clang, hence my problems.

When clang is used to build KDE modules, many more symbols than necessary
are exported.  That is harmless, but will lead to larger object files than necessary.

Please would you close https://trac.macports.org/ticket/34605 now (I do not seem
to have the right access).

I have included there a summary and a link to the details of what the KDE build-system
developer had to say.  I hope the KDE port guys will have a look.

All the best, Ian W.

FritzS - gmx | 1 Aug 2012 06:51
Picon

Processing of port gimp-help-en failed, was: [Mountain Lion] gimp installation fails


Am 31.07.2012 um 22:58 schrieb Ryan Schmidt <ryandesign <at> macports.org>:

> On Jul 31, 2012, at 10:44, FritzS - gmx <fritzs <at> gmx.net> wrote:
> 
>> --->  Building gimp-help-en
>> Error: org.macports.build for port gimp-help-en returned: command execution failed
>> Please see the log file for port gimp-help-en for details:
>>    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gimp-help-en/gimp-help-en/main.log
>> To report a bug, follow the instructions in the guide:
>>    http://guide.macports.org/#project.tickets
>> Error: Processing of port gimp-help-en failed
>> 
>> install gimp  or
>> install gimp2 
>> hangs on the same point
>> 
>> About this hint
>> https://trac.macports.org/ticket/35285
>> what should I do on my system?
> 
> I've fixed this and resolved this ticket.
> 
> 
>> Please look for this tracks too
>> https://trac.macports.org/ticket/35283
> 
> I've fixed this as well and resolved this ticket.
> 
> 
>> #35378: w3m: sed: RE error: illegal byte sequence 
>> #35405: w3m: sed: RE error: illegal byte sequence 
> 
> These are duplicates of #35080 which was fixed.
> 
> 
>> #35364: some applications want run 
>> #35356: macports won't work after upgrade to MountainLion 
> 
> These were closed as invalid days ago already.

Hi Ryan,
I read all and done all what you tell I should do

But the gimp installation hangs an gimp-help-en too

Please, please help me to get a gimp installation.

I am not a port or Linux guru.

Today I run
bash-3.2$ sudo port -v selfupdate
bash-3.2$ sudo port -v upgrade outdated
bash-3.2$ sudo port clean --all installed
bash-3.2$ sudo port -f uninstall gimp-help-en
bash-3.2$ sudo port -s install gimp-help-en configure.args=--without-gimp

But it fails again, what should I do now?

I make a new clean ticket.
https://trac.macports.org/ticket/35461
the logfile
https://trac.macports.org/attachment/ticket/35461/main-help-en-ver4.log

I use ML 10.8,  Xcode 4.4, MacPorts 2.1.2

--

-- 
FritzS 
fritzs <at> gmx.net

Jeremy Lavergne | 1 Aug 2012 07:05

Re: Processing of port gimp-help-en failed, was: [Mountain Lion] gimp installation fails

> But it fails again, what should I do now?
> 
> I make a new clean ticket.
> https://trac.macports.org/ticket/35461
> the logfile
> https://trac.macports.org/attachment/ticket/35461/main-help-en-ver4.log
> 
> I use ML 10.8,  Xcode 4.4, MacPorts 2.1.2

This was not a clean install:
:debug:main Skipping completed org.macports.configure (gimp-help-en)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Wed Aug  1 06:24:43 CEST 2012
:notice:build --->  Building gimp-help-en

Configure phase should not be skipped.

`sudo port clean gimp-help-en` then try again, then attach the log to that ticket.

Also, indicate if libxml2 is installed: `port installed libxml2`

And seriously, don't use priority flags in emails for distribution lists. Tech-oriented people are
likely to immediately trash such emails--if the list doesn't automatically.

Jim Graham | 1 Aug 2012 07:13
Picon
Gravatar

Re: Processing of port gimp-help-en failed, was: [Mountain Lion] gimp installation fails

On Wed, Aug 01, 2012 at 06:51:08AM +0200, FritzS - gmx wrote:
> Am 31.07.2012 um 22:58 schrieb Ryan Schmidt <ryandesign <at> macports.org>:
> > On Jul 31, 2012, at 10:44, FritzS - gmx <fritzs <at> gmx.net> wrote:

> >> --->  Building gimp-help-en
> >> Error: org.macports.build for port gimp-help-en returned: command execution failed
> >> Please see the log file for port gimp-help-en for details:
> >>    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gimp-help-en/gimp-help-en/main.log
> >> To report a bug, follow the instructions in the guide:
> >>    http://guide.macports.org/#project.tickets
> >> Error: Processing of port gimp-help-en failed

Hmmmm, this looks oddly familiar.  In fact, it's EXACTLY what I'm seeing.

> > I've fixed this and resolved this ticket.

Oh, ok.  Well, I just did a port selfupdate, and I'm still getting the
same error.  Also, what variant do I use to get gimpshop?

> >> #35356: macports won't work after upgrade to MountainLion 

For what it's worth, I have not upgraded, and until I have the money
to buy a BIG (at least 2--4 TB, as it will not be exclusively for
backups, it'll be partitioned for other stuff, too) external drive to
do a full backup, there's no chance that I will.

> > These were closed as invalid days ago already.

> Please, please help me to get a gimp installation.

And for me, please extend that to include gimpshop.

Thanks,
   --jim

--

-- 
THE SCORE:  ME:  2  CANCER:  0
73 DE N5IAL (/4)          | "> There it was, right in the title bar:
spooky130u <at> gmail.com      |  > Microsoft Operations POS."
< Running Mac OS X Lion > | 
ICBM / Hurricane:         | "Never before has a TLA been so appropriately
   30.44406N 86.59909W    |  mis-parsed."         (alt.sysadmin.recovery)

Android Apps Listing at http://www.jstrack.org/barcodes.html

FritzS - gmx | 1 Aug 2012 07:37
Picon

Re: Processing of port gimp-help-en failed, was: [Mountain Lion] gimp installation fails


Am 01.08.2012 um 07:05 schrieb Jeremy Lavergne <jeremy <at> lavergne.gotdns.org>:

>> But it fails again, what should I do now?
>> 
>> I make a new clean ticket.
>> https://trac.macports.org/ticket/35461
>> the logfile
>> https://trac.macports.org/attachment/ticket/35461/main-help-en-ver4.log
>> 
>> I use ML 10.8,  Xcode 4.4, MacPorts 2.1.2
> 
> This was not a clean install:
> :debug:main Skipping completed org.macports.configure (gimp-help-en)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:build build phase started at Wed Aug  1 06:24:43 CEST 2012
> :notice:build --->  Building gimp-help-en
> 
> Configure phase should not be skipped.
> 
> `sudo port clean gimp-help-en` then try again, then attach the log to that ticket.
> 
> Also, indicate if libxml2 is installed: `port installed libxml2`

This I don now

bash-3.2$ sudo port -f uninstall gimp-help-en
Password:
bash-3.2$ sudo port clean gimp-help-en
--->  Cleaning gimp-help-en
bash-3.2$ sudo port -s install gimp-help-en configure.args=--without-gimp
--->  Computing dependencies for gimp-help-en
--->  Fetching distfiles for gimp-help-en
--->  Verifying checksum(s) for gimp-help-en
--->  Extracting gimp-help-en
--->  Configuring gimp-help-en
--->  Building gimp-help-en
Error: org.macports.build for port gimp-help-en returned: command execution failed
Please see the log file for port gimp-help-en for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gimp-help-en/gimp-help-en/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gimp-help-en failed
bash-3.2$ port installed libxml2
The following ports are currently installed:
  libxml2  <at> 2.7.8_0 (active)

https://trac.macports.org/ticket/35461#comment:3

> And seriously, don't use priority flags in emails for distribution lists. Tech-oriented people are
likely to immediately trash such emails--if the list doesn't automatically.
> 

ops ... mea culpa .... sorry .... but I am confuse abut this errors .... under Lion ports works well, but after
upgrade to ML one error after the other ....
--

-- 
FritzS 
fritzs <at> gmx.net


Gmane