hi, i have a text file wich contains following informations:
1 Record 90 in base GUJA_2008 (Created: 2008-01-14 19:00:38, Modified: 2008-01-15 18:54:33)
1 YADM_20080101_A91645666_A91645666
4 2008/01/15/ADM.ADM/20080101.ADM.ADM.A91645666G001.jff
1 Record 91 in base GUJA_2008 (Created:... (3 Replies)
I have a huge file and every paragraph has a date. But I want to retrieve the paras for the last two days only. So I can grep and findout the linenum for the first line since yesterday. Now I want to display everything after that line. And I am trying to do this inside a script so the linenum is a... (4 Replies)
Hi Guys,
Was trying to attempt the below using awk and sed, have no luck so far, so any help would be appreciated.
Current Text File: The first line has got an "\n", and the second line has got spaces/tabs then the word and "\n"
TIME SERVER/CLIENT TEXT... (6 Replies)
Hi,
I am trying to locate the occurences of certain pattern like 'Possible network disconnect' in a text file. I can get the actual lines matching the pttern using:
grep -w 'Possible network disconnect' file_name.
But I am more interested in getting the timing of these events which are... (7 Replies)
I have a file of 1.3 millions lines.
some are with the same word twice on the line, some line have two diffrent words.
each line has two words, one in brackets.
example:
foo (foo)
bar (bar)
thae (awvd)
beladf (vswvw)
I am sure this can be done with one line of... (6 Replies)
Hi all I am trying to process some data sample input is like this
VARIABLE : T
axis TDAY
TIME : 02-FEB-2004 17:54
19755.
VARIABLE : quality flag
FILENAME : 1900054_prof.nc
Z : 41
... (3 Replies)
'Hi
I'm using the following code to extract the lines(and redirect them to a txt file) after the pattern match. But the output is inclusive of the line with pattern match.
Which option is to be used to exclude the line containing the pattern?
sed -n '/Conn.*User/,$p' > consumers.txt (11 Replies)
Hi all!
Thanks for taking the time to view this!
I want to grep out all lines of a file that starts with pattern 1 but also does not match with the second pattern.
Example:
Drink a soda
Eat a banana
Eat multiple bananas
Drink an apple juice
Eat an apple
Eat multiple apples
I... (8 Replies)
The intended result should be :
PDF converters
'empty line'
gpdftext and pdftotext?xml version="1.0"?>
xml:space="preserve"><note-content version="0.1" xmlns:/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size">PDF converters
gpdftext and pdftotext</note-content>... (9 Replies)
would like to print everything after matching two patterns AAA and BBB.
output :
CCC
ZZZ
sample data :
AAA
BBB
CCC
ZZZ (4 Replies)
Discussion started by: jhonnyrip
4 Replies
LEARN ABOUT OPENSOLARIS
clsetup
clsetup(1CL) Sun Cluster Maintenance Commands clsetup(1CL)NAME
clsetup - configure Sun Cluster interactively
SYNOPSIS
/usr/cluster/bin/clsetup -V
/usr/cluster/bin/clsetup -?
/usr/cluster/bin/clsetup [-f logfile]
DESCRIPTION
The clsetup command provides the following configuration capabilities, depending on what state the cluster is in when you issue the com-
mand. The user must be superuser to run this command.
This command has no short form.
o When you run the clsetup command at post-installation time, the command performs initial setup tasks, such as configuring quorum
devices and resetting the installmode property. If you deselected automatic Quroum Configuration when you created the cluster
using either scinstall or the cluster create command, then you must run the clsetup command immediately after the cluster has
been installed. Ensure that all nodes have joined the cluster before you run the clsetup command and reset the installmode prop-
erty.
If you used automatic quorum configuration when you created the cluster, you do not need to run the clsetup command after clus-
ter installation. The automatic quorum configuration feature also resets the installmode property of the cluster.
You can issue this form of the clsetup command from any node in the cluster.
o When you run the clsetup command during normal cluster operation, the scsetup command provides an interactive, menu-driven util-
ity to perform cluster configuration tasks. The following are some of the cluster components which this utility administers:
o Quorum
o Resource groups
o Data services
o Cluster interconnect
o Device groups and volumes
o Private hostnames
o New nodes
o Other cluster properties
You can issue this form of the clsetup command from any node in the cluster.
o When you run the clsetup command from a node that is in noncluster mode, the clsetup command provides a menu-driven utility for
changing and displaying the private IP address range.
You must reboot all nodes into noncluster mode before you start this form of the clsetup utility.
OPTIONS
The following options are supported:
-?
--help
Prints help information for the command.
-f logfile
--file logfile
Specifies the name of a log file to which commands can be logged. If this option is specified, most command sets generated by clsetup
can br run and logged, or just logged, depending on user responses.
-V
--version
Prints the version of the command set. No command line processing will be performed and the command will not enter into its interactive
menu.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsczu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO Intro(1CL), cldevicegroup(1CL), clnode(1CL), clquorum(1CL), clreslogicalhostname(1CL), clresourcegroup(1CL), clresourcetype(1CL),
clressharedaddress(1CL), cluster(1CL), cltelemetryattribute(1CL)Sun Cluster 3.2 5 May 2006 clsetup(1CL)