Set Command to output a log of every command executed in the script
Hi Guys,
I like to output every command executed in the script to a file.
I have tried
which does the same.
But it is not giving the logs of the child script which is being called from my script.
Is there any parameters in the Set command or someother way where i can see the log of the all the child (child of child of child of child scripts) in a single log file.
i'm writing some simple scripts to help me learn perl.
why does the print command get called after the shell script is executed?
the purpose of the shell script is to simply echo to the screen "script run". which is does, but before the print command, you can clearly see the shell script is... (3 Replies)
Hi All,
i have problem in the following Sql Script.
problem is : HOST (!) command is not getting executed.pls de-bugg this HoTBackup Script......
Most urgent...!
Thank You very Much !!
SQL> set serveroutput on
SQL> set trimspool on
SQL> set line 500
SQL> set head off
SQL> set feed off... (4 Replies)
Hi,
I am trying to write a script which would figure out who has run which command and their IP. As i dont have any clue as to which commands would do this job, i request some gurus to help me on this.
Thanks
Vishwas (2 Replies)
Hi,
When I execute this command
prtdiag -v
output sample :
System clock frequency: 160 MHZ
Memory size: 4GB
==================================== CPUs ====================================
E$ CPU CPU
CPU Freq Size ... (4 Replies)
I'm hoping you guys can help me out here. I've been trying different methods to try and get what IW as hoping would be a fairly simple script but has turned into a pain.
Bit of background - I am writing a script to check values in certain failes to ensure they are corerct. I'm runnign this on... (2 Replies)
Hi everyone,
when executing this command in unix:
echo "WM7 Fatal Alerts:", $(cat query1.txt) > a.csvIt works fine, but running this command in a shell script gives an error saying that there's a syntax error.
here is content of my script:
tdbsrvr$ vi hc.sh
"hc.sh" 22 lines, 509... (4 Replies)
Hi there! :)
How to set varibale to be output of a command in csh.
I was using set i="date+'%y%m%d'" but the output is date+'%y%m%d' and without quites and with a single quote the output is the same :wall: :eek:
Thanks in advance (2 Replies)
I am able to execute awk command from shell prompt. but the same command is not getting executed when written and run in a bash script
the command from bash cmd prompt.
awk '/world/{for (i=2; i<NF; i++) printf $i " "; print $NF}1' myfile >tmp$$ ; mv tmp$$ myfile
file:
# hello world my... (4 Replies)
Hi All,
I am trying to write a shell script to check if a command executed successfully or not in rhel 7 and finding the installed tomcat version.
I am using below script.
var4=$(find / -name "catalina.jar" ! -size 0 |egrep -v... (6 Replies)
Discussion started by: sravani25
6 Replies
LEARN ABOUT HPUX
show_child
show child(1m) show child(1m)NAME
show child - Displays attribute information about the specified child pointer
SYNOPSIS
cdscp show child child-name [attribute-name] [with attribute-name = attribute-value]
ARGUMENTS
The full name of a specific child pointer. The last simple name can contain wildcard characters. The name of an attribute; see Descrip-
tion for valid attribute names. The value of a particular attribute.
DESCRIPTION
The show child command displays the names and values of the attributes specified in attribute-name. You can use a combination of
attributes in a single command. Use a space to separate multiple attributes. You can use a with attribute-name = attribute-value clause to
limit output only to child pointers whose attributes have values equal to the specified values. A space must precede and follow the =
(equals sign).
If you do not supply any attributes, the command displays all attributes and their values. The following is a description of child pointer
attributes: Specifies the creation timestamp (CTS) of the specified child pointer. Specifies the unique identifier of the directory to
which the child pointer refers. Specifies the address, UUID, and name of a set of clearinghouses where a copy of the child directory ref-
erenced by the child pointer is located. This attribute also specifies whether the directory in a particular clearinghouse is a master or
read-only replica. Specifies the timestamp of the most recent update to an attribute of the child pointer.
Privilege Required
You must have read permission to the child pointer. If you specify a wildcard child name, you also need read permission to the parent
directory.
NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLE
The following command displays all of the attributes and values of the child directory to which the child pointer /.:/admin refers: cdscp>
show child /.:/admin
SHOW
CHILD /.../abc.com/admin
AT 1991-10-15-15:56:01
CDS_CTS = 1991-10-15-19:55:52.000000003/08-00-2b-1c-8f-1f
CDS_UTS = 1991-10-15-19:55:52.000000006/08-00-2b-1c-8f-1f
CDS_ObjectUUID = 6b5362e8-8b1c-11ca-8981-08002b0f79aa
CDS_Replicas = :
Clearinghouse's UUID = 2ab024a8-8b1a-11ca-8981-08002b0f79aa
Tower = ncadg_ip_udp:16.18.16.32
Tower = ncacn_ip_tcp:16.18.16.32
Replica type = master
Clearinghouse's Name = /.../abc.com/Boston_CH
RELATED INFORMATION
Commands: create child(1m), delete child(1m), list child(1m)
show child(1m)