Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
1
votes
2
answers
186
views
how can I select element using xmllint command?
I am trying to select **"Bvlgari omnia crystalline'perfume' 100ml"** by making use of xmllint from the codes below. But As I'm newbie in the field of linux,It is insanely difficult to figure out the usage of xmllint in order to select a certain element that I want. how can I select element **"Bvlgar...
I am trying to select **"Bvlgari omnia crystalline'perfume' 100ml"** by making use of xmllint from the codes below.
But As I'm newbie in the field of linux,It is insanely difficult to figure out the usage of xmllint in order to select a certain element that I want.
how can I select element **"Bvlgari omnia crystalline'perfume' 100ml"** using xmllint command in this codes?
(() => {
document.documentElement.dataset.carotene = "";
var d = window.matchMedia("(prefers-color-scheme: dark)"),
a = () => {
document.documentElement.dataset.caroteneColorMode = d.matches
? "dark"
: "light";
};
"addEventListener" in d
? d.addEventListener("change", a)
: "addListener" in d && d.addListener(a),
a();
})();
window.sentryEnv = {
release: "324cbb3",
environment: "prod-kr"
};
Search result
{"@context":"https://schema.org ","@type":"ItemList","numberOfItems":28,"itemListElement":[{"@type":"ListItem","position":1,"item":{"@context":"https://schema.org ","@type":"Product","name":"Bvlgari omnia crystalline'perfume' 100ml","description":"bvlgari omnia crystalline perfume 100ml \n\n 200 dollars \n\n\n\n","offers":{"@type":"Offer","price":"115000.0","priceCurrency":"KRW","itemCondition":"https://schema.org/UsedCondition ","availability":"https://schema.org/InStock ","seller":{"@type":"Person","name":".kwangjin"}}}}]}
bshi02
(21 rep)
Apr 30, 2025, 10:01 PM
• Last activity: May 1, 2025, 09:04 AM
4
votes
4
answers
3343
views
Create CSV from an xml file
I'm trying to create a csv from an xml with just some information from the xml. This is my xml : ``` 2022-11-06T01:22:14+00:00 MacBook-Pro-de-Baptiste.local ARRI HDET job in-place A_0900C001_220927_102036_a1BZ0_hde.mxf 3f93f215ec277fc7 A_0900C002_220927_102120_a1BZ0_hde.mxf 6a3c2be7577f31bd A_0900C0...
I'm trying to create a csv from an xml with just some information from the xml.
This is my xml :
2022-11-06T01:22:14+00:00
MacBook-Pro-de-Baptiste.local
ARRI HDET job
in-place
A_0900C001_220927_102036_a1BZ0_hde.mxf
3f93f215ec277fc7
A_0900C002_220927_102120_a1BZ0_hde.mxf
6a3c2be7577f31bd
A_0900C003_220927_102240_a1BZ0_hde.mxf
6606cf4d3b1ebc17
A_0900C004_220927_102334_a1BZ0_hde.mxf
cd0a2dca6f8f6c21
A_0900C005_220927_102506_a1BZ0_hde.mxf
e617e05dae72e5a6
A_0900C006_220927_102615_a1BZ0_hde.mxf
d6e487264d1246b0
A_0900C007_220927_102720_a1BZ0_hde.mxf
80f5f5683e1f326d
And I want something like that :
A_0900C001_220927_102036_a1BZ0_hde.mxf;3f93f215ec277fc7
A_0900C002_220927_102120_a1BZ0_hde.mxf;6a3c2be7577f31bd
etc...
I've tried
xmllint --xpath '/hashlist/hashes/hash/path/text()' file.xml
but the return is "XPath set is empty"
MrBotus
(41 rep)
Nov 8, 2022, 12:54 PM
• Last activity: Feb 15, 2025, 05:21 PM
0
votes
1
answers
57
views
Unable to extract some properties from Maven settings.xml using either xmllint or xmlstarlet
I have a Maven settings file at ~/.m2/settings.xml. I need to write some scripting that extracts the username and password from one of the server entries. I've tried using both "xmllint" and "xmlstarlet" using what I believe are the correct (different) command-line parameters for both of those. The...
I have a Maven settings file at ~/.m2/settings.xml. I need to write some scripting that extracts the username and password from one of the server entries.
I've tried using both "xmllint" and "xmlstarlet" using what I believe are the correct (different) command-line parameters for both of those. The result for both is just an empty string. There is no error, it just prints nothing.
This is an excerpt of ~/.m2/settings.xml:
central
...
...
...
This is working fine with Maven.
For xmllint, I'm trying the following:
xmllint --xpath 'string(//server[id="central"]/username/text())' ~/.m2/settings.xml
For xmlstarlet, it is this:
xmlstarlet sel -T -R -D -t -v "//settings/servers/server[id='central']/username/text()" ~/.m2/settings.xml
Those are slightly semantically different, but I've tried several variations. All of these just print an empty string.
David M. Karr
(1173 rep)
Sep 26, 2024, 08:58 PM
• Last activity: Sep 26, 2024, 09:09 PM
1
votes
2
answers
915
views
I want to add a namespace prefix to the tags of the default name space of an XML document from the shell
I have a SVG file, which is an XML document: I want to add the svg: prefix to all the tags corresponding to the default namespace in order to get next output: I am sure this is possible in one or few command lines from the shell using **xmllint** and/or **xmlstarlet** but I can't manage it.
I have a SVG file, which is an XML document:
I want to add the svg: prefix to all the tags corresponding to the default namespace in order to get next output:
I am sure this is possible in one or few command lines from the shell using **xmllint** and/or **xmlstarlet** but I can't manage it.
Pierre François
(143 rep)
Mar 20, 2020, 10:38 AM
• Last activity: Jan 26, 2022, 10:00 AM
2
votes
3
answers
1202
views
How can XPath functions be expressed to output each input element?
I'm using this command: ``` xmllint --xpath 'substring-after(string(//item/link), "_")' rss.xml ``` And get the desired output, except it's on the first element. How would I fix this to have it be applied to each `link`? I'm open to using any utility, so long as the sample input is accepted and one...
I'm using this command:
xmllint --xpath 'substring-after(string(//item/link), "_")' rss.xml
And get the desired output, except it's on the first element. How would I fix this to have it be applied to each link
?
I'm open to using any utility, so long as the sample input is accepted and one expression can be used to get the desired output.
**Sample Input:**
Malicious IPs | By Last Bad Event | Project Honey Pot
Copyright 2021 Unspam Technologies, Inc
en-us
July 03 2021 07:15:12 PM
Project Honey Pot | Distribute Spammer Tracking System
http://www.projecthoneypot.org
92.204.241.167 | C
http://www.projecthoneypot.org/ip_92.204.241.167
Event: Bad Event | Total: 3,061 | First: 2021-03-27 | Last: 2021-07-03
July 03 2021 07:15:12 PM
181.24.239.244
http://www.projecthoneypot.org/ip_181.24.239.244
Event: Bad Event | Total: 1 | First: 2021-07-03 | Last: 2021-07-03
July 03 2021 07:15:12 PM
193.243.195.66 | S
http://www.projecthoneypot.org/ip_193.243.195.66
Event: Bad Event | Total: 4 | First: 2021-06-12 | Last: 2021-07-03
July 03 2021 07:15:12 PM
**Desired Output:**
92.204.241.167
181.24.239.244
193.243.195.66
**Present Output:**
92.204.241.167
T145
(223 rep)
Jul 4, 2021, 08:19 PM
• Last activity: Jul 21, 2021, 01:27 PM
30
votes
9
answers
192639
views
Parse XML to get node value in bash script?
I would like to know how I can get the value of a node with the following paths: config/global/resources/default_setup/connection/host config/global/resources/default_setup/connection/username config/global/resources/default_setup/connection/password config/global/resources/default_setup/connection/...
I would like to know how I can get the value of a node with the following paths:
config/global/resources/default_setup/connection/host
config/global/resources/default_setup/connection/username
config/global/resources/default_setup/connection/password
config/global/resources/default_setup/connection/dbname
from the following XML:
false
1
Also I want to assign that value to the variable for further use. Let me know your idea.
MagePsycho
(525 rep)
Jul 17, 2013, 03:09 PM
• Last activity: Jul 15, 2021, 06:37 PM
2
votes
2
answers
13891
views
XML parsing using xmllint and customizing the output
I have xml file (say input.xml) of the following schema: I need to parse this file and write the output to another file. The required output should be of the following form: www.xyz.com\FOLDER1M\1\R1.txt www.xyz.com\FOLDER1M\2\R2.txt www.xyz.com\FOLDER2M\1\R3.txt What I have got so far is: echo 'cat...
I have xml file (say input.xml) of the following schema:
I need to parse this file and write the output to another file. The required output should be of the following form:
www.xyz.com\FOLDER1M\1\R1.txt
www.xyz.com\FOLDER1M\2\R2.txt
www.xyz.com\FOLDER2M\1\R3.txt
What I have got so far is:
echo 'cat /TagA/TagB/File/@*[name()="Folder" or name()="File"]' | xmllint --shell input.xml | grep '=' > xml_parsed
This gives me o/p of the form:
/ > cat /TagA/TagB/File/@*[name()="Folder" or name()="File"]
Folder="FOLDER1M\1"
File="R1.txt"
Folder="FOLDER1M\2"
File="R2.txt"
Folder="FOLDER2M\3"
File="R3.txt"
How should I go about getting my required output instead of this current o/p?
NGambit
(525 rep)
Apr 16, 2013, 07:38 PM
• Last activity: Jul 10, 2021, 04:59 PM
3
votes
2
answers
3244
views
reading XML file and extract only node names and structure
I need to audit XML file structures and need to generate a report that shows only the DOM tree structure and omit the values. Essentially, I just the node names only and no values. I tried using xmllint and xmlstarlet but can't figure out how to do this. Does anyone know of any tools or examples of...
I need to audit XML file structures and need to generate a report that shows only the DOM tree structure and omit the values. Essentially, I just the node names only and no values. I tried using xmllint and xmlstarlet but can't figure out how to do this.
Does anyone know of any tools or examples of above tools that do this?
$filename.xml | xmlstarlet format -t
gives me what I need, but I want to omit all values.
Kinnara
(31 rep)
Jul 8, 2021, 02:29 PM
• Last activity: Jul 9, 2021, 08:10 AM
3
votes
1
answers
4938
views
how to output html to a file with xmllint?
How do I get `xmllint` to output [to a][1] file? thufir@dur:~/xmllint$ thufir@dur:~/xmllint$ xmllint --html http://www.skynet.be/nieuws-sport/weer/mijn-weer?cityId=6450 --xpath '//div[@class = "tides"]' - 2>/dev/null Hoogtij: 10:28    23:11 Laagtij: 04:44    17:13 Hoogtij: 00:41...
How do I get
^C
thufir@dur:~/xmllint$
As it hangs, it has to be killed. The fine manual:
> --output FILE
> Define a file path where xmllint will save the result of parsing.
> Usually the programs build a tree and save it on stdout, with this
> option the result XML instance will be saved onto a file.
but can't get that working. I don't need any output to the console at all, only interested in the file creation. *This is to tidy up the
xmllint
to output to a file?
thufir@dur:~/xmllint$
thufir@dur:~/xmllint$ xmllint --html http://www.skynet.be/nieuws-sport/weer/mijn-weer?cityId=6450 --xpath '//div[@class = "tides"]' - 2>/dev/null
Hoogtij: 10:28 23:11
Laagtij: 04:44 17:13
Hoogtij: 00:41 13:06
Laagtij: 07:11 07:11
Hoogtij: 11:31
Laagtij: 05:48 18:10
Hoogtij: 01:42 14:02
Laagtij: 08:20 08:20
html
for processing by saxon
.*
Thufir
(1970 rep)
Jan 2, 2019, 11:01 PM
• Last activity: Jul 5, 2021, 07:55 PM
1
votes
1
answers
1164
views
Update XML parameter, with namespace, using xmlstarlet
I have this XML file: ``` PORT_ID 47827 POS_PRINTER_PORT_ID 27001 PDS_WS_LOCATION http://localhost:8080/pds-jbrain-ws/pdsservice?wsdl ``` I'm trying to update the `POS_PRINTER_PORT_ID` value, but I'm having a hard time getting it right. I've tried the below commands: ``` xmlstarlet ed -u '/engineCon...
I have this XML file:
PORT_ID
47827
POS_PRINTER_PORT_ID
27001
PDS_WS_LOCATION
http://localhost:8080/pds-jbrain-ws/pdsservice?wsdl
I'm trying to update the POS_PRINTER_PORT_ID
value, but I'm having a hard time getting it right.
I've tried the below commands:
xmlstarlet ed -u '/engineConfiguration/engineParameter/POS_PRINTER_PORT_ID' -v 9999 engineConfiguration.xml
xmlstarlet ed -N s=http://bla.com/engine/management/engineConfiguration -u '/s:engineConfiguration/s:engineParameter[name = "POS_PRINTER_PORT_ID"]/value' -v 999 engineConfiguration.xml
I was also trying with xmllint
but read that xmlstarlet
is the way to go.
Dave Macias
(13 rep)
Jun 15, 2021, 04:42 PM
• Last activity: Jun 15, 2021, 06:25 PM
0
votes
1
answers
512
views
xmlstarlet how to select tag immediately before selected tag
I scan scribus SLA files and wish to find the text having some specific paragraph styles. SLA file format is a quite flat XML format and there are several paragraphs in a row, each being separated with either ` ` or ` ` tags having a paragraphe style attribute. I can reach the ` ` object containing...
I scan scribus SLA files and wish to find the text having some specific paragraph styles.
SLA file format is a quite flat XML format and there are several paragraphs in a row, each being separated with either `
or
tags having a paragraphe style attribute. I can reach the
object containing one of these, but i need to reach the tag
` coming immediately before it because its CH attributes contains the text i'm looking for.
Here is how i reach the containing StoryText :
xmlstarlet sel -t -c "SCRIBUSUTF8NEW/DOCUMENT/PAGEOBJECT/StoryText [para/@PARENT='SearchedStyle']" myfile.sla
It yields for example :
I can also reach the ` but how can i reach the
` node ?
JLuc
(111 rep)
May 28, 2021, 05:24 PM
• Last activity: May 28, 2021, 09:21 PM
2
votes
1
answers
1284
views
How to extract specific node values without travesing via xmlstarlet
```xml asdadw@cutshort.io sadfasd@cutshort.io asdas@cutshort.io 56.456.155.423, 54.455.155.654, 544.47.745.80, 54.192.155.842 abc.cutshort.io cdn.cutshort.io 56.456.155.423, 54.455.155.654, 544.47.745.80, 54.192.155.842 abc.cutshort.io www.cutshort.io blogdata.cutshort.io cdn.cutshort.io ``` I want...
asdadw@cutshort.io
sadfasd@cutshort.io
asdas@cutshort.io
56.456.155.423, 54.455.155.654, 544.47.745.80, 54.192.155.842
abc.cutshort.io
cdn.cutshort.io
56.456.155.423, 54.455.155.654, 544.47.745.80, 54.192.155.842
abc.cutshort.io
www.cutshort.io
blogdata.cutshort.io
cdn.cutshort.io
I want to extract the value of "host" without extracting the value of "hostname" or "ip". The output is supposed to look like this:
cdn.cutshort.io
www.cutshort.io
blogdata.cutshort.io
cdn.cutshort.io
I have only recently started xml parsing so please be patient. Any help will be appreciated!
Abhinav Gupta
(33 rep)
Nov 18, 2020, 01:52 AM
• Last activity: Nov 18, 2020, 02:39 AM
0
votes
0
answers
140
views
Extracting XML forming a resultset like format
I've encountered a case wherein I need to extract values from xml however, the tags are missing. To elaborate, I've manually finger-counted around 5 of the same elements however, one sibling node(bigger brother) doesn't have the same element as the other bigger brothers do. To put in example, please...
I've encountered a case wherein I need to extract values from xml however, the tags are missing. To elaborate, I've manually finger-counted around 5 of the same elements however, one sibling node(bigger brother) doesn't have the same element as the other bigger brothers do. To put in example, please see xml below: (I used this previously, but I'll try to use this as an example)
8
so there's **** (big brother) where there'll be siblings (i'm looking for these elements).
Now, when I extract them using
xmllint
with xpath
, only those siblings that are present get extracted.
The xml code might be a bad example but this is the format of what I'd like to achieve. On the left column, it's the big brother node, the right one is the sibling nodes
DTS:CreationName="OLEDB" {A32A68DF-3D53-4057-AF80-1B8D524F82BC}
DTS:CreationName="Excel" {A32A68DF-3D53-4057-AF80-1B8D524F82BC}
DTS:CreationName="..."
DTS:CreationName="blah blah"
Is there a way to write the xmllint
xpath
code to
1. Create the same format as above? Just like database result set.
2. Add an extra character in between brother and sibling nodes so I can pick it up using awk
ie DTS:CreationName="OLEDB"%{A32A68DF-3D53-4057-AF80-1B8D524F82BC}
3. Instead of showing blank, just put NULL
or any character that will alert me that the siblings are not present
4. Put the same brother node side by side if there is more than 1 sibling
ie.
big brother1%sibling1
big brother1%sibling2
This will really help . Looking forward to learning more of xmllint
!
Kelvin
(3 rep)
Feb 21, 2020, 02:48 AM
• Last activity: Feb 21, 2020, 08:28 PM
0
votes
1
answers
2156
views
xmllint usage - having a hard time getting xml attributes
I'm in the process of retreiving some data from a xml file, it is actually a SSIS package file (dtsx). I've read about using `xmllint`, however I'm having a hard time retrieving what I want. I'd like to ask some helps from folks here. This is what my xml looks like: 8 I'm looking to get the value "*...
I'm in the process of retreiving some data from a xml file, it is actually a SSIS package file (dtsx). I've read about using
xmllint
, however I'm having a hard time retrieving what I want. I'd like to ask some helps from folks here. This is what my xml looks like:
8
I'm looking to get the value "**8**" out of this line
8
so, what I did was to issue a command
xmllint --xpath "//*[local-name()='Executable']/*[local-ame()='Property']/text()" HardestNestedWorkflow2_latest.xml
.. and it was good, I was able to extract the value "8"
Now, I wanted to extract the value
Data Source=ADMIN-8DF005D47;Initial Catalog=AdventureWorks;Provider=SQLNCLI11;Integrated Security=SSPI;Application Name=SSIS-HardestNestedWorkflow2-{A32A68DF-3D53-4057-AF80-1B8D524F82BC}ADMIN-8DF005D47.AdventureWorks;Auto Translate=False;
I issued this statement
xmllint --xpath "//*[local-name()='Executable']/*[local-name()='ConnectionManagers']/*[local-name()='ConnectionManager']/*[local-name()='ObjectData']/*[local-name()='ConnectionManager']" HardestNestedWorkflow2_latest.xml
and it returned this
how can I omit the tags DTS:ConnectionManager DTS:ConnectionString
? I'm sorry I'm not much knowledgeable on using xmllint
.
Thanks in Advance
Kelvin
(3 rep)
Feb 12, 2020, 07:29 AM
• Last activity: Feb 12, 2020, 08:43 AM
0
votes
1
answers
2827
views
Parsing xml into array using xmllint
I have xml file with multiple ` ` elements, I need to extract attributes from each node and do some work on them. IS it possible to load them to array, using ksh and xmllint ? This is what I have: xml file: customer orders script: #!/usr/bin/ksh tbid="$(echo "cat /main/resources/db/table_name/@table...
I have xml file with multiple `` elements, I need to extract attributes from each node and do some work on them.
IS it possible to load them to array, using ksh and xmllint ?
This is what I have:
xml file:
customer
orders
script:
#!/usr/bin/ksh
tbid="$(echo "cat /main/resources/db/table_name/@tableid" | xmllint --shell data.xml )"
username="$(echo "cat /main/resources/db/table_name/@user" | xmllint --shell data.xml )"
echo $tbid
echo $username
Output:
/ > ------- tableid="001" ------- tableid="002" / >
/ > ------- user="mike" ------- user="david" / >
eventually, I want to get a kind of 2-dim array:
arr,=001
arr,=mike
arr,=002
arr,=david
Notes:
xpath is not supported in xmllint , and can't be installed.
array can be represented in any other way, I just need to be able to extract and do some work.
markiz
(131 rep)
Dec 17, 2015, 03:10 PM
• Last activity: Oct 14, 2019, 04:02 PM
0
votes
1
answers
2467
views
how to parse the xml that have multiple properties and names
if we are having a XML script like this , How to get the value of a particular name using XML parsing something 1 one thing 2 another thing 3 one more thing 4 Let assume so many lines like this
if we are having a XML script like this , How to get the value of a particular name using XML parsing
something1
one thing2
another thing3
one more thing4
Let assume so many lines like this
Bhargav
(3 rep)
Oct 1, 2019, 08:05 AM
• Last activity: Oct 1, 2019, 08:15 AM
-2
votes
1
answers
2191
views
Need to parse data from xml to shell script
Need to parse data from xml to shell script one aft another Requriment :- we need to take as one record. XML may contain many from Each record. we need to extract and and archive all the files which are with extension type as need help in approach for this requirement ex:- for first Archive_path = D...
Need to parse data from xml to shell script one aft another
Requriment :- we need to take as one record. XML may contain many from Each record.
we need to extract and and archive all the files which are with extension type as
need help in approach for this requirement
ex:- for first
Archive_path = D:\apache-2.4.10\htdocs
Filetypes =(rep,zip,mnt)
need to archive files in $Archive_path which have $Filetypes (rep,zip,mnt)
then it should take next
XML:-
D:\apache-2.4.10\htdocs
rep
zip
mnt
D:\Download\ROSXcenterAutoArchive\ArchiveStorage\archive
mnt
952230
Vinay Gowda
(33 rep)
Apr 5, 2018, 06:09 AM
• Last activity: Apr 5, 2018, 11:19 AM
1
votes
1
answers
12177
views
How to grep an XML tag and get only the value inside the quotes after it?
I'm trying to get these values from the XML format below: `USA GERMANY` I was checking `xmllint` but I don't have `--xpath` installed and I just can't quite get the exact combination to get those values using `grep`.
I'm trying to get these values from the XML format below:
USA GERMANY
I was checking xmllint
but I don't have --xpath
installed and I just can't quite get the exact combination to get those values using grep
.
ineedhelp
(13 rep)
Mar 15, 2018, 04:01 AM
• Last activity: Mar 15, 2018, 03:06 PM
5
votes
4
answers
11532
views
Using Bash to split XML data into variables
I am trying to download some files from a services. The files are found in an XML file. The XML file can have a single file or several files to download. However, now I have a problem with my script. I do not know how to split string from XMLLINT into array so that I can download each file individua...
I am trying to download some files from a services. The files are found in an XML file. The XML file can have a single file or several files to download. However, now I have a problem with my script. I do not know how to split string from XMLLINT into array so that I can download each file individually.
I need to split the string into several variables and then download each file of the URL string.
However the file 201701_1 do not repeat and hence, I download them using curl without any problems. But the files coverage.zip repeat and they become overwritten by curl.
I do:
Then I do curl to download individual files.
curl -O -b cookie $URL
At the moment, my script is as follows:
while read edition; do XML="
https://google.com/411/201701_01_01.zip
https://google.com/411/201701_01_02.zip
"
URL=$(echo $XML | xmllint --xpath \
"/*[name()='download-area']/*[name()='files']/*[name()='file']/*[name()='url']/text()" -)
echo "URL:: " $URL
done < $LATEST_EDITION
LATEST_EDITION is a simply a file with lines.
My question is::
How can I split VAR_1 and VAR_2 into several URLs so that I can download them individually?
How can I prevent coverage.zip from being overwritten?
Noel Alex Makumuli
(141 rep)
Nov 20, 2017, 07:22 AM
• Last activity: Nov 21, 2017, 01:48 AM
2
votes
0
answers
1686
views
xmllint is Killed while formatting huge file
I'm trying to format a XML file (2.6G) using `xmllint` tool and redirecting the output to a file as: xmllint --format response.xml > formatted.xml When the process gets started it is taking all available memory. The output of: free -m -c 10000 -s 30 Is given below: total used free shared buff/cache...
I'm trying to format a XML file (2.6G) using
xmllint
tool and redirecting the output to a file as:
xmllint --format response.xml > formatted.xml
When the process gets started it is taking all available memory. The output of:
free -m -c 10000 -s 30
Is given below:
total used free shared buff/cache available
Mem: 15290 92 15111 8 86 14974
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 92 15111 8 86 14974
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 12706 1084 8 1498 2292
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15086 148 8 55 78
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15086 147 8 55 78
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15085 148 8 55 79
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15086 148 8 55 79
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15086 147 8 55 78
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15086 148 8 55 78
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15086 147 8 55 78
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15086 148 8 55 78
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15087 147 8 55 78
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15087 147 8 55 77
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15087 147 8 55 77
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15087 147 8 55 77
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15087 147 8 55 77
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15087 146 8 55 77
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15088 146 8 55 77
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15088 146 8 55 76
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15088 146 8 55 76
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15088 146 8 55 76
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15088 145 8 55 76
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15089 145 8 55 76
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15089 145 8 55 75
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15089 145 8 55 76
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15089 145 8 55 75
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15089 145 8 55 75
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15090 144 8 55 75
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15090 144 8 55 75
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15090 144 8 55 74
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15090 144 8 55 74
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15090 143 8 55 74
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15091 143 8 55 74
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15091 143 8 55 74
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15091 143 8 55 73
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15091 142 8 55 73
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15092 142 8 55 73
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15092 142 8 55 73
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15092 142 8 55 73
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15092 142 8 55 72
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15092 141 8 55 72
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15093 141 8 55 72
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15093 141 8 55 72
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15093 141 8 55 72
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15093 141 8 55 71
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15093 141 8 55 71
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15093 140 8 55 71
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15094 140 8 55 71
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15094 140 8 55 70
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15094 140 8 55 70
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15094 139 8 55 70
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15094 139 8 55 70
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15095 139 8 55 70
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15095 139 8 55 70
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15095 139 8 55 70
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15095 139 8 55 69
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15095 139 8 55 69
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15096 138 8 55 69
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15096 138 8 55 69
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15096 138 8 55 69
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15096 138 8 55 68
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15096 137 8 55 68
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15096 137 8 55 68
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15097 137 8 55 68
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15097 137 8 55 67
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15097 137 8 55 67
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15097 136 8 55 67
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15097 136 8 55 67
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15098 136 8 55 67
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15098 136 8 55 67
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15098 136 8 55 66
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15098 135 8 55 66
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15099 135 8 55 66
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15099 135 8 55 66
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15099 135 8 55 65
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15099 135 8 55 65
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15099 134 8 55 65
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15100 134 8 55 64
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 15101 133 8 55 64
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 94 15134 8 61 14983
Swap: 0 0 0
total used free shared buff/cache available
Mem: 15290 94 15133 8 61 14983
Swap: 0 0 0
After a while, the process is killed automatically after logging Killed
in the console. How to process/format huge files using xmllint
?
The OS version is:
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
Tapas Bose
(153 rep)
Oct 27, 2017, 09:27 AM
• Last activity: Oct 27, 2017, 09:39 AM
Showing page 1 of 20 total questions