ns_headers(3aolserver) AOLserver Built-In Commands ns_headers(3aolserver)__________________________________________________________________________________________________________________________________________________NAME
ns_headers - commands
SYNOPSIS
ns_headers connId status ?type length?
_________________________________________________________________DESCRIPTION
This command immediately pushes the required HTTP headers back to the client. It is for backwords compatability only. The connId argument
is made available through the ns_register_proc function. The status is the HTTP response code to return to the client. The type refers to
the Content-Type header, and defaults to 'text/html'. The length argument refers to the Content-Length header.
SEE ALSO nsd(1), info(n)
KEYWORDS AOLserver 4.0 ns_headers(3aolserver)
Check Out this Related Man Page
ns_log(3aolserver) AOLserver Built-In Commands ns_log(3aolserver)__________________________________________________________________________________________________________________________________________________NAME
ns_log, ns_logctl - commands
SYNOPSIS
ns_log severity message
_________________________________________________________________DESCRIPTION
While the AOLserver is running it logs various events from Notices to Fatal errors. Usually the AOLserver is running in the background, in
which case these messages are placed in the server log. In absence of an ServerLog key in the AOLserver nsd.ini file, this file is the
/log/error.log under the AOLserver installation directory. When the AOLserver is running in the foreground the messages are redirected to
stderr.
ns_log writes the message to the server error log file. Allowable values for severity are:
Notice - Something interesting occurred.
Warning - Something that could mean something bad occurred.
Error - Something bad occurred.
Fatal - Something extremely bad occurred. The server will shut down after logging the message.
Bug - Something occurred that implies that there is a bug in the code.
Debug - If the server is in Debug mode, the message is printed. Debug mode is specified in the [ns/parameters] section of the configuration
file. Otherwise, the message is not printed.
SEE ALSO nsd(1), info(n)
KEYWORDS AOLserver 4.0 ns_log(3aolserver)
Hi,
I have a file monitor.txt as below...
# Times are converted to local time from GMT.
# Local Timezone: EST (GMT -05:00)
PARAM1
{
TIME 30;
CC1 "xxxxx";
CC2 "xxxxx";
CC3 "xxxxx";
CC4 "xxxxx";
}
PARAM2
{
4061 :... (3 Replies)
I have a report that I'd like to print columns headers on. The code appears as follows:
gawk '{for (i=1; i<=NF; i++) if ($i < 0) $i = -$i; print }'|gawk '{ printf "%-78s%-30s%-30s%-30s\n", $1,$2, $3, $4 }' |awk '{for (i=1; i<=NF; i++) if ($i < 0) $i = -$i; print }' report_1020I am trying to make... (3 Replies)
Hi Experts,
I want to join two files(file1 ,file2) which are having tab separated values,by sorting them on key column(ID) and want to redirect the output to other file(output file) along with the headers from both the files.
cat file1:
ID Name phone_no
205 mno 90808
200 xyz 32003... (9 Replies)
Hi Experts,
Need urgent solution for a problem.
I have two files file1 and file2. file1 is tab separated and file2 is comma separated.
I need to merge both the files into single file based on CUST_ID by retaining the headers of file1
Matching CUST_IDs should be placed one below the other in... (11 Replies)
Hello, I would like to know what is the three most abundant substrings of length 6 from col2. The file is quite large and looks like this
col1 col2
EN03 typehellobyedogcatcatdog
EN09 typehellobyebyebyebye
EN08 dogcatcatdogbyebyebyebye
EN09 catcattypehellobyebyebyebye... (9 Replies)
awk -v pat="$pattern" 'NR == 1 {print $0}; $0 ~ pat {print $0}' infile.csv > outfile.csv
The first row of my file contains headers so I want them. Otherwise, I want only lines containing the BASH variable pattern which I am passing to awk with -v.
This is giving me all the lines containing... (6 Replies)
Hi all.
I am working on the below requirement of generating .xml file from .xls file which i have , can someone please help me or in writing the perl script for the same:
The xls file format is as below which has two columns and number of rows are not fixed:
Fixlet Name ... (12 Replies)
I do have a large matrix of the following format and it is tab delimited
ch-ab1-20 ch-bb2-23 ch-ab1-34 ch-ab1-24 er-cc1-45 bv-cc1-78
ch-ab1-20 0 2 3 4 5 6
ch-bb2-23 3 0 5 ... (6 Replies)
Hello,
I have to fish out some specific columns from a file based on the header value. I have the list of columns I need in a different file. I thought I could read in the list of headers I need,
# file with header names of required columns in required order
headers_file=$2
# read contents... (11 Replies)
awk -F, ' NR>1 {
BEGIN{
chr=$2
}
END{
for (k in chr) {print k}
}
} ' $gene_file
I've a really simple code. I want to store gene name and it's chromosome and in the end print them.
I'm skipping line one as it contains headers.
But I don't know why I get error as: (2 Replies)
Someone, please help on this issue:-
Note : for security reason i didn't mention hostnames and ips.
==============================================================================
# ntpstat
unsynchronised
polling server every 1024 s
Ntpstat showing unsynchronised.
... (29 Replies)
I have
FILE 1 (This file has all master columns/headers)
A|B|C|D|E|F|G|H|STATUS
FILE 2
A|C|F|I|OFF_STATUS
3|4|5|4|Y
6|7|8|5|Y
Below command give me all headers of FILE 2 into array2.txt file
paste <(head -1 FILE2.txt | tr '|' '\n')>array2.txt
So I would like to compare... (2 Replies)