05-08-2014
Attr get values in fsstat
When seeing a typical Trans2 Request, Query_Path_Info (or similar) for a given file I see 15 attribute values returned from our SAN when looking at Wireshark traffic logs within one response.
My questions is, when looking at fsstat attr get operations, does one request for attribute information account for 15 attribute operations in fsstat, or just one?
Example, if I see 10 file queries within Wireshark does that account to more than 150 attr get operations, or more?
Thanks in advance
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
My server was shutdown improperly. Upon restart the system loads the kernel txt ok, but the .data load slowly. the boot up process stoppted and asked if ok to check the root file sytem y/n?
i selected y. then appears htfs file system:
root file system
... (0 Replies)
Discussion started by: mbco
0 Replies
2. UNIX for Advanced & Expert Users
Hi All,
Is there any command which can convert binary decimal coded values to ascii values...
i have bcd values like below
оооооооооооо0о-- -v -
Pls suggest a way to convert this.
Thanks,
Deepti.Gaur (3 Replies)
Discussion started by: gaur.deepti
3 Replies
3. Shell Programming and Scripting
Dear Guyz:)
I have 2 different input files like this. I would like to pick the values or letters from the inputfile2 based on inputfile1 keys (A,F,N,X,Z).
I have done similar task by using awk but in that case the inputfiles are similar like in inputfile2 (all keys in 1st column and values in... (16 Replies)
Discussion started by: repinementer
16 Replies
4. UNIX for Advanced & Expert Users
Hello everyone,
I created a test program for pthread priority set. Here's the code, very simple, 60 lines only.
I've tried this prog on my Fedora 13(on vbox), and on my 6410 arm linux 2.6.36. Both the same result.
Both environments are using root privileges.
Can any body tells me why the... (15 Replies)
Discussion started by: ss1969
15 Replies
5. Shell Programming and Scripting
I have results from some statistical analyses.
The format of the results are as given below:
I want to select lines that have a p-value (last column) less than 0.05 from all the results files (*.results) and cat to a new results file.
It would be very nice if a new column is added that tells... (2 Replies)
Discussion started by: genehunter
2 Replies
6. Shell Programming and Scripting
- I have two files (File 1 and File 2) and the contents of the files are mentioned below.
- I am trying to compare the values of Column1 of File1 with Column1 of File2. If a match is found, print the corresponding value from Column2 of File1 in Column5 of File2.
- I tried to modify and use... (10 Replies)
Discussion started by: Santoshbn
10 Replies
7. Shell Programming and Scripting
Hello All,
I have a below data in a .csv file where all rows where col1 is A, col2 is odd numbers, similarly even numbers for all rows where col1 is B.
Note that my data has some other columns(not shown here) too (around 100) after col2.
Tool,Data
A,1
A,3
A,5
....
so on
B,2
B,4
.... ... (4 Replies)
Discussion started by: ks_reddy
4 Replies
8. Shell Programming and Scripting
Hi,
I need a shell script, which would search the result values from another files.
1)execute " select column1 from table_name" query on the table.
2)Based on the result, need to be grep from .wft files.
could please explain about this.Below is the way i am using.
#!/bin/sh... (4 Replies)
Discussion started by: Rami Reddy
4 Replies
9. Shell Programming and Scripting
I have a file containing multiple values, some of them are pipe separated which are to be read as separate values and some of them are single value all are these need to store in variables.
I need to read this file which is an input to my script
Config.txt
file name, first path, second... (7 Replies)
Discussion started by: ketanraut
7 Replies
10. Shell Programming and Scripting
Hi,
I want to replace a chain of if-else statement in an old AWK file with values from Db2 table or CSV file. The part of code is below...
if (start_new_rec=="true"){
exclude_user="false";
user=toupper($6);
match(user, "XXXXX.");
if (RSTART ==2 ) {
... (9 Replies)
Discussion started by: asandy1234
9 Replies
LEARN ABOUT DEBIAN
xml::libxml::attr
XML::LibXML::Attr(3pm) User Contributed Perl Documentation XML::LibXML::Attr(3pm)
NAME
XML::LibXML::Attr - XML::LibXML Attribute Class
SYNOPSIS
use XML::LibXML;
# Only methods specific to Attribute nodes are listed here,
# see XML::LibXML::Node manpage for other methods
$attr = XML::LibXML::Attr->new($name [,$value]);
$string = $attr->getValue();
$string = $attr->value;
$attr->setValue( $string );
$node = $attr->getOwnerElement();
$attr->setNamespace($nsURI, $prefix);
$bool = $attr->isId;
$string = $attr->serializeContent;
DESCRIPTION
This is the interface to handle Attributes like ordinary nodes. The naming of the class relies on the W3C DOM documentation.
METHODS
The class inherits from XML::LibXML::Node. The documentation for Inherited methods is not listed here.
Many functions listed here are extensively documented in the DOM Level 3 specification (http://www.w3.org/TR/DOM-Level-3-Core/
<http://www.w3.org/TR/DOM-Level-3-Core/>). Please refer to the specification for extensive documentation.
new
$attr = XML::LibXML::Attr->new($name [,$value]);
Class constructor. If you need to work with ISO encoded strings, you should always use the "createAttribute" of XML::LibXML::Document.
getValue
$string = $attr->getValue();
Returns the value stored for the attribute. If undef is returned, the attribute has no value, which is different of being "not
specified".
value
$string = $attr->value;
Alias for getValue()
setValue
$attr->setValue( $string );
This is needed to set a new attribute value. If ISO encoded strings are passed as parameter, the node has to be bound to a document,
otherwise the encoding might be done incorrectly.
getOwnerElement
$node = $attr->getOwnerElement();
returns the node the attribute belongs to. If the attribute is not bound to a node, undef will be returned. Overwriting the underlying
implementation, the parentNode function will return undef, instead of the owner element.
setNamespace
$attr->setNamespace($nsURI, $prefix);
This function tries to bound the attribute to a given namespace. If $nsURI is undefined or empty, the function discards any previous
association of the attribute with a namespace. If the namespace was not previously declared in the context of the attribute, this
function will fail. In this case you may wish to call setNamespace() on the ownerElement. If the namespace URI is non-empty and
declared in the context of the attribute, but only with a different (non-empty) prefix, then the attribute is still bound to the
namespace but gets a different prefix than $prefix. The function also fails if the prefix is empty but the namespace URI is not
(because unprefixed attributes should by definition belong to no namespace). This function returns 1 on success, 0 otherwise.
isId
$bool = $attr->isId;
Determine whether an attribute is of type ID. For documents with a DTD, this information is only available if DTD loading/validation
has been requested. For HTML documents parsed with the HTML parser ID detection is done automatically. In XML documents, all "xml:id"
attributes are considered to be of type ID.
serializeContent($docencoding)
$string = $attr->serializeContent;
This function is not part of DOM API. It returns attribute content in the form in which it serializes into XML, that is with all meta-
characters properly quoted and with raw entity references (except for entities expanded during parse time). Setting the optional
$docencoding flag to 1 enforces document encoding for the output string (which is then passed to Perl as a byte string). Otherwise the
string is passed to Perl as (UTF-8 encoded) characters.
AUTHORS
Matt Sergeant, Christian Glahn, Petr Pajas
VERSION
2.0001
COPYRIGHT
2001-2007, AxKit.com Ltd.
2002-2006, Christian Glahn.
2006-2009, Petr Pajas.
perl v5.14.2 2012-06-20 XML::LibXML::Attr(3pm)