04-10-2019
Any entries re ttyS0 in the boot log?
8 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
First time so excuse my ignorance please.
I may not be accurately describing the issue.
I have inherited a small lab mostly SUN V120s.
We lost power and are trying to recover.
Nope no backups...
The primary issue I have is 1 box is an Oracle Server.
It has 2 36Gb harddrives.
I am able to... (3 Replies)
Discussion started by: murphsr
3 Replies
2. Shell Programming and Scripting
I have an xml file:
<AutoData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Table1>
<Data1 10 </Data1>
<Data2 20 </Data2>
<Data3 40 </Data3>
<Table1>
</AutoData>
and I have to remove the portion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" only.
I tried using sed... (10 Replies)
Discussion started by: Gary1978
10 Replies
3. Shell Programming and Scripting
I have a text file which contains lines in this format - it contains 105 lines in total, but I'm just putting 4 here to keep it short:
58571,east_ppl_ppla_por
58788,east_pcy_hd_por
58704,east_pcy_ga_por
58697,east_pcy_pcybs_por
It's called id_key.txt
I have a sample folder called... (9 Replies)
Discussion started by: biscuitcreek
9 Replies
4. Shell Programming and Scripting
I have an xml file where every line which has the word CDATA in it follows this pattern
(line number) <word1><!]></>I need only these lines editing so that the end result is that
(line number) <word1><!]></word1>so it copies the first bit to the end.
Anyone know how I can do this I am... (10 Replies)
Discussion started by: legolad
10 Replies
5. Shell Programming and Scripting
Hi All,
I'm stuck with adding multiple lines(irrespective of line number) to a file before a particular xml tag. Please help me.
<A>testing_Location</A>
<value>LA</value>
<zone>US</zone>
<B>Region</B>
<value>Russia</value>
<zone>Washington</zone>
<C>Country</C>... (0 Replies)
Discussion started by: mjavalkar
0 Replies
6. Shell Programming and Scripting
Dear Masters,
i have a problem with unix script, till now i just know about how to create header.
i want to change file below
-63395.2 72653.5
-63361.3 72696.0 ... (9 Replies)
Discussion started by: ipatah
9 Replies
7. Shell Programming and Scripting
I've got two different files and want to compare them.
File 1 :
HTML Code:
<response ticketId="944" type="getQueryResults"><status>COMPLETE</status><description>Query results fetched successfully</description><recordSet totalCount="1" type="sms_records"><record... (1 Reply)
Discussion started by: Shaishav Shah
1 Replies
8. Shell Programming and Scripting
Hi,
I'm having a xml file with multiple xml header. so i want to split the file into multiple files.
Sample.xml consists multiple headers so how can we split these multiple headers into multiple files in unix.
eg :
<?xml version="1.0" encoding="UTF-8"?>
<ml:individual... (3 Replies)
Discussion started by: Narendra921631
3 Replies
LEARN ABOUT CENTOS
varnishtop
VARNISHTOP(1) VARNISHTOP(1)
NAME
varnishtop - Varnish log entry ranking
SYNOPSIS
varnishtop [-1] [-b] [-C] [-c] [-d] [-f] [-I regex] [-i tag] [-n varnish_name] [-r file] [-V] [-X regex] [-x tag]
DESCRIPTION
The varnishtop utility reads varnishd(1) shared memory logs and presents a continuously updated list of the most commonly occurring log
entries. With suitable filtering using the -I, -i, -X and -x options, it can be used to display a ranking of requested documents, clients,
user agents, or any other information which is recorded in the log.
The following options are available:
-1 Instead of presenting of a continuously updated display, print the statistics once and exit. Implies -d.
-b Include log entries which result from communication with a backend server. If neither -b nor -c is specified, varnishtop acts as if
they both were.
-C Ignore case when matching regular expressions.
-c Include log entries which result from communication with a client. If neither -b nor -c is specified, varnishtop acts as if they
both were.
-d Process old log entries on startup. Normally, varnishtop will only process entries which are written to the log after it starts.
-f Sort and group only on the first field of each log entry. This is useful when displaying e.g. stataddr entries, where the first
field is the client IP address.
-I regex
Include log entries which match the specified regular expression. If neither -I nor -i is specified, all log entries are included.
-i tag Include log entries with the specified tag. If neither -I nor -i is specified, all log entries are included.
-p period
Specifies the number of seconds to measure over, the default is 60 seconds. The first number in the list is the average number of
requests seen over this time period.
-n Specifies the name of the varnishd instance to get logs from. If -n is not specified, the host name is used.
-r file
Read log entries from file instead of shared memory.
-V Display the version number and exit.
-X regex
Exclude log entries which match the specified regular expression.
-x tag Exclude log entries with the specified tag.
EXAMPLES
The following example displays a continuously updated list of the most frequently requested URLs::
varnishtop -i RxURL
The following example displays a continuously updated list of the most commonly used user agents::
varnishtop -i RxHeader -C -I ^User-Agent
SEE ALSO
o varnishd(1)
o varnishhist(1)
o varnishlog(1)
o varnishncsa(1)
o varnishstat(1)
HISTORY
The varnishtop utility was originally developed by Poul-Henning Kamp in cooperation with Verdens Gang AS and Varnish Software AS, and later
substantially rewritten by Dag-Erling Smorgrav. This manual page was written by Dag-Erling Smorgrav.
COPYRIGHT
This document is licensed under the same licence as Varnish itself. See LICENCE for details.
o Copyright (c) 2006 Verdens Gang AS
o Copyright (c) 2006-2011 Varnish Software AS
AUTHOR
Dag-Erling Smorgrav
1.0 2010-05-31 VARNISHTOP(1)