10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Greetings.
I'm on section 2.7 Including Other Files into Your Program in "The GNU Awk User’s Guide". I am on HP-UX POSIX running GNU Awk 3.1.0
I have written Test1.awk and Test2.awk as shown here:
$cat test1.awk
BEGIN {
print "This is script test1.\n"
}
$cat test2.awk ... (2 Replies)
Discussion started by: RUCerius
2 Replies
2. Linux
Can someone translate this code to .bat for me? I have no clue.
#!/bin/sh
WAS_HOME="/opt/websphere/appserver/profiles/AppSrv01"
WAS_APP_SERVER="server1"
WAS_PROFILE_NAME="AppSrv01"
echo "Stopping App Server"
"${WAS_HOME}/bin/stopServer.sh" -profileName $WAS_PROFILE_NAME $WAS_APP_SERVER... (1 Reply)
Discussion started by: Blogger11
1 Replies
3. Shell Programming and Scripting
First off, let me apologize if I'm posting this in the wrong place!
I am a newbie to this forum, to shell scripting and to Linux so please bare with me.
I created a script on the windows environment that makes a call to a java application and extracts a return value from the java app. It... (7 Replies)
Discussion started by: arod291
7 Replies
4. Shell Programming and Scripting
I need to put/get files from Windows machine to Unix machine and vice-versa.
I wrote a text file "ftp1.txt" as below.
naga
naga06
cd /root/Naga
prom off
get time.unl
bye
I wrote another bat file "ftp.bat" as below.
ftp -n -s:C:\Users\Naga\Desktop\ftp1.txt IP_ADDRESS
but... (2 Replies)
Discussion started by: Naga06
2 Replies
5. Shell Programming and Scripting
I have serverfiles of same game. and there are bat files. I wont to run this on debian.
The files are difficult, eg
:########################################################################
:# File name: server_start.bat
:# Edited Last By: Mike Gleaves (ric)
:# V 1.0 1-10-2008
:# Comment:... (5 Replies)
Discussion started by: Qentinios
5 Replies
6. Windows & DOS: Issues & Discussions
hi
I need to rediret an content of one file and append it to another file. I need it in .bat script. I tried this,
first.txt
I love to write script
type first.txt >> out.txt
type first.txt >> out.txt
out.txt
I love to write scriptI love to write script
you see the... (6 Replies)
Discussion started by: ilugopal
6 Replies
7. Shell Programming and Scripting
hi
I need to rediret an content of one file and append it to another file. I need it in .bat script. I tried this,
first.txt
I love to write script
type first.txt >> out.txt
type first.txt >> out.txt
out.txt
I love to write scriptI love to write script
you see the second... (1 Reply)
Discussion started by: ilugopal
1 Replies
8. Shell Programming and Scripting
Hi,
We are having igawk statement calling gawk function and processing a master file, each gawk function have rules and action. We are using associative array to keep the output of each rule and finally printing the associative array. We are seeing the memory is growing incrementally in TOP... (1 Reply)
Discussion started by: satvelucbe
1 Replies
9. Windows & DOS: Issues & Discussions
Hi!
I'm very sorry for such simple and silly question but I cannot answer it by myself.
Can you please help me?
In .bat file I should run the C program which is in other directory, and the input configuration file is in this directory too.
This dir name is in dirRun variable. The... (3 Replies)
Discussion started by: Anta
3 Replies
10. UNIX for Dummies Questions & Answers
Hi, can you run a windows bat file or a VBscript from a shell script?
#!/bin/sh
PATH=/
$PATH/test.bat (1 Reply)
Discussion started by: cmac
1 Replies
TRACE-CMD-RESET(1) TRACE-CMD-RESET(1)
NAME
trace-cmd-reset - turn off all Ftrace tracing to bring back full performance
SYNOPSIS
trace-cmd reset [OPTIONS]
DESCRIPTION
The trace-cmd(1) reset command turns off all tracing of Ftrace. This will bring back the performance of the system before tracing was
enabled. This is necessary since trace-cmd-record(1), trace-cmd-stop(1) and trace-cmd-extract(1) do not disable the tracer, event after the
data has been pulled from the buffers. The rational is that the user may want to manually enable the tracer with the Ftrace pseudo file
system, or examine other parts of Ftrace to see what trace-cmd did. After the reset command happens, the data in the ring buffer, and the
options that were used are all lost.
OPTIONS
-b buffer_size
When the kernel boots, the Ftrace ring buffer is of a minimal size (3 pages per CPU). The first time the tracer is used, the ring
buffer size expands to what it was set for (default 1.4 Megs per CPU).
If no more tracing is to be done, this option allows you to shrink the
ring buffer down to free up available memory.
trace-cmd reset -b 1
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-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-RESET(1)