Ok so i have
But I am getting directories printed to the file instead of files only. Is there a way for me to specify that only files get written to log?
Last edited by Franklin52; 07-24-2012 at 08:34 AM..
Reason: Please use code tags for data and code samples, thank you
I am using a DEC ALPHA running Digital UNIX (formly DEC OSF/1) and ksh. I have a directory with hundreds of files that only share the extension .rpt. I would like to search that directory based on serial number and operation number and only files that meet both requirements to be printed out. I... (6 Replies)
Attached is the exact ouput of a vmware VDR log file I am working with but what I am trying to achieve is as follows:
I need to output sections of the file using the string "Normal backup" as the start and "Duration" as the end to seperate files so I can then manipulate them further to create... (2 Replies)
Hello,
I need help with using grep and regular expressions....
I have a long list of about 1000 lines of Chinese flashcards. Here's a small excerpt:
意文 yìwén (given name)
貴姓 guìxìng (honorable surname)
貴 guì (honorable)
姓 xìng (one's surname is; to be surnamed; surname)
呢 ne (interrogative... (2 Replies)
I want to search files (basically .cc files) in /xx folder and subfolders.
Those files (*.cc files) must contain #include "header.h" AND x() function.
I am writing it another way to make it clear,
I wanna list of *.cc files that have 'header.h' & 'x()'. They must have two strings, header.h... (2 Replies)
Hey guys. I know pratically 0 about Linux, so could anyone please give me instructions on how to accomplish this ?
The distro is RedHat 4.1.2 and i need to find and replace a multiple lines string in several php files across subdirectories.
So lets say im at root/dir1/dir2/ , when i execute... (12 Replies)
Guys, need help.
I have a file that contains something like this:
abc
def
ghi
jkl
I want to print the first and last line of the file and the output should be in a single line.
so, output should be like this:
abc jkl (3 Replies)
Hi
Could you please advise how can one extract from the output of
find . -name "*.c" -print
only filenames in the current direcotry and not in its subdirectories?
I tried using (on Linux x86_64)
find . -name "*.c" -prune
but it is not giving correct output.
Whereas I am getting... (9 Replies)
Hi All.
Attached are two files.
I ran a query and have the output as in the file with name "FILEWITHFOURRECORDS.txt "
I didn't want all the spaces between the columns so I squeezed the spaces with the "tr" command and also added a carriage return at the end of every line.
But in two... (3 Replies)
Im looking for a bash solution that will use Regular Expressions (not perl, sed or awk) to check the example data below and then give me a status.
which would be just simply Match or Mismatch.
SYS PS1 is present.
Fan status: Normal
Input Voltage status: Normal
... (5 Replies)
Hello
I am trying to write sed code where it will look through the text for lines with specific expression "Started by user" and when found, will also add the following line, and also lines with another expression "Finished:"
sed -n '/Started by user/, +1p, /Finished:/'... (4 Replies)
Discussion started by: dlesny
4 Replies
LEARN ABOUT CENTOS
bootchart
BOOTCHART(1) General Commands Manual BOOTCHART(1)NAME
bootchart - render a chart from the statistical data recorded with bootchartd
SYNOPSIS
bootchart [-f|--format FORMAT] [-n|--no-prune] [-o|--output-dir DIR] files ...
DESCRIPTION
bootchart is used to process the log file created by bootchartd(1) (/var/log/bootchart.tgz by default). bootchart builds the process tree
and renders a performance chart in different formats. The chart may then be analyzed to examine process dependency and overall resource
utilization.
OPTIONS -f,--format FORMAT
Sets the format of the image. Possible values are: png, eps, svg (default)
-h, --help
Display brief usage message.
-n, --no-prune
Do not prune the process tree. To make the resulting process tree more comprehensible, bootchart will prune the tree using various
techniques (removing short-lived processes, merging processes, etc.). This option disables such behavior.
-o, --output-dir DIR
Sets the output directory for the resulting image. (default: .)
-v, --version
Show program version.
FILES
/var/log/bootchart.tgz
the default log file to parse (unless otherwise specified).
SEE ALSO bootchartd(1)AUTHOR
bootchart was written by Ziga Mahkovec <ziga.mahkovec@klika.si>.
This manual page was written by Jorg Sommer <joerg@alea.gnuu.de>, for the Debian project (but may be used by others).
2006-03-05 BOOTCHART(1)