I 've got this retourn when i tape the commande lspv:
hdisk0 00c3fce454950416 rootvg active
hdisk1 00c3fce454950416 rootvg active
I want to verify if hdisk0 et hdisk1 have the same pvid (ex : 00c3fce454950416)?
Can... (8 Replies)
What's the easiest way to search a file for a specific string and then look for other instances after that? I want to search for all Virtual Hosts and print out the Server Name and Document Root (if it has that info), while discarding the rest of the info.
Basically my file looks like this:
...... (6 Replies)
I would like to search between two a string. I thought this would be easy. The is always at the beginning of a line.
The code:
gawk '/^/{d=$1},/searchstring/,/^(d+1)/'
or
gawk '/^/,/searchstring/,/^/'
did not return the desired result.
inputfile.txt
999 some text searchstring some... (6 Replies)
here is what i want to achieve... consider a file contains below contents. the file size is large about 60mb
cat dump.sql
INSERT INTO `table1` (`id`, `action`, `date`, `descrip`, `lastModified`) VALUES (1,'Change','2011-05-05 00:00:00','Account Updated','2012-02-10... (10 Replies)
I need to search the file using strings "Request Type" , " Request Method" , "Response Type" and by using result set find the xml tags and convert into a single line?. below are the scenarios.
Cat test
Nov 10, 2012 5:17:53 AM
INFO: Request Type
Line 1.... (5 Replies)
Hi,
Need your help for this scripting issue I have. I am not really good at this, so seeking your help.
I have a file looking similar to this:
Hello, i am human and name=ABCD.
How are you?
Hello, i am human and name=PQRS.
I am good.
Hello, i am human and name=ABCD.
Good bye.
Hello, i... (12 Replies)
Hi all,
When we run lpsv -free command on VIOS, it will take lot of time to display free disks i.e around 8 to 10 minutes. VIOS ioslevel is 2.2.1.4Can you have any solution for this problem?
Many Thanks (2 Replies)
I must have forgot how to do this, but, I am attempting to enter a variable into an awk / gawk search pattern.
I am getting a value from user input to place in a specific section of a 132 character string.
my default command is ....
gawk --re-interval '/^(.{3}P .{4}CYA.{8}1)/' ... (3 Replies)
Dear All
During one of mine script developemnt i am stuch at one sub part. Requiremnt is as below kindly help me.
IP file:
2015-02-28 10:10:15 AL M UtranCell UtranCell=RTE001X (unavailable)
2015-02-28 10:10:15 AL M UtranCell UtranCell=RTE001Y (unavailable)
2015-02-28 10:10:15 AL M... (6 Replies)
Hi all,
We have observed that lspv -free command tooks 15 to 20 minutes to display the free disks and we have only 77 MPIO disks on VIO Server. Our VIOS version is 2.2.1.4.
Please let us know what could be the reason that lspv -free command taking long time to display the output.
Thank (4 Replies)
Discussion started by: m_raheelahmed
4 Replies
LEARN ABOUT REDHAT
getlist
GETLIST(1) General Commands Manual GETLIST(1)NAME
getlist - get a list from an NNTP server
SYNOPSIS
getlist [ -h host ] [ list [ pattern [ types ] ] ]
DESCRIPTION
The getlist program obtains a list from an NNTP server and sends it to standard output.
The list may be one of active, active.times, distributions, or newsgroups. These values request the active(5), active.times,
<pathetc in inn.conf>/distributions. or <pathdb in inn.conf>/newsgroups files, respectively.
OPTIONS -h If the ``-h'' flag is used, then the program connects to the server on the specified host. The default is to connect to the server
specified in the inn.conf(5) file.
If the list parameter is active, then the pattern and types parameters may be used to limit the output. When pattern is used, only active
lines with groups that match according to wildmat(3) are printed. When types is also given, only active lines that have a fourth field
starting with a character found in types are printed.
For example, the following command will obtain the one-line descriptions of all newsgroups found on UUNET:
getlist -h news.uu.net newsgroups
The following line lists all groups where local postings are permitted, are moderated or aliased:
getlist active '*' ym=
Note that the listing files other than the active file is a common extension to the NNTP protocol and may not be available on all servers.
HISTORY
Written by Landon Curt Noll <chongo@toad.com> for InterNetNews.
SEE ALSO active(5), inn.conf(5), nnrpd(8), wildmat(3).
GETLIST(1)