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
MOD_CC(4) BSD Kernel Interfaces Manual MOD_CC(4)
NAME
mod_cc -- Modular congestion control
DESCRIPTION
The modular congestion control framework allows the TCP implementation to dynamically change the congestion control algorithm used by new and
existing connections. Algorithms are identified by a unique ascii(7) name. Algorithm modules can be compiled into the kernel or loaded as
kernel modules using the kld(4) facility.
The default algorithm is NewReno, and all connections use the default unless explicitly overridden using the TCP_CONGESTION socket option
(see tcp(4) for details). The default can be changed using a sysctl(3) MIB variable detailed in the MIB Variables section below.
MIB Variables
The framework exposes the following variables in the net.inet.tcp.cc branch of the sysctl(3) MIB:
available Read-only list of currently available congestion control algorithms by name.
algorithm Returns the current default congestion control algorithm when read, and changes the default when set. When attempting to change
the default algorithm, this variable should be set to one of the names listed by the net.inet.tcp.cc.available MIB variable.
SEE ALSO
cc_cdg(4), cc_chd(4), cc_cubic(4), cc_dctcp(4), cc_hd(4), cc_htcp(4), cc_newreno(4), cc_vegas(4), tcp(4), mod_cc(9)
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.
HISTORY
The mod_cc modular congestion control framework first appeared in FreeBSD 9.0.
The framework was first released in 2007 by James Healy and Lawrence Stewart whilst working on the NewTCP research project at Swinburne Uni-
versity of Technology's Centre for Advanced Internet Architectures, Melbourne, Australia, which was made possible in part by a grant from the
Cisco University Research Program Fund at Community Foundation Silicon Valley. More details are available at:
http://caia.swin.edu.au/urp/newtcp/
AUTHORS
The mod_cc facility was written by Lawrence Stewart <lstewart@FreeBSD.org>, James Healy <jimmy@deefa.com> and David Hayes
<david.hayes@ieee.org>.
This manual page was written by David Hayes <david.hayes@ieee.org> and Lawrence Stewart <lstewart@FreeBSD.org>.
BSD
January 12, 2015 BSD