05-04-2010
I get no clue by your description. No idea which the balance and payment names are in this excerpt. Best post an example of the wanted output.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello folks
I want to extract data between certain tag in XML file using 'sed'
<xml>
.........
..........
<one>XXXXXXXXXXXXXXXXXXXX</one>
......
Anyone ?Thank you (7 Replies)
Discussion started by: pujansrt
7 Replies
2. Shell Programming and Scripting
I am needing to extract and list domain names out of a very large text file. The text file contains tlds .com .net .org and others as well as third level domains e.g. host1.domain.com and the names are placed within paragraphs of text.
Domains do not have a http:// prefix so I'm thinking the... (6 Replies)
Discussion started by: totus
6 Replies
3. UNIX for Dummies Questions & Answers
Hello People,
I have an xml file from which I need to extract the values of the parameters using UNIX shell commands.
Ex : Input is like :
<Name>Roger</Name>
or
<Address>MI</Address>
I need the output as just :
Roger
or
MI
with the tags removed.
Please help. (1 Reply)
Discussion started by: sushant172
1 Replies
4. UNIX for Dummies Questions & Answers
Hello,
Please can someone assist.
I have the following xml file:
<?xml version="1.0" encoding="utf-8" ?>
- <PUTTRIGGER xmlns:xsd="http://www.test.org/2001/XMLSchema" xmlns:xsi="http://www.test.org/2001/XMLSchema-instance" APPLICATIONNUMBER="0501160" ACCOUNTNAME="Mrs S Test"... (15 Replies)
Discussion started by: Dolph
15 Replies
5. Shell Programming and Scripting
Hello,
This is my first post in here, so excuse me if I sound too noob here!
I need to extract the path "/apps/mp/installedApps/V61/HRO/hrms_01698_A_qa.ear" from the below xml extract. The path will always appear with the key "binariesURL"
<deployedObject... (6 Replies)
Discussion started by: abhishek2386
6 Replies
6. Shell Programming and Scripting
Hello All,
Hope you are doing well!!!!!
I have a small code in the below format in xml file:
<UML:ModelElement.taggedValue>
<UML:TaggedValue tag="documentation" value="This sequence

HLD_EA_0001X
HLD_DOORS_002X"/>
<UML:TaggedValue tag="documentation" value="This... (11 Replies)
Discussion started by: suvendu4urs
11 Replies
7. Shell Programming and Scripting
Dear All,
I am reading one XML file to extract value from the particular tag:-
Sample xml is below:-
<KeyValuePairs>
<Key>TestString</Key>
<Value>Test12_Pollings</Value>
</KeyValuePairs>
I want to read the value for the KEY tag and there will be multiple key tags :-
awk... (4 Replies)
Discussion started by: sharsour
4 Replies
8. Shell Programming and Scripting
Hi All
My input file is an XML and it has some tags and data rows at end.
Starting of data rows is <rs:data> and ending of data rows is </rs:data>.
Within sample data rows (2 rows) shown below, I want to extract data value after equal to sign (until space or "/" sign).
So if XML data... (7 Replies)
Discussion started by: vx04
7 Replies
9. Shell Programming and Scripting
Hi Folks ,
I am asking this question but i apologise please if this is not the correct forum ,
I have to develop a shell script that i want to place in at hooks/post-commit , that is basically i have to develop a post hook script and the main functionality of that script would be lets say if... (0 Replies)
Discussion started by: sunsun06060606
0 Replies
10. Shell Programming and Scripting
Actually I have one list of channels names like:
Rai 1
Rai 1 +1HD
Rai 1 +2HD
Rai 2
Rai 2 +1HD
Rai 2 +2HD
.
.
.
.From this list of names I need create one new xml file with this structure
<channel id="Rai 1">
<display-name lang="it">Rai 1</display-name>
<icon... (3 Replies)
Discussion started by: Tapiocapioca
3 Replies
balance(8) System Manager's Manual balance(8)
NAME
balance - Balances the percentage of used space among volumes in a domain.
SYNOPSIS
/usr/sbin/balance [-v] domain
OPTIONS
Displays information on which files are being moved to different volumes. Selecting this option slows down the balance procedure.
OPERANDS
Specifies the name of the AdvFS file domain.
DESCRIPTION
The balance utility evenly distributes the percentage of used space between volumes in a multivolume domain. This improves performance and
evens the distribution of future file allocations.
Use the showfdmn command to determine the percentage of used space on each volume. This information allows you to determine the need to
balance the volumes.
The balance utility can be used at any time, but it is particularly useful after adding or removing a volume (addvol, rmvol) because these
procedures can cause file distribution to become uneven.
When you plan to run both the defragment and balance utilities on the same domain, run the balance utility before running the defragment
utility. The balance utility often improves the balance of free space, thus enabling the defragment utility to run more quickly.
Before you can balance volumes in a file domain, all filesets in the file domain must be mounted. If you try to balance volumes in an
active file domain that includes unmounted filesets, the system displays an error message indicating that a fileset is unmounted.
RESTRICTIONS
You must be the root user to use this utility.
You cannot run the balance utility while the addvol, rmvol, defragment, rmfset, or balance utility is running on the same file domain. If
you attempt to do this, a warning message is displayed.
The balance utility does not operate on striped files in the domain and does not include them in its calculations on used space.
EXAMPLES
The following example shows the procedure for determining the percentage of used space on each volume of the two-volume usr_domain file
domain and then redistributing the files to balance the percentage of used space. The final showfdmn command shows the redistributed per-
centage of used space. # showfdmn usr_domain
Id Date Created LogPgs Domain Name 2dcab512.000d1ed0 Fri May 7 14:22:26 1999 512 usr_domain
Vol 512-Blks Free % Used Cmode Rblks Wblks Vol Name
1L 819200 126848 85% on 128 128 /dev/dsk8g
2 768281 768080 0% on 128 128 /dev/dsk9d
---------- ---------- ------
1587481 894928 44%
# balance usr_domain
balance: Balancing domain 'usr_domain' balance: Balanced domain 'usr_domain'
# showfdmn usr_domain
Id Date Created LogPgs Domain Name 2dcab512.000d1ed0 Fri May 7 14:22:26 1999 512 usr_domain
Vol 512-Blks Free % Used Cmode Rblks Wblks Vol Name
1L 819200 459248 44% on 128 128 /dev/dsk8g
2 768281 433632 44% on 128 128 /dev/dsk9d
---------- ---------- ------
1587481 892880 44%
The files are now distributed more evenly between the two volumes.
SEE ALSO
Commands: addvol(8), defragment(8), rmvol(8), showfdmn(8)
balance(8)