12-24-2008
It hasn't show trace information.
Now, it still the same because of log file show duplicate text but it did not trace information. I applied already (tail -f tra.872558 | grep "duplicate" ; echo "done") according to your help.It will show immediately if run this command again.
I look foward to hearing from you.
Thanks,
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
I have found a interesting thing about tail command:
when I tried to use 'tail -1 *' to look at every file with the current derectory, I only got one line of result of one file.
But if I use 'head -1 *', I would get multiple lines.
Is there a way to do get multiple lines with 'tail -1 *'... (3 Replies)
Discussion started by: whatisthis
3 Replies
2. Shell Programming and Scripting
Hi,
I have a log file without date/time, and I want that everytime tail|grep find something it displays the date/time and the line. I have tried something like this command but without any luck to display the date/time:
tail -F catalina.out | sed "s/^/`date `/" | egrep ... (6 Replies)
Discussion started by: julugu
6 Replies
3. Shell Programming and Scripting
Is it possible to store all standard-out of a bash script and the binaries it calls in a log file AND still display the stdout on screen?
I know this is possible to store ALL stdout/stderr of a script to a single log file like:
exec 1>&${logFile}
exec 2>&1
But running a script with the... (3 Replies)
Discussion started by: ckmehta
3 Replies
4. Shell Programming and Scripting
Hi All,
My query seems to be silly but Iam unable to find where the exact problem lies.
I have a script to unzip set of files
here is the script
#!/bin/ksh
Count=`cat /home/gaddamja/Tempfile | wc -l`
while
do
Filename=`cat /home/gaddamja/Tempfile |tail -$Count | head -1`
cd... (7 Replies)
Discussion started by: jagadish_gaddam
7 Replies
5. Red Hat
Hi,
I have a simple question : how to disable screen lock and/or sreen saver with command line with RHEL5.4 ? (1 Reply)
Discussion started by: albator1932
1 Replies
6. Shell Programming and Scripting
Hi does anyone know how to create a file using the tail command? My book has this file I need to create and it says to use the tail command and that it is possible but I have no idea. Thanks. (4 Replies)
Discussion started by: drew211
4 Replies
7. Shell Programming and Scripting
Hello Guys,
I have created function which is as follow:
tail -f filename |grep "Key word"
output from this command
19-11-2011 21:09:15,234 - INFO Numbement - error number:result = :11
19-11-2011 21:09:15,286 - INFO Numbement - error number:result = :11
19-11-2011 21:09:15,523 - INFO... (5 Replies)
Discussion started by: ooilinlove
5 Replies
8. Shell Programming and Scripting
Title: Use “tail -f” to monitor and report, but the top line should be always fixed on the screen.
Hi, dear Unix experts,
I am trying to find a Unix command (or scripting) on how to continuously display a text file of its last several lines of contents. But during this displaying, I want some... (2 Replies)
Discussion started by: df3c
2 Replies
9. Shell Programming and Scripting
I have PHP code for downloading pdf files from mysql database. The code is working fine in firefox mozilla and google chrome but not in IE 10, it show garbage in the screen. I have debugged the code with some headers utilities to examine the headers request, it appear the headers is not sending... (0 Replies)
Discussion started by: hadinetcat
0 Replies
10. UNIX for Beginners Questions & Answers
Hi Team,
Can anyone help me here:
I have to access server logs via putty and these logs file is a trailing file (continously updating) with ERROR and WARNINGS... I need to know if I can pull this trailing file to a local drive so that I can do some higlighting on some keywords through Notepad... (13 Replies)
Discussion started by: jitensetia
13 Replies
LEARN ABOUT DEBIAN
idebug
idebug(3tk) idebug(3tk)
NAME
idebug - Interactive debugging environment in TkCon
SYNOPSIS
idebug body ?level?
idebug break ?id?
idebug {echo ?id?} ?args?
idebug id ?id?
idebug off
idebug on ?id?
idebug {puts ?id?} args
idebug show type ?level? ?VERBOSE?
idebug trace ?level?
DESCRIPTION
The idebug command provides an interactive debugging environment for procedures via TkCon. You can place idebug break commands into your
procedure to create breakpoints. It will pop up the TkCon console and put you into a "debugging" mode. The body, show & trace methods are
intended for internal use only. This procedure works for minimal debugging sessions. Comments are encouraged.
idebug body ?level?
Prints out the body of the command (if it is a procedure) at the specified level. level defaults to the current level.
idebug break ?id?
Creates a breakpoint within a procedure. This will only trigger if idebug is on and the id matches the pattern. If so, TkCon will
pop to the front with the prompt changed to an idebug prompt. You are given the basic ability to observe the call stack an
query/set variables or execute Tcl commands at any level. A separate history is maintained in debugging mode. To see the special
commands available at the debug prompt, type ? and hit return.
idebug {echo ?id?} ?args?
Behaves just like echo, but only triggers when idebug is on. You can specify an optional id to further restrict triggering. If no
id is specified, it defaults to the name of the command in which the call was made.
idebug id ?id?
Query or set the idebug id. This id is used by other idebug methods to determine if they should trigger or not. The idebug id can
be a glob pattern and defaults to *.
idebug off
Turns idebug off.
idebug on ?id?
Turns idebug on. If id is specified, it sets the id to it.
idebug {puts ?id?} args
Behaves just like puts, but only triggers when idebug is on. You can specify an optional id to further restrict triggering. If no
id is specified, it defaults to the name of the command in which the call was made.
idebug show type ?level? ?VERBOSE?
type must be one of vars, locals or globals. This method will output the variables/locals/globals present in a particular level.
If VERBOSE is added, then it actually dumps out the values as well. level defaults to the level in which this method was called.
idebug trace ?level?
Prints out the stack trace from the specified level up to the top level. level defaults to the current level.
SEE ALSO
dump(3tk), observe(3tk), tkcon(1), tkcon(3tk), tkconrc(5)
KEYWORDS
Tk, console, debug
COPYRIGHT
Copyright (c) Jeffrey Hobbs <jeff at hobbs.org>
TkCon 2.5 idebug(3tk)