Sorry for missing the rest of the input file. Try
As it is difficult if not impossible to determine the very last SID_DESC entry, I need to rely on alias3_DGB being the last. If that is not the case, hmmm?
Analysis of code:
I have an awk script like below
function abs(val) {
return val > 0 ? val : -val
}
# 1. Main input loop, executed for each line of input
BEGIN { RS = ORS = ">" }
{ if ( NF > 2 )
{
if ( abs( $1 - $(NF-2) ) < 40 ) { print }
}
}
The input file is something like... (2 Replies)
I have a file like this
%( PHASES
P
%)
%( SOURCES
(10,0.0)
(13,0.0)
(16,0.0)
(19,0.0)
(22,0.0)
(25,0.0)
(28,0.0)
(31,0.0)
(34,0.0)
(37,0.0)
(40,0.0) (1 Reply)
Hi All,
I'm installation a server
we have client -server architecture
I need to configure a port for client to communicate with the server
and server to communicate with the clients
Pls let me know how to configure in linux (2 Replies)
I have a file that looks liek this (see below). can somebody provide me with and awk or sed command that can take a piece of the file starting from the time to the blank line and put in into another file.
For example: How would I get the data from 10:56:11 to the blank line.
Two things:
... (5 Replies)
Hi all,
Am intermittently getting the following errors on one of my databases.
Errors in file /oracle/HRD/saptrace/background/hrd_psp0_13943.trc:
ORA-27300: OS system dependent operation:fork failed with status: 12
ORA-27301: OS failure message: Not enough space
ORA-27302:... (1 Reply)
Hi - I am trying to grep all "ORA" errors in a log files.I have to grep all ORA errors except one error for example ORA-01653.How can exclude that error in "grep" command?
In following "grep" command I want to exclude "ORA-01653" error
grep -i ORA alert.log >>/tmp/ora_errors.txt
... (7 Replies)
Hi,
I am trying to write a script or command to remove a section from tnsnames.ora file
in the following example I would like to remove tns_alias2 section
$ cat tnsnames.ora
tns_alias1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = host1 )(PORT = 1521))
... (3 Replies)
Hi,
User claim that job is running slow from their end.
I DBA found in database the below errors in alert log file.
ORA-27603: Cell storage I/O error, I/O failed on disk o/192.168.10.3/RECO_DM01_CD_01_drm01 at offset 13335789568 for data length 1048576
ORA-27626: Exadata error: 2201 (IO... (2 Replies)
Discussion started by: Maddy123
2 Replies
LEARN ABOUT SUNOS
asadmin-create-http-listener
asadmin-create-http-listener(1AS) User Commands asadmin-create-http-listener(1AS)NAME
asadmin-create-http-listener, create-http-listener - adds a new HTTP listener socket
SYNOPSIS
create-http-listener --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile filename]
--listeneraddress address [--terse=false] [--echo=false] [--interactive=true] --listenerport listener_port --defaultvs virtual_server
--servername server_name [--acceptorthreads acceptor_threads] [--securityenabled=false] [--enabled=true]listener_ID
Creates the HTTP listener. This command is supported in remote mode only.
OPTIONS --user authorized domain application server administrative username.
--password password to administer the domain application server.
--host machine name where the domain application server is running.
--port port number of the domain application server listening for administration requests.
--secure if true, uses SSL/TLS to communicate with the domain application server.
--passwordfile file containing the domain application server password.
--terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-
formatted data for consumption by a script. Default is false.
--echo setting to true will echo the command line statement on the standard output. Default is false.
--interactive if set to true (default), only the required password options are prompted.
--listeneraddress IP address of the listener address.
--listenerport port number to create the listen socket on. Legal values are 1-65535. On UNIX, creating sockets that listen on
ports 1-1024 requires superuser privileges. Configuring an SSL listen socket to listen on port 443 is recommended.
--defaultvs ID attribute of the default virtual server for this particular connection group.
--servername tells the server what to put in the host name section of any URLs it sends to the client. This affects URLs the
server automatically generates; it doesn't affect the URLs for directories and files stored in the server. This
name should be the alias name if your server uses an alias. If a colon and port number is appended, that port will
be used in URLs that the server sends to the client.
--acceptorthreads number of acceptor threads for the listen socket. The recommended value is the number of processors in the machine.
--securityenabled determines whether the HTTP listener runs SSL. You can turn SSL2 or SSL3 ON or OFF and set ciphers using an SSL
element. The security setting globally enables or disables SSL by making certificates available to the server
instance.
--enabled determines if the resource is enabled at runtime.
OPERANDS
listener_id listener ID of the HTTP listener.
Example 1: Using create-http-listener
asadmin> create-http-listener --user admin1 --password adminadmin1
--host pigeon --port 5001 --listeneraddress 0.0.0.0
--listenerport 7272 --defaultvs server --servername pigeon.red.iplanet.com
--acceptorthreads 2 --securityenabled=false --enabled=false sampleListener
Command create-http-listener executed successfully
Where: sampleListener is the HTTP listener created.
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-delete-http-listener(1AS), asadmin-list-http-listeners(1AS)J2EE 1.4 SDK &release asadmin-create-http-listener(1AS)