One my friend wrote one script on his machine linux, when I try to use it under cygwin I recive one error about the command awk. Is there someone can suggest me the way to fix the error? The script is wrote using gawk and I have no idea what kind of comand is used by cygwin.
I am new to unix and lerning tru cygwin (unix simulation on windows)
i am trying to lern sed command and want to interchange first and second no in a string. What i mean is
i want gauri 1234 556 to gauri 556 1234
i am getting the following error
$ echo gauri 1234 556 | sed s/\(*\)... (2 Replies)
If I'm at a wireless cafe running SuSE and I want to read my mail but the wireless cafe blocks port 25 for smtp but I have a VPN connection to my home machine, how do I use the "route" command.
If I'm at home on my windows machine and have a VPN connection to another network, can I use the... (3 Replies)
Sir,
I want to get all the files in directory on a remote server which are dated newer than a specified file. I have ssh running and the command I am using is :
for file_name in `ssh userid@IP find "/cygdrive/d/oracle/oradata/db/archive" -newer "1_44.DBF" -name '*.DBF' -type f -print | xargs -r... (2 Replies)
what does the '+' sign stand for on the output of ls command on cygwin?
-rw-------+ 1 milhan None 146783 Jun 19 12:10 schedule.pdf
-rw-------+ 1 milhan None 320 Aug 15 17:14 current.txt
-rw------- 1 milhan None 24576 Dec 28 2008 fdfd.txt (2 Replies)
How do I change my command line to the standard appearance? (i.e.: The pwd is listed in green above the actual command line).
Mine looks like http://sites.google.com/site/flcl178/Cygwin_Window_1.png
and I want it to look like this http://sites.google.com/site/flcl178/cygwinLinkSetup.gif
... (2 Replies)
Hello everyone,
I am struggling a bit with a batch script that I need to run in cygwin. I work in winXP and I had to write some awk scripts to do some file manipulation, and now I would like to automate the process by just running a batch file so that my colleagues can use it easily.
Now, the... (2 Replies)
Hi,
I have installed CYGWIN software in my system, can anyone suggest me how to run cat command in this software ?
when i attempt to execute this command-
$ cat /cygdrive/c/Program\Files/hello.txt.
Result: No such file or directory.
Please let me know how to execute.
Regards,
Kiran. (1 Reply)
Hello,
In my make file (make 3.81), I use a combination of shell commands to automatically create the name of my build directory.
OS := $(shell uname -s)
ARCH := $(shell uname -m)
KERN := $(shell uname -r | cut -d. -f 1,2)
BDIR := $(OS)_$(KERN).$(ARCH)When I boot into different OSs, I... (7 Replies)
Running bash in cygwin under 2003 Server. I run about 6 shell windows. Every now and then when I check the machine, all of the scripts are scrolling and returning /usr/bin/whatever: command not found.
I checked the event log for a windows event that would cause it, but there was nothing. I... (9 Replies)
Development machine:- Standard MBP 13 inch, OSX 10.7.5...
GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11)
Copyright (C) 2007 Free Software Foundation, Inc.
Scenario:- Audio capture for AudioScope.sh for CygWin without ANY third party installs.
I am trying my hardest to get a... (6 Replies)
Discussion started by: wisecracker
6 Replies
LEARN ABOUT PLAN9
tc-choke
TC(8) Linux TC(8)NAME
choke - choose and keep scheduler
SYNOPSIS
tc qdisc ... choke limit packets min packets max packets avpkt bytes burst packets [ ecn ] [ bandwidth rate ] probability chance
DESCRIPTION
CHOKe (CHOose and Keep for responsive flows, CHOose and Kill for unresponsive flows) is a classless qdisc designed to both identify and
penalize flows that monopolize the queue. CHOKe is a variation of RED, and the configuration is similar to RED.
ALGORITHM
Once the queue hits a certain average length, a random packet is drawn from the queue. If both the to-be-queued and the drawn packet belong
to the same flow, both packets are dropped. Otherwise, if the queue length is still below the maximum length, the new packet has a config-
urable chance of being marked (which may mean dropped). If the queue length exceeds max, the new packet will always be marked (or
dropped). If the queue length exceeds limit, the new packet is always dropped.
The marking probability computation is the same as used by the RED qdisc.
PARAMETERS
The parameters are the same as for RED, except that RED uses bytes whereas choke counts packets. See tc-red(8) for a description.
SOURCE
o R. Pan, B. Prabhakar, and K. Psounis, "CHOKe, A Stateless Active Queue Management Scheme for Approximating Fair Bandwidth Alloca-
tion", IEEE INFOCOM, 2000.
o A. Tang, J. Wang, S. Low, "Understanding CHOKe: Throughput and Spatial Characteristics", IEEE/ACM Transactions on Networking, 2004
SEE ALSO tc(8), tc-red(8)AUTHOR
sched_choke was contributed by Stephen Hemminger.
iproute2 August 2011 TC(8)