7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
i have a file which contains PID and wanted to execute kill command. but the thing is, when killing PID's needs to kill PID from bottom to top.
Please help
INPUT
21414 sh -c extract.ksh ASA
21416 /bin/ksh extract.ksh ASA
21428 /usr/bin/perl -w /var/tmp/tempperl.21416 ASA... (4 Replies)
Discussion started by: reignangel2003
4 Replies
2. UNIX for Dummies Questions & Answers
Dear friendly helpers,
I want to compare the last line and the 2.nd line from the bottom later with a calculation. The rest of the script is working. What is wrong with my solution?
I want to take the 2nd line from the bottom. And I do not know the command.
TAIL -2 is wrong because it takes... (2 Replies)
Discussion started by: Pieter0815
2 Replies
3. What is on Your Mind?
Well, it's been a few months now since we started running the toolbar on the bottom with some navigation menu, search, link to code tag video, some social networking tools, etc.
So, the question of the day is:
Should we keep it, maybe develop more toolbar apps, or dump it?
Please vote ... (13 Replies)
Discussion started by: Neo
13 Replies
4. Shell Programming and Scripting
Hi,
I have a menu of around 10 lines with options.
I want to display it in bottom right corner of screen for better display.
I can do it with clear screen. But I don't want to use it, because it will clear the existing text. After one choice from menu is executed, the menu should just place... (3 Replies)
Discussion started by: som.nitk
3 Replies
5. Shell Programming and Scripting
I have file.txt
bob
jon
jones
gary
I want to print from the botton, up using sed.
gary
jones
jon
bob
Whats one command I can use to do this? Or will I have to construct a new file that would hold the original file in reverse and then print the reversed file? (3 Replies)
Discussion started by: Bandit390
3 Replies
6. Shell Programming and Scripting
Hi,
I have a file, which is having a pattern "SEARCH" somewhere towards end of the file,
if i am giving " grep -i "SEARCH" $File" , it is taking too much time as file is very big.
So i want to search for the pattern from the back side of the file, how can we search for a pattern in bottom... (5 Replies)
Discussion started by: Prat007
5 Replies
7. Shell Programming and Scripting
Hi everyone,
I'm new to Linux and bash scripting.
Question? How can I display a menu at the bottom of the screen when displaying a content of a file with the less command?
Like in gvim with bash support, when debugging or testing your script this text "Press enter or type command to... (0 Replies)
Discussion started by: Qwond
0 Replies
CC_HD(4) BSD Kernel Interfaces Manual CC_HD(4)
NAME
cc_hd -- HD Congestion Control Algorithm
DESCRIPTION
The HD congestion control algorithm is an implementation of the Hamilton Institute's delay-based congestion control which aims to keep net-
work queuing delays below a particular threshold (queue_threshold).
HD probabilistically reduces the congestion window (cwnd) based on its estimate of the network queuing delay. The probability of reducing
cwnd is zero at hd_qmin or less, rising to a maximum at queue_threshold, and then back to zero at the maximum queuing delay.
Loss-based congestion control algorithms such as NewReno probe for network capacity by filling queues until there is a packet loss. HD com-
petes with loss-based congestion control algorithms by allowing its probability of reducing cwnd to drop from a maximum at queue_threshold to
be zero at the maximum queuing delay. This has been shown to work well when the bottleneck link is highly multiplexed.
MIB Variables
The algorithm exposes the following tunable variables in the net.inet.tcp.cc.hd branch of the sysctl(3) MIB:
queue_threshold Queueing congestion threshold (qth) in ticks. Default is 20.
pmax Per packet maximum backoff probability as a percentage. Default is 5.
qmin Minimum queuing delay threshold (qmin) in ticks. Default is 5.
SEE ALSO
cc_chd(4), cc_cubic(4), cc_htcp(4), cc_newreno(4), cc_vegas(4), h_ertt(4), mod_cc(4), tcp(4), khelp(9), mod_cc(9)
L. Budzisz, R. Stanojevic, R. Shorten, and F. Baker, "A strategy for fair coexistence of loss and delay-based congestion control algorithms",
IEEE Commun. Lett., 7, 13, 555-557, Jul 2009.
ACKNOWLEDGEMENTS
Development and testing of this software were made possible in part by grants from the FreeBSD Foundation and Cisco University Research Pro-
gram Fund at Community Foundation Silicon Valley.
FUTURE WORK
The Hamilton Institute have recently made some improvements to the algorithm implemented by this module and have called it Coexistent-TCP (C-
TCP). The improvements should be evaluated and potentially incorporated into this module.
HISTORY
The cc_hd congestion control module first appeared in FreeBSD 9.0.
The module was first released in 2010 by David Hayes whilst working on the NewTCP research project at Swinburne University of Technology's
Centre for Advanced Internet Architectures, Melbourne, Australia. More details are available at:
http://caia.swin.edu.au/urp/newtcp/
AUTHORS
The cc_hd congestion control module and this manual page were written by David Hayes <david.hayes@ieee.org>.
BSD
September 15, 2011 BSD