Can I use the pfctl command in Terminal to throttle bandwidth?

The ISP I use (Northwestel) limits my upstream bandwith to 2 Mbps. While I upload at that maximum rate, the download service is disabled.
Plus, if I upload at that maximum rate for any sustained period of time (sustained being longer than about 5 minutes), my entire service is disabled and requires that I reset the modem to start it again.
As you can imagine, this is very frustrating. Especially when you consider I pay $125 a month for the service.
Very few apps offer an option to manually throttle upload speeds. Dropbox, for example, does. But Apple's PhotoStream does not.
So I'm looking for a way to globally throttle upload speeds on my Mac to a rate less than 2 Mbps so that I can avoid the above-described problems.
This has led me to the pfctl command in Terminal, which – from what I've read – would allow me to set an upload rate maximum limit in the Mac OS Mavericks firewall. The problem is, I'm a novice command line user and so can't figure out how to compose a command properly.
Does anyone know how to compose a pfctl command that would enable me to limit the upstream bandwidth rate on my Mac to about 1 Mbps?
Alternatively, is anyone aware of another way to globally set an upstream bandwidth rate limit on a Mac, perhaps a utility or app?
Any input or thoughts will be gratefully accepted.

There are gui apps for this.  Apple has one.
http://apple.stackexchange.com/questions/7426/bandwidth-shaper-or-bandwidth-cont roller-app-for-mac-os-x
my give you some more hints.
http://www.justin.my/2012/10/how-to-limit-photostream-upload-speed-in-mac-os-x/

Similar Messages

  • I can not use the patch command. The icon does not show up on th comand bar.

    I can not use the patch command. The icon does not show up on th comand bar

    Hello there!
    Compared to other versions, in CS6 the patch tool is in a different location:
    If this doesn't help you, what version of Photoshop are you using?
    Please post back with any other questions,
    Janelle

  • I can't open rtf files created using the 'touch' command in Terminal

    I don't know much about CLI but I like to play with my tech. When I create an RTF file using
    touch foo.rtf
    it creates the file but when I try and open it, it just says "The document “foo.rtf” could not be opened."
    What's the deal?

    Answered Here on StackOverflow:
    As you've likely discovered, touching a nonexistent file will create a zero-byte file with the name you specify. (touch is also used to update the modification time on an existing file. Seeman touch for further details.)
    The problem you're running into is that though a completely empty file is valid HTML, text, or Markdown, it is not valid RTF—this is true of many file formats, actually, which are structured in a particular way and require some data to be present be valid.
    Based on my experimentation, the bare minimum RTF file appears to be
    {\rtf1}
    If you'd like to create a blank RTF file from the shell, try this:
    echo '{\rtf1}' >Foo.rtf
    Note the above will overwrite Foo.rtf if it exists.
    Thank you user Zigg

  • Can not use the ibfind command in the c file using the usb gpib

    can communicate with instruments in max but not with labwindows. ibfind commands doesn't work. any suggestions?

    Can you be more specific? What error occurs with IBFIND?
    You should probably be using IBDEV instead: see the NI-488.2 for Windows help on your start menu (Programs, National Instruments, NI-488.2) and look up both IBDEV and IBFIND to see the difference.
    Also, using NI-Spy will allow you to see what API calls MAX is making; you can copy them in your LabWindows program so that they both work.
    Post here if you need more assistance.
    Scott B.
    GPIB Software
    National Instruments

  • How can I use the defaults command to edit a sub key in an array of plist?

    For example, how could I edit the Name key in the array?
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Test</key>
    <array>
    <dict>
    <key>IPAddress</key>
    <string>xxxx</string>
    <key>Name</key>
    <string>yyyy</string>
    </dict>
    </array>
    </dict>
    </plist>

    I realize you are asking specifically about 'defaults', but as they concede in 'man defaults', it may not be the best tool for editing properties in "complex" structures, such as those buried in dicts within arrays, etc.
    As an alternative, it looks like in 10.5, '/usr/libexec/PlistBuddy' is now a part of the standard install - 'PlistBuddy' may be more useful for this sort of task.
    For example:<pre>
    /usr/libexec/PlistBuddy -c "set Test:0:Name zzzz" /path/to/file.plist</pre>

  • Using the at command

    Can I use the at command to run a command like "say". In effect can I make my mac say a text at a specified time?
    I tried writing a say command to a text file on the desktop called "atjob".
    <pre> say "Take a break now"</pre>
    then tried
    <pre> at -f ~/Desktop/atjob 18:36</pre>
    and voila! nothing happened at 18:36
    atq showed job scheduled at 18:36.
    How can I make it work?

    The man page says this ...
    NOTE
    at, batch, atq, atrm are all disabled by default on Mac OS X. Each of these commands depend on the
    execution of atrun(8) which has been disabled due to power management concerns. Those who would like
    to use these commands, must first (as root) re-enable atrun by running:
    launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist
    Eric

  • Every Time I do the say command in terminal it shows and error message

    Every time I use the say command in terminal it brings an error message but I does say the message why does it put the error message please help

    This behavior appears to be arising with some 10.8.4 systems, based on some web searches.
    Based on what I've found, there's no specific known trigger, nor any certain cure for this.
    See if the discussion in this thread helps any with resolving the MTBEAudioUnitSoundOutput:: PropagateProperty Error -10851 error. 
    From that discussion thread, please remove any anti-malware software that might be installed and test, and create a second and separate login user and log into that user and test the say command.  
    Also test with the stock voices and not something that's been downloaded, and also (again, as a test, particularly if you're not using an English locale) see if switching your shell locale to the C locale (export LC_ALL=C) alters the behavior.
    If the system is still under warranty or if you have AppleCare with this system, please call Apple support directly and ask.

  • The problem I have since I upgraded to Mavericks version 10.9.1 The problem appears only with Mail not with other programs, not even with my browser. When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command   to e

    the problem I have since I upgraded to Mavericks version 10.9.1
    The problem appears only with Mail not with other programs, not even with my browser.
    When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command + to enlarge the text, although I can reduce it with Command -.
    As I have a problem with my eyes, This is a serious matter for me.
    When I write an e-mail, if I select text and press Command +, it just displaces the text to the right.
    Now, my husband has a USB keyboard. If he connects it to my computer, his regular Command + does not work either, but  he uses the extended keyboard, then it works. Unfortunately, he needs it for a musical application which does not work with a wireless keyboard.

    Firefox 3.6.4 and 3.6.6 use a process called, "plugin-container.exe" which was using up most of my CPU when I opened up multiple tabs that contained Adobe Flash files, and caused Firefox to lock up.
    My solution was to use Firefox 3.5.10 which you can get from the Mozilla website at [http://www.mozilla.com/en-US/firefox/all-older.html]
    I am using Adobe Flash 10.1.53.64 without any problem in this version of Firefox. Check the release notes, I believe it contains all the latest security fixes in "Firefox 3.6.4".
    Hopefully, they will fix Firefox 3.6 in the next version (e.g. Firefox 3.6.7), until then you should probably use "Firefox 3.5.10".

  • Export to PDF - Can a single report (rpt file) create multiple PDF files using the export command?

    Post Author: markeyjd2
    CA Forum: Exporting
    Greetings forum members,
    My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
    In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records.  When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
    What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record.  The file names would be based on the table's primary key.
    Is this possible?

    Post Author: Micha
    CA Forum: Exporting
    Hi,
    you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
    Here's an abstract of the ASP code I use:
    First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
      oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
    Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
    Micha

  • I am fairly new to MacBook. I want to copy a picture from a web site to Word and i can't select it using the usual command. What am I doing wrong? With windows it was very simple

    Why can't a copy a picture from the web in MS word using the available commands?

    Ask Microsoft by posting in their forums.  Not an Apple product.
    Microsoft for Mac Support

  • Terminal does something strange when I use the 'say' command

    Hello,
    I use terminal frequently and have just nocticed something odd. When ever I use the 'say' command it said this:
               -                 -iMac:~                  $ say hello
    objc[1281]: Object 0x7ffcc2b1ee60 of class NSRunningApplication autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug
    It doesn't really bother me, but I just want to make sure it is nothing serious
    - Thanks

    Could you describe this in more detail: did Firefox prevoiusly split the image over two pages and now it no longer does that?
    Or is the problem that there are two images, and if they do not both fit on the first page, Firefox is not printing the second page?
    Some page layouts may not print well when split across pages; there are some longstanding Firefox bugs. If this just started recently, those might not be relevant...
    Could you give an example URL of a page that has this problem, and indicate where the cutover is between scale percentages that work and those that no longer work?

  • BT not syncing with my voice commands on my MKZ, I can physically use the phonebook?

    BT stopped syncing with my phonebook in my car. Command says that it doesn't recognize the number in the phonebook, but they are there.  I can physically use the touchpad and make the calls..what's up with that.  Working real well before.

    I have to say that is a completely stupid thing Apple has done - they have solved a problem that didn't exist.
    I plug my iPhone into my laptop and - bam - everything is synced.  No fuss, no muss.  To force everyone to (1) use iCloud or (2) use another syncing service is inefficient and pointless - not exactly the Apple way which I thought was the whole point of Apple's/Jobs' vision. Perhaps Apple is competing with Google to try to get as much information about us as possible?
    Just called Apple at 1.800.694.7466 and they told me the issue isn't with Mavericks per se but with iTunes 11.1.5.
    According the helpful woman I spoke to, no one at Apple knows why Apple decided to remove the ability to sync everything via USB.  She hears complaints about the change and knows it makes life difficult for folks.
    She also recommended contacting www.apple.com/feedback about the change.  She says Apple does in fact have a group of people who do read the comments.
    <Edited by Host>

  • I have purchased a macbook air with 64 gb hard disk. the available space is only 10gb. With this available space, i can't use the system effectively. kindly advise.

    I have purchased a macbook air with 64 gb hard disk. the available space is only 10gb. With this available space, i can't use the system effectively. kindly advise.

    You should have bought one with a larger SSD. You can regain some space by disabling the sleepimage file:
    To disable safe sleep, run the two following commands in Terminal:
    $ sudo pmset -a hibernatemode 0
    $ sudo nvram "use-nvramrc?"=false
    When done, restart your computer. Now go delete the file "/private/var/vm/sleepimage" to free up some hard drive space. When you put your computer to sleep it, should happen in under five seconds; my MacBook now goes to sleep in two seconds.
    [robg adds: To state the obvious, with safe sleep disabled, a total power loss will wipe out whatever was open on your machine. To enable safe sleep mode again, repeat the above commands, but change hibernatemode 0 on the first line to hibernatemode 3, and =false to =true on the second line. You'll then need to reboot again. Personally, I prefer the safe sleep mode, even with the slower sleep time and hard drive consumption -- even if for no other reason than it's great when changing batteries on a flight.]
    You can also delete unneeded files:
    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion's Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.

  • How do I use the 'mv' command??

    I want to move some scripts file into my /User/Local/Bin/
    folder but i cant i get
    usage: mv [-f | -i | -n] [-v] source target
           mv [-f | -i | -n] [-v] source ... directory
    and i dont know what else to do because i really need to move the files.
    So far this is the way im doing it
    sudo mv encode-handheld-5.2.pl /User/Local/Bin/
    And when I do that I get this message...
    mv: rename encode-handheld-5.2.pl to /User/Local/Bin/: No such file or directory
    How do I use the mv command or how am i supposed to mv those files.??
    Help Please!

    You are still not providing the path to the file you're moving.  Did you read my earlier response?  Are you sure this file is in the current working directory?  Try the "ls" command (that's lowercase "LS").  Do you see that file?  If not, follow my earlier directions.
    As to whether the /usr/local/bin directory exists, it should, but you can check with:
    ls -al /usr/local/bin
    If you get an error, the directory does not exist for some reason, which means your system is in an uncertain state.
    BTW, meaning no offense, if you don't know all this stuff, you should be very, very cautious when using the Terminal.  It is a very dangerous place to those who don't have some idea what they're doing.  You can irreparably damage your system (requiring a reinstall) and even destroy your data with very minor typos.

  • How can I use the built-in Isight camera with an external camera (usb/firewire) at the same time?

    How can I use the built-in Isight camera and an external video camera at the same time?
    I'm wanting to stream over Oovoo/Skype/etc. using 2 cameras.
    Thanks

    Simple question with a not so simple answer.
    (a) If you mean that you want to run multiple apps simultaneously using a different camera with each app, you may encounter computing power limitations.  Digital video is processor intensive.  The only way to know if your Mac can do this it to try it.  If the video does not work together but each app works when it it the only app running, you are likely overloading your Mac's ability to process and/or move all the required data in your data bus.  You can get a better indication of whether this is the case by watching your Activity Monitor utility while running the apps you want to use.
    (b) If you mean that you want to have more than one compatible camera connected to your Mac simultaneously for ease of changing between video sources, some, but not necessarily all, apps you are using to operate your camera(s) allow you to select between your cameras.
    How you select among connected cameras depends on which application you are using. Here is how camera selection works in a few examples:
    (1) For iChat, you can choose which iSight you use in the "Camera:" choices bar in iChat > Preferences... > Audio/Video that appears when more than one compatible camera is connected. Although your camera choices will be different, the choices bar will look something similar to the Preferences settings shown here:
    If you cannot see the "Camera" choices bar, your Mac is recognizing only one (or none) of your cameras. In that case, consider the suggestions fromhttp://support.apple.com/kb/HT2090 for iSight problems or refer to your other camera's documentation for help.
    This particular choices bar solution applies ONLY to iChat. Most other applications also have settings that allow you to choose which camera to use. However, they do not all work the same way.
    (2) For instance, iMovie HD's camera choice is NOT set via Preferences. When you have more than one compatible camera connected, iMovie6 HD uses a drop-down menu choice something like this (depending on which version of iMovie you use):
    Note: Because I had no built-in iSight connected when I made this example, and because my external iSight was not connected, the drop-down menu showed only "Time Lapse." Because your Mac has a built-in iSight, your built-in iSight would show in the drop-down menu even when no other camera is connected. Connecting an additional Mac compatible webcam should allow you to choose either camera.
    Other iMovie versions work slightly differently.
    iMovie 9 (from iLife '11) uses a different camera choice button shown in this article:
      http://docs.info.apple.com/article.html?path=iMovie/9.0/en/mov39f84285.html
    iMovie 8 (from iLife '09) is slightly different as explained in this article:
      http://docs.info.apple.com/article.html?path=iMovie/8.0/en/10172.html
    In general, you can use your Mac's help for the application in use to find out how to select among more than one connected camera.
    (3) Photo Booth in Snow Leopard 10.6.x and later uses the Photo Booth > Camera menu command to select which camera to use.
    Note for readers with older Mac OS X: The previous version of Photo Booth that came with Tiger (10.4.x) is such a simple, basic app that it offers no menu selectable choice. Unless your built-in iSight is already occupied as the camera being used by some open application before you launch Photo Booth, Photo Booth will use ONLY your built-in iSight.
    However, you can use the trick from ¶ 4 of http://docs.info.apple.com/article.html?artnum=302781 to let Photo Booth use an external camera.
    (If you have an external Firewire camera connected, it may be used in preference to any USB webcam. If that is a problem for you, merely disconnect the problem Firewire device.)
    (4) For FaceTime, launch the app and click the Video menu item.
    If your Mac recognizes more than one connected compatible camera, a "Camera" section listing the cameras from which you can choose will appear there. Clicking on the desired camera name will let you select the one you want as shown in this image from my Mac Pro and LED Cinema Display:
    If your Mac recognizes only one compatible camera, the "Camera" section will not appear in the Video menu, but FaceTime will automatically use the connected camera that is recognized by OS X.
    (5) I do not use Skype oir Oovoo.  For those or other apps, see Help for each app for info on how to select your desired camera.
    Message was edited by: EZ Jim

Maybe you are looking for

  • ORA-29283 invalid file operation

    NLSRTL      10.2.0.5.0     Production Oracle Database 10g Enterprise Edition      10.2.0.5.0     64bi PL/SQL      10.2.0.5.0     Production TNS for IBM/AIX RISC System/6000:      10.2.0.5.0     Productio I am trying to get the content of a trace file

  • Do not order phone online big scam

    Ordered a phone online Fedex delivered a empty box that was clearly tampered with, neither fedex or Verizon want to help. Very disappointed after being with Verizon over 10 years. Now I'm out 400 dollars and not sure what to do. Seems like a big scam

  • Where can I get Oracle database server 9i for windows 2003

    Hi, I need Oracle Database Server 9i for Windows 2003. From Oracle online download, there is one a patch set available. Where can I get the full version? Thanks Laura

  • Adding Source code in include RPCBURZ0 for HR Payroll

    I have created a customer function Function through PE04.Now I want to add source code in RPCBURZ0.How will I do as its a standard program.Is Access Key needed?Is it safe? Please reply Edited by: Bireshwar Das on May 4, 2008 6:29 PM

  • How to handle "Memory Low" warning message?

    Recently users have been getting a warning message when they log on: "Memory low.  Leave the transaction before taking a break."  When we look at SM50 the user has a status of "On Hold" and the reason column says "PRIV".  We are on ECC 6.0 (since Jan