If there is empty values like below:
then, the next ones with values like the below are skipped.
So, awk runs fine until it hits the ones like this:
Please advise.
Hello,
I cannot figure this one out. I would like to do the following. I have a line that has 7 words. It is possible that the line can have 20 words too. I always want to show the 9th word and beyond. The 9th word will always change so I do not have something to search for, so I think... (1 Reply)
HI,
HP-UX B.11.00 A 9000/785 (ta)
I am trying to export a display using Xming & and Telnet (not SSH) but when I try..
$ DISPLAY=192.168.1.75:0.0
$ export DISPLAY
$ xclock
and get..
Xlib: connection to "192.168.1.75:0.0" refused by server
Xlib: No protocol specified
Error:... (4 Replies)
Hi. Is there a way in awk to show all lines between a line number and the next line containing a particular regex? We can do these, of course:
awk '/regex1/,/regex2/' filename
awk 'FNR > X && FNR < Y' filename
But can they be combined? Thanks. (3 Replies)
Hello people!
I would like to create one script following this stage
I have one directory with 100 files
File001
File002
...
File100
(This is the format of content of the 100 files)
2012/03/10 12:56:50:221875936 1292800448912 12345 0x00 0x04 0
then I have one... (0 Replies)
Please can you let me know how to print all the matching lines from a file in one single line using awk. Thanks
I have the following data in the input file
data1
voice2
voice1
speech1
data2
data3
...
...
voice4
speech2
data4
and the output should be as follows
data1 data2... (4 Replies)
Hello,
I need a program that read a file line by line and prints out lines 1, 2 & 3 after an empty line... An example of entries in the file would be:
SRVXPAPI001 ERRO JUN24 07:28:34 1775
REASON= 0000, PROCID= #E506 #1065: TPCIPPR, INDEX= 003F
... (8 Replies)
How do I display the filename that has been awk to each of the line in Unix, i need to so far I have tried {print FILENAME;nextfile} but to no avail.
`awk -F, '/1.2 Install TCP Wrappers/ {P=0} /1.1 Apply latest OS patches/ {P=1} P' solarisappsummary.txt solarisdbsummary.txt`
For... (6 Replies)
Discussion started by: alvinoo
6 Replies
LEARN ABOUT DEBIAN
instances.conf
INSTANCES.CONF(5) [FIXME: manual] INSTANCES.CONF(5)NAME
instances.conf_ - zorp(8) instances database
DESCRIPTION
The instances.conf file describes the zorp(8) instances to be run on the system. It is processed by zorpctl(8) line by line, each line
having the structure described below. Empty lines and lines beginning with '#' are comments ignored by zorpctl.
STRUCTURE
instance-name parameters [-- zorpctl-options]
instance-name is the name of the Zorp instance to be started; it is passed to zorp with its --as parameter. Instance names may consist of
the characters [a-zA-Z0-9_] and must begin with a letter.
parameters are space separated parameters entered into the zorp command-line. For details on these command-line parameters see zorp(8).
zorpctl-options are space separated parameters control startup specific options. They are processed by zorpctl itself. The following
zorpctl options are available:
--auto-restart or -A
Enable the automatic restart feature of zorpctl. When an instance is in auto-restart mode, it is restarted automatically in case the
instance exits.
--no-auto-restart or -a
Disable automatic restart for this instance.
--fd-limit <number> or -f <number>
Set the file descriptor limit to <number>. The file descriptor limit defaults to the number of threads (specified by the --threads
parameter of zorp(8)) multiplied by 4.
--process-limit <number> or -p <number>
Set the process limit to <number>. The process limit defaults to the number of threads (specified by the --threads parameter of
zorp(8)) multiplied by 2.
--enable-core
Explicitly enable core dumps for Zorp processes. The core limit is inherited from the local starting environment (e.g.: starting shell)
if not specified.
--parallel-instances <number> or -P <number>
Run <number> of processes for the instance. zorpctl starts exactly one Zorp process in master mode and <number> of slave Zorp
processes. This mode of operation is incompatible with old-style dispatchers, you must use the new rule-based policy with this option.
EXAMPLES
zorp_ftp --policy /etc/zorp/policy.py --verbose 5
The line above describes a Zorp instance named zorp_ftp using policy file /etc/zorp/policy.py, and having verbosity level 5.
zorp_intra -v4 -p /etc/zorp/policy.py --threads 500 --no-auto-restart --fd-limit 1024 --process-limit 512
This line describes a zorp instance named zorp_intra using the policy file /etc/zorp/policy.py, verbosity level 4. The maximum number of
threads is set to 500, file descriptor limit to 1024, process limit to 512.
FILES
The default location of instances.conf is /etc/zorp/instances.conf. Defaults for zorpctl tunables can be specified in /etc/zorp/zorpctl.
AUTHOR
This manual page was written by the BalaBit Documentation Team <documentation@balabit.com>.
COPYRIGHT
Copyright (C) 2006 BalaBit IT Security Ltd. All rights reserved. For more information about the legal status of this document please read:
http://www.balabit.com/products/zorp/docs/legal_notice.bbq
[FIXME: source] 03/06/2012 INSTANCES.CONF(5)