09-07-2016
I tried with set -x but the script is to big, I can't see the whole execution on putty, for this I'm trying with a trace
Thank you for your advice,
Regards,
Last edited by rbatte1; 09-07-2016 at 06:39 AM..
Reason: Added ICODE tags, capitalised first person singular & corrected spelling.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Please debug this shell script for me.. Basically the idea is to run the script, based on the command to move some trace files to a separate directory and I am getting the error. Only the COMMAND that has rm {} works and I basically want to use it for the fourth one. Please try for the 2nd, 3rd and... (4 Replies)
Discussion started by: ST2000
4 Replies
2. Shell Programming and Scripting
Here is what I have:
#!/bin/bash
# Setup year date and month
YR=`date +%Y '{print $6}'`
MON=`date +%b '{print $2}'`
DAY=`date +%d '{print $3}'`
file=$YR$MOY$DOM
# clear
# Dump database using USER/PASS to ..sql
mysqldump --user=me -ppass database > database-db.$file.sql
The YR, MON and... (2 Replies)
Discussion started by: npereira
2 Replies
3. Shell Programming and Scripting
hello experts
cany any one help me i want to make one script which can rlogin to another machine .
but it should not ask me username/password from me of another machine it should take the username and password from the script only.
please help me out.
regards,
shary (2 Replies)
Discussion started by: shary
2 Replies
4. Shell Programming and Scripting
Hi All,
Does anyone have any shell script out there that looks into Oracle trace files generated in the bdump, cdump & udump directories & reports on the contents (errors) within these files.
Your help is highly appreciated.
Regards,
- divroro12 - (5 Replies)
Discussion started by: divroro12
5 Replies
5. Solaris
Hello, it is my first post :)
I need to implement some monitoring tools in a script, ping telnet traceroute
I found this one to ping, it works,
#!/bin/sh
for i in `cat /tmp/PingStatus.txt`
do
ping -c 5 -w 5 -n $i | grep -q "bytes from" && echo "$i is OK" || opcmsg object=PING a=OS... (5 Replies)
Discussion started by: marmellata
5 Replies
6. Shell Programming and Scripting
I run a small instrument lab. We track our user's time on the instruments with a very manual process of 'last wtmp.1' then cut/paste data into spreadsheets. My boss makes the initial spreadsheets then I convert and format them for uploading into our billing software (COReS). Cores is looking for a... (8 Replies)
Discussion started by: jpontius
8 Replies
7. Shell Programming and Scripting
Please help me in putting a trace on shell script running in AIX
Best regards,
Vishal (3 Replies)
Discussion started by: Vishal_dba
3 Replies
8. Shell Programming and Scripting
Hello, im a new user on this site and learning scripting very slowly at a understanding pace. However i am up with a challenge and require help completing this.
The script has to include arguments, variables, decisions and loops. So the script is about calculating the broadcast address for any... (5 Replies)
Discussion started by: tHe666
5 Replies
9. UNIX for Beginners Questions & Answers
+ 8.00747 /NodeList/0/DeviceList/0/$ns3::PointToPointNetDevice/TxQueue/Enqueue ns3::PppHeader (Point-to-Point Protocol: IP (0x0021)) ns3::Ipv4Header (tos 0x0 DSCP Default ECN Not-ECT ttl 63 id 0 protocol 17 offset (bytes) 0 flags length: 540 10.1.3.3 > 10.1.2.4) ns3::UdpHeader (length: 520 49153 >... (11 Replies)
Discussion started by: Nipa
11 Replies
10. UNIX for Beginners Questions & Answers
This script is executed whenever a new vehicle is added to the cycle-motor park
of campus. The script asks for the following information about the car and adds a new
line to the vehicle file.txt: name (name of an animal, unique identifier), color, mark,
model, type (e.g., electrical, manual),... (2 Replies)
Discussion started by: andre2222
2 Replies
LEARN ABOUT DEBIAN
fstrace_clear
FSTRACE_CLEAR(8) AFS Command Reference FSTRACE_CLEAR(8)
NAME
fstrace_clear - Clears the trace log
SYNOPSIS
fstrace clear [-set <set name>+]
[-log <log name>+]
[-help]
fstrace c [-s <set name>+]
[-l <log name>+] [-h]
DESCRIPTION
The fstrace clear command erases the contents of the trace log from kernel memory, but leaves kernel memory allocated for the log.
OPTIONS
-set <set name>+
Names the event set for which to clear the associated trace log. The only acceptable value is "cm" (for which the associated trace log
is "cmfx"). Provide either this argument or the -log argument, or omit both to clear the "cmfx" log by default.
-log <log name>+
Names the trace log to clear. The only acceptable value is "cmfx". Provide either this argument or the -set argument, or omit both to
clear the "cmfx" log by default.
-help
Prints the online help for this command. All other valid options are ignored.
EXAMPLES
The following command clears the "cmfx" trace log on the local machine:
# fstrace clear
PRIVILEGE REQUIRED
The issuer must be logged in as the local superuser "root".
SEE ALSO
fstrace(8), fstrace_lslog(8), fstrace_lsset(8)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 FSTRACE_CLEAR(8)