02-12-2015
Thank You everyone, My problem is solved , If cmd worked for me.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I would like to write a shell script that moves files from one folder to another without retrieving the error 'can not acces/find file or folder' when the source folder is empty.
Any ideas,
Thx in advance,
Steven. (2 Replies)
Discussion started by: Steven
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I would like to write a shell script that moves files from one folder to another without retrieving the error 'can not find file or folder' when the folder is empty.
Any ideas,
Thx in advance,
Steven. (8 Replies)
Discussion started by: Steven
8 Replies
3. UNIX for Dummies Questions & Answers
Is there any way, we can find files not empty? I know one can find empty files by using find with -size is equalled to 0.
Please let me know, how I can find files greater than 0 or any other size in number? (2 Replies)
Discussion started by: videsh77
2 Replies
4. Shell Programming and Scripting
i have a list of files below:
rwxrwxrwx 1 pipe pipe 180 Mar 4 22:47 del_0n_Date
-rwxrwxrwx 1 pipe pipe 472 Mar 4 22:58 mail_Check
-rw-r--r-- 1 pipe pipe 92 Mar 4 22:58 minfo.txt
-rwxrwxrwx 1 pipe pipe 609 Mar 5 05:12... (6 Replies)
Discussion started by: ali560045
6 Replies
5. Shell Programming and Scripting
Hi all,
*I use Uwin and Cygwin emulator.
I´m trying to search for all text files in the current folder (C/Files) and its sub folders using
find -depth -name "*.txt"
The above command worked for me, but now I would like to copy all found text files to a new folder (C/Files/Text) with ... (4 Replies)
Discussion started by: cgkmal
4 Replies
6. Shell Programming and Scripting
Hi,
I am using SunOS
I want to serch my previous command
from unix prompt
(like on AIX we can search by ESC -k)
how to get in SunOs
urgent help require. (10 Replies)
Discussion started by: RahulJoshi
10 Replies
7. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Need to make a script, to remove all empty files and folders from current category.
It also should show the name... (2 Replies)
Discussion started by: Itixop
2 Replies
8. Shell Programming and Scripting
I need to find empty files in a directory and write them into a text file. Directory will contain old files as well, i need to get the empty files for the last one hour only. (1 Reply)
Discussion started by: vel4ever
1 Replies
9. Shell Programming and Scripting
I am scheduling a task at regular intervals at seconds acuracy using crond and sleep command . my data in crontab file is as below:-
the above line is working fine when we are creating this crontab file before 00:05 min .
But when we are creating the crontab file at 00:05min , unable to... (10 Replies)
Discussion started by: manoj424
10 Replies
10. UNIX for Dummies Questions & Answers
Hi all,
This is my first and undoubtedly many posts to come. I'm new to using unix and would like a hand with this problem I have. What i'm trying to do is match 2 sets of data from 2 files and put result into file 3. Sounds simply but there is a catch, the match is a "partial field" match, if... (2 Replies)
Discussion started by: tugar
2 Replies
LEARN ABOUT CENTOS
trace-cmd-extract
TRACE-CMD-EXTRACT(1) TRACE-CMD-EXTRACT(1)
NAME
trace-cmd-extract - extract out the data from the Ftrace Linux tracer.
SYNOPSIS
trace-cmd extract [OPTIONS]
DESCRIPTION
The trace-cmd(1) extract is usually used after trace-cmd-start(1) and trace-cmd-stop(1). It can be used after the Ftrace tracer has been
started manually through the Ftrace pseudo file system.
The extract command creates a trace.dat file that can be used by trace-cmd-report(1) to read from. It reads the kernel internal ring buffer
to produce the trace.dat file.
OPTIONS
-p plugin
Although extract does not start any traces, some of the plugins require just reading the output in ASCII format. These are the latency
tracers, since the latency tracers have a separate internal buffer. The plugin option is therefore only necessary for the wakeup,
wakeup-rt, irqsoff, preemptoff and preemptirqsoff plugins.
With out this option, the extract command will extract from the internal
Ftrace buffers.
-O option
If a latency tracer is being extracted, and the -p option is used, then there are some Ftrace options that can change the format. This
will update those options before extracting. To see the list of options see trace-cmd-list. To enable an option, write its name, to
disable the option append the characters no to it. For example: noprint-parent will disable the print-parent option that prints the
parent function in printing a function event.
-o outputfile
By default, the extract command will create a trace.dat file. This option will change where the file is written to.
SEE ALSO
trace-cmd(1), trace-cmd-record(1), trace-cmd-report(1), trace-cmd-start(1), trace-cmd-stop(1), trace-cmd-reset(1), trace-cmd-split(1),
trace-cmd-list(1), trace-cmd-listen(1)
AUTHOR
Written by Steven Rostedt, <rostedt@goodmis.org[1]>
RESOURCES
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git
COPYING
Copyright (C) 2010 Red Hat, Inc. Free use of this software is granted under the terms of the GNU Public License (GPL).
NOTES
1. rostedt@goodmis.org
mailto:rostedt@goodmis.org
06/11/2014 TRACE-CMD-EXTRACT(1)