Sponsored Content
The Lounge What is on Your Mind? Under Consideration: Migrate the Forums to Discourse Post 303044950 by stomp on Monday 9th of March 2020 03:38:10 PM
Old 03-09-2020
Nice to watch and read the progress.

10 hours is a hell of a roundtrip time. Maybe 1000 or 10000 posts are enough per try ;-).
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to migrate ?

Currently, I am planning a migration between machine which under True64UNIX. The new machine will run with higher version O/S. My question is, is there any solution on migrating one machine to another which with different O/S version? My goal is keeping minimum impact to the users. Excuse my... (1 Reply)
Discussion started by: coolmans
1 Replies

2. UNIX for Dummies Questions & Answers

Pipe not taken into consideration

I'm trying to see every file which my group (staff) has in a certain directory, recursively. The pipe ls -l -R | grep staff is not working exactly as I want, as for every directory to which my user does not have access, a line like: ls: ./directory/lost+found: The file access permissions do not... (5 Replies)
Discussion started by: panchopp
5 Replies

3. Solaris

Migrate oracle solaris 5.8 5.9

If I have an oracle 9 database environment on a san running solaris 5.8 as the os. Can I plug the san into a Solaris 5.9 environment and have the database work ? - as long as binaries are on the san (1 Reply)
Discussion started by: tim-carroll@com
1 Replies

4. Solaris

Can you migrate UFS to ZFS ?

I have some UFS volumes (non root), that I would like to change into ZFS volumes. Is this possible ? I think the only method is to create a new zfs volume and copy the data accoss, this would take a long time for us. Is there a quicker way ? Regards (5 Replies)
Discussion started by: wjones
5 Replies

5. Solaris

Migrate from MPXIO to Powerpath

Here is the issue: I am building a database server using Solaris 10x86 U8. The system is jumpstarted with mpxio enabled and booting from the san. We need to have powerpath 5.3 installed and would like to have powerpath take control of the the boot san as well or have mpxio control the san... (2 Replies)
Discussion started by: nabru72
2 Replies

6. Linux

Mysql Migrate

Hi , I would like to (MYSQL) migrate the all the data from solari's to linux box. I have checked whether mysql is installed or not. rpm -qa | grep -i mysql I confirmed !!!! I want to know the following points. 1) How can get to know what are mysql data files and location as well.... (4 Replies)
Discussion started by: Mani_apr08
4 Replies

7. BSD

Migrate a Hard Disk

hi Has anyone already tried to migrate a hard disk with FreeBSD using recoverdisk? (1 Reply)
Discussion started by: ccc
1 Replies

8. Shell Programming and Scripting

Migrate from FTP to SFTP

Hi,I am using following code for FTP in shell script file and it is working.Now I want to migrate from FTP to SFTP.What code changes/steps I have to perform for SFTP ? ftp -in <<FIN open $SAP_UP_SERVER user $SAP_UP_USER $SAP_UP_PASSWORD asc put... (7 Replies)
Discussion started by: Nitin Varshneya
7 Replies
watch(n)						       BLT Built-In Commands							  watch(n)

__________________________________________________________________________________________________________________________________________________

NAME
watch - call Tcl procedures before and after each command SYNOPSIS
watch create watchName ?options? watch activate watchName watch deactivate watchName watch delete watchName watch configure watchName ?options watch info watchName watch names _________________________________________________________________ DESCRIPTION
The watch command arranges for Tcl procedures to be invoked before and after the execution of each Tcl command. INTRODUCTION
When an error occurs in Tcl, the global variable errorInfo will contain a stack-trace of the active procedures when the error occured. Sometimes, however, the stack trace is insufficient. You may need to know exactly where in the program's execution the error occured. In cases like this, a more general tracing facility would be useful. The watch command lets you designate Tcl procedures to be invoked before and after the execution of each Tcl command. This means you can display the command line and its results for each command as it executes. Another use is to profile your Tcl commands. You can profile any Tcl command (like if and set), not just Tcl procedures. EXAMPLE
The following example use watch to trace Tcl commands (printing to standard error) both before and after they are executed. proc preCmd { level command argv } { set name [lindex $argv 0] puts stderr "$level $name => $command" } proc postCmd { level command argv retcode results } { set name [lindex $argv 0] puts stderr "$level $name => $argv0= ($retcode) $results" } watch create trace -postcmd postCmd -precmd preCmd OPERATIONS
The following operations are available for the watch command: watch activate watchName Activates the watch, causing Tcl commands the be traced to the maximum depth selected. watch create watchName ?options?... Creates a new watch watchName. It's an error if another watch watchName already exists and an error message will be returned. Options may have any of the values accepted by the watch configure command. This command returns the empty string. watch configure watchName ?options...? Queries or modifies the configuration options of the watch watchName. WatchName is the name of a watch. Options may have any of the following values: -active boolean Specifies if the watch is active. By default, watches are active when created. -postcmd string Specifies a Tcl procedure to be called immediately after each Tcl command. String is name of a Tcl procedure and any extra arguments to be passed to it. Before string is invoked, five more arguments are appended: 1) the current level 2) the cur- rent command line 3) a list containing the command after substitutions and split into words 4) the return code of the com- mand, and 5) the results of the command. The return status of the postcmd procedure is always ignored. -precmd string Specifies a Tcl procedure to be called immediately before each Tcl command. String is name of a Tcl procedure and any extra arguments to be passed to it. Before string is invoked, three arguments are appended: 1) the current level 2) the current command line, and 3) a list containing the command after substitutions and split into words. The return status of the -precmd procedure is always ignored. -maxlevel number Specifies the maximum evaluation depth to watch Tcl commands. The default maximum level is 10000. watch deactivate watchName Deactivates the watch. The -precmd and -postcmd procedures will no longer be invoked. watch info watchName Returns the configuration information associated with the watch watchName. WatchName is the name of a watch. watch names ?state? Lists the names of the watches for a given state. State may be one of the following: active, idle, or ignore. If a state argument isn't specified, all watches are listed. KEYWORDS
debug, profile BLT
2.4 watch(n)
All times are GMT -4. The time now is 07:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy