01-30-2006
mv cmd
Hi All,
How can I move only files to another destination using mv cmd in hp-ux.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've noticed most of my postings here are because of syntax errors.
So I want to begin compiling a large txt file that contains all the "man <cmd>" of the commands I most have problems with. I ran a "man nawk >> nawk.txt" but it included a header/footer on each "page". Anyone know how I'd be... (6 Replies)
Discussion started by: yongho
6 Replies
2. Programming
if((LogFile=open(TempStr,O_CREAT|O_WRONLY|O_APPEND,0666))==-1)
return(1);
could someone explain me what the open() does here (2 Replies)
Discussion started by: bankpro
2 Replies
3. UNIX for Dummies Questions & Answers
write the sed command for swapping the first and 2nd (fields)words in the following file
input file
cse1 rama 1223
cse2 raju 2453
cse3 sita 3523
i tried with this
$sed 's/ \(*\)/ \(*\)/ \2,\1' myfile1
but not getting th required... (4 Replies)
Discussion started by: sankar_vitam
4 Replies
4. AIX
hi is that any command to find out which filesystems occupying more process in cpu utilisation (4 Replies)
Discussion started by: senmak
4 Replies
5. 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
6. Shell Programming and Scripting
Is there any command to know ,how many files are deleted when rm *. cmd was excuted.
I worte script which runs for 1 hours regularly and it is used to delete the .exe files but i need to know how many exe files are deleted regularly.
Please let me know the cmd
---------- Post updated at... (3 Replies)
Discussion started by: kkalyan
3 Replies
7. Shell Programming and Scripting
Hello,
There's a third-party application's command that shows the application's status like "tail -f verybusy.log". When use the command, the output comes every 1-sec. but when it goes in a script below the output comes every 8-sec...What is the problem and how can I fix it?
open(CMD,... (2 Replies)
Discussion started by: Shawn, Lee
2 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I'm having a trouble with the find cmd.
I would like to find all the java versions on my systems.
I have solaris 9 & 10 RHEL and SUSIE.
java -version
doesn't give all the versions on the server.
So I am trying to use the find command to find them all
find / -name java
I would... (7 Replies)
Discussion started by: bitlord
7 Replies
9. UNIX Desktop Questions & Answers
What is the cmd line to connect sftp, specifing the port number and the shh key file.
When I use the below cmd format, it gives the msg :node name or service name not known, but I know the connection works, because the automated sftp script works fine and I can log into the remote server
... (3 Replies)
Discussion started by: ITDev01
3 Replies
10. Shell Programming and Scripting
Hi i am new to shell scripting and any help is really appreciated.
my requirement is in,
ps -e -o pid,uname,cmd
how can i split and take only the cmd part from it.
I tried awk but the issue is when the cmd is returning a lengthy command which itself has some spaces it is truncating the... (7 Replies)
Discussion started by: Jojo90
7 Replies
LEARN ABOUT CENTOS
trace-cmd-hist
TRACE-CMD-HIST(1) TRACE-CMD-HIST(1)
NAME
trace-cmd-hist - show histogram of events in trace.dat file
SYNOPSIS
trace-cmd hist [OPTIONS][input-file]
DESCRIPTION
The trace-cmd(1) hist displays a histogram form from the trace.dat file. Instead of showing the events as they were ordered, it creates a
histogram that can be displayed per task or for all tasks where the most common events appear first. It uses the function tracer and call
stacks that it finds to try to put together a call graph of the events.
OPTIONS
-i input-file
By default, trace-cmd hist will read the file trace.dat. But the -i option open up the given input-file instead. Note, the input file
may also be specified as the last item on the command line.
-P
To compact all events and show the call graphs by ignoring tasks and different PIDs, add the -P to do so. Instead of showing the task
name, it will group all chains together and show "<all pids>".
SEE ALSO
trace-cmd(1), trace-cmd-record(1), trace-cmd-report(1), trace-cmd-start(1), trace-cmd-stop(1), trace-cmd-extract(1), trace-cmd-reset(1),
trace-cmd-split(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-HIST(1)