01-07-2013
Please post a sample log file.
This User Gave Thanks to jim mcnamara For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
How can we export a file in unix with certain number of columns to an excel sheet.
It's very useful in time saving...... (3 Replies)
Discussion started by: bishweshwar
3 Replies
2. UNIX for Dummies Questions & Answers
I was able to convert my csv file in Unix to xls. I would like to export the converted xls file to a windows environment. I have to manually connect using the following below:
ftp: 192.x.x.x -> username/pass -> cd -> mget *.xls and then confirm.
Could I automate this process into a shell... (4 Replies)
Discussion started by: ravzter
4 Replies
3. Shell Programming and Scripting
Hi,
I am using HP-UX.
I have an output log file which gives me server statistics.
I want to export the contents of the file(last 100 lines) using tail command and then save it into an excel file in my local machine.
The server statistics should be collected every 3 hrs.
So, i wanted the idea... (1 Reply)
Discussion started by: harshaganapathy
1 Replies
4. Shell Programming and Scripting
Hi,
Appli.log files contain the below data which updates continuously
================================================== ===============
Tuple Created OrderEntry|66|39.0|ADML.L|16.89|GBP||GFD|000002889 41ORLO1|GB00B02J6398|80|XLON|UHORIZON|null|2011-05-09... (11 Replies)
Discussion started by: pspriyanka
11 Replies
5. Shell Programming and Scripting
How can view log messages between two time frame from /var/log/message or any type of log files.
when logfiles are very big and especially many messages with in few minutes, I would like to display log messages between 5 minute interval.
Could you pls give me the command? (1 Reply)
Discussion started by: johnveslin
1 Replies
6. Shell Programming and Scripting
Hi Experts,
I am having a requirement, where i need to generate a report of the execution time of all the processes. All the processes generate the log files in a log directory and I can get the execution time from the log files. like below is the log file.
/home/vikas/log >ls -l... (2 Replies)
Discussion started by: k_vikash
2 Replies
7. Shell Programming and Scripting
dear all,
an awk newbie need your help.... i have log files with this format:
mylog1a.log:
"08/10/2012","5:05 PM"
"Hostname","Device Address","Count"
"","10.10.10.18","10234"
mylog2a.log:
"08/11/2012","5:05 PM"
"Hostname","Device Address","Count"
"","10.10.10.18","12543"
... (18 Replies)
Discussion started by: makan
18 Replies
8. Shell Programming and Scripting
Hi All,
i have some log files generated in a folder daily with the format
abc.def.20130306.100001
ghi.jkl.20130306.100203
abc.def.20130305.100001
ghi.jkl.20130305.100203
the format is the date followed by time . all i want is to get the files that are generated for todays... (3 Replies)
Discussion started by: mahesh300182
3 Replies
9. Shell Programming and Scripting
I have created this script
#!/bin/sh
FILES=/data/log/access_*.log
for f in $FILES
do
echo "Processing $f file"
cat $f | awk '{print $1}' | sort | uniq -c | sort -n | tail
done
It produces this output
Processing /data/log/access_abc.log file
114 1.1.1.1
167 2.2.2.2
... (38 Replies)
Discussion started by: sharingsunshine
38 Replies
LEARN ABOUT CENTOS
bootchart.conf
BOOTCHART.CONF(5) bootchart.conf BOOTCHART.CONF(5)
NAME
bootchart.conf - Boot performance analysis graphing tool configuration file
SYNOPSIS
/etc/systemd/bootchart.conf
DESCRIPTION
When starting, systemd-bootchart will read the configuration file bootchart.conf. This configuration file determines logging parameters and
graph output.
OPTIONS
Samples=500
Configure the amount of samples to record in total before bootchart exits. Each sample will record at intervals defined by Frequency=.
Frequency=25
Configure the sample log frequency. This can be a fractional number, but must be larger than 0.0. Most systems can cope with values
under 25-50 without impacting boot time severely.
Relative=no
Configures whether the left axis of the output graph equals time=0.0 (CLOCK_MONOTONIC start). This is useful for using bootchart at
post-boot time to profile an already booted system, otherwise the graph would become extremely large. If set to yes, the horizontal
axis starts at the first recorded sample instead of time=0.0.
Filter=no
Configures whether the resulting graph should omit tasks that did not contribute significantly to the boot. Processes that are too
short-lived (only seen in one sample) or that do not consume any significant CPU time (less than 0.001sec) will not be displayed in the
output graph.
Output=[path]
Configures the output directory for writing the graphs. By default, bootchart writes the graphs to /run/log.
Init=[path]
Configures bootchart to run a non-standard binary instead of /sbin/init. This option is only relevant if bootchart was invoked from the
kernel command line with init=/usr/lib/systemd/systemd-bootchart.
PlotMemoryUsage=no
If set to yes, enables logging and graphing of processes' PSS memory consumption.
PlotEntropyGraph=no
If set to yes, enables logging and graphing of the kernel random entropy pool size.
ScaleX=100
Horizontal scaling factor for all variable graph components.
ScaleY=20
Vertical scaling factor for all variable graph components.
SEE ALSO
systemd-bootchart(1), systemd.directives(7)
systemd 208 BOOTCHART.CONF(5)