01-07-2002
FYI:Try
www.freebsd.org for more info
I searched for child_max but found only max-child.
From
www.freebsd.org web pages:
The maximum number of child daemons inetd may spawn can be set using the max-child option. If a limit of ten instances of a particular daemon is needed, a /10 would be placed after nowait.
In addition to max-child another option limiting the maximum connections from a single place to a particular daemon can be enabled. max-connections-per-ip-per-minute does just this.
It may be that you are putting the option in backwards. Worth a try. Good luck.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to sort alphabetically on the first field and sort in descending numerical order on the 2nd field. With a normal "sort -r -n" it does this:
abc ||| 5e-05 ||| bla
abc ||| 3 ||| ble
def ||| 1 ||| abc
def ||| 0.2 ||| def
As you can see it ignores the fact that 5e-05 is actually 0.00005... (1 Reply)
Discussion started by: FrancoisCN
1 Replies
2. Shell Programming and Scripting
Hi, all
I need to get fields in a line that are separated by commas, some of the fields are enclosed with double quotes, and they are supposed to be treated as a single field even if there are commas inside the quotes.
sample input:
for this line, 5 fields are supposed to be extracted, they... (8 Replies)
Discussion started by: kevintse
8 Replies
3. Shell Programming and Scripting
First, thanks for the help in previous posts... couldn't have gotten where I am now without it!
So here is what I have, I use AWK to match $1 and $2 as 1 string in file1 to $1 and $2 as 1 string in file2. Now I'm wondering if I can extend this AWK command to incorporate the following:
If $1... (4 Replies)
Discussion started by: right_coaster
4 Replies
4. Shell Programming and Scripting
Hi Freinds,
I have 2 files . one is source.txt and second one is target.txt. I want to keep source.txt as baseline and compare target.txt. please find the data in 2 files and Expected output.
Source.txt
1|HYD|NAG|TRA|34.5|1234
2|CHE|ESW|DES|36.5|134
3|BAN|MEH|TRA|33.5|234... (5 Replies)
Discussion started by: i150371485
5 Replies
5. Linux
I have a .CSV file (file.csv) whose data are all enclosed in double quotes. Sample format of the file is as below:
column1,column2,column3,column4,column5,column6, column7, Column8, Column9, Column10
"12","B000QRIGJ4","4432","string with quotes, and with a comma, and colon: in... (3 Replies)
Discussion started by: dhruuv369
3 Replies
6. Shell Programming and Scripting
Hello,
I have a text file in the below format:
Source Destination State Lag Status
CQA02W2K12pl:D:\CAQA ... (10 Replies)
Discussion started by: pocodot
10 Replies
7. Shell Programming and Scripting
Table
ACN|NAME|CITY|CTY|NO1|NO2
115|AKKK|ASH|IND|10|15
115|AKKK|ASH|IND|20|20
115|AKKK|ASH|IND|30|35
115|AKKK|ASH|IND|30|35
112|ABC|FL|USA|15|15
112|ABC|FL|USA|25|20
112|ABC|FL|USA|25|45
i have written shell script using cut command
and awk programming getting error correct it and add... (5 Replies)
Discussion started by: udhal
5 Replies
8. Shell Programming and Scripting
I am trying to output a tab-delimited result that uses the data from a tab-delimited file to combine and subtract specific lines.
If $4 matches in each line then the first matching sequential $6 value is added to $2, unless the value is 1, then the original $2 is used (like in the case of line... (3 Replies)
Discussion started by: cmccabe
3 Replies
9. Shell Programming and Scripting
In the awk below I am trying to set/update the value of $14 in file2 in
bold, using the matching NM_ in $12 or $9 in file2
with the NM_ in $2 of file1.
The lengths of $9 and $12 can be variable but what is consistent is the start pattern
will always be NM_ and the end pattern is always ;... (2 Replies)
Discussion started by: cmccabe
2 Replies
10. UNIX for Beginners Questions & Answers
Hi,
So awk is driving me crazy on this one. I have searched everywhere and read man, docs and every related post Google can find and still no luck. The actual files I need to run this on are sensitive in nature, but it is the same thing as if I needed to calculate weighted grades for multiple... (15 Replies)
Discussion started by: cotilloe
15 Replies
LEARN ABOUT DEBIAN
prophet::web::menu
Prophet::Web::Menu(3pm) User Contributed Perl Documentation Prophet::Web::Menu(3pm)
NAME
Prophet:Web::Menu - Handle the API for menu navigation
METHODS
new PARAMHASH
Creates a new Prophet::Web::Menu object. Possible keys in the PARAMHASH are "label", "parent", "sort_order", "url", and "active". See the
subroutines with the respective name below for each option's use.
label [STRING]
Sets or returns the string that the menu item will be displayed as.
parent [MENU]
Gets or sets the parent Prophet::Web::Menu of this item; this defaults to null. This ensures that the reference is weakened.
sort_order [NUMBER]
Gets or sets the sort order of the item, as it will be displayed under the parent. This defaults to adding onto the end.
link
Gets or set a Jifty::Web::Link object that represents this menu item. If you're looking to do complex ajaxy things with menus, this is
likely the option you want.
target [STRING]
Get or set the frame or pseudo-target for this link. something like _blank
class [STRING]
Gets or sets the CSS class the link should have in addition to the default classes. This is only used if "link" isn't specified.
url
Gets or sets the URL that the menu's link goes to. If the link provided is not absolute (does not start with a "/"), then is is treated as
relative to it's parent's url, and made absolute.
active [BOOLEAN]
Gets or sets if the menu item is marked as active. Setting this cascades to all of the parents of the menu item.
child KEY [, PARAMHASH]
If only a KEY is provided, returns the child with that KEY.
Otherwise, creates or overwrites the child with that key, passing the PARAMHASH to "new" in Jifty::Web::Menu. Additionally, the
paramhash's "label" defaults to the KEY, and the "sort_order" defaults to the pre-existing child's sort order (if a "KEY" is being over-
written) or the end of the list, if it is a new "KEY".
active_child
Returns the first active child node, or "undef" is there is none.
delete KEY
Removes the child with the provided KEY.
children
Returns the children of this menu item in sorted order; as an array in array context, or as an array reference in scalar context.
render_as_menubar [PARAMHASH]
Render menubar with YUI menu, suitable for an application's menu. It can support arbitary levels of submenu.
as_link
Return this menu item as a "Jifty::Web::Link", either the one we were initialized with or a new one made from the "/label" and "/url"
If there's no "/url" and no "/link", renders just the label.
perl v5.10.1 2009-12-22 Prophet::Web::Menu(3pm)