06-02-2013
thanks a lot 4 dis piece of explanation
!!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Ok, heres the situation. We use Solaris 8 and sometimes users who are logged into our system restart their pc's without shutting down the application that attached to our unix backend. I netstat and I get time-waits for the users.
My question is how long before the time-wait ends and the user... (1 Reply)
Discussion started by: eloquent99
1 Replies
2. Shell Programming and Scripting
I have a few xml files and I want to input say 5 parameters within each file. is it possible to do so with sed?
<parameter>A</parameter>
<parameter>B</parameter>
....
....
And so on.
These parameters are meant to go in just inside:
<?xml... (2 Replies)
Discussion started by: collern2
2 Replies
3. Shell Programming and Scripting
Hello,
I am trying to write a script that has a option of restarting the script from where it failed. I have to write a script called Batch.sh. This script has to run quite a few sql files as shown below:
logcmd.sh -f test1.sql
logcmd.sh -f test2.sql
logcmd.sh -f test3.sql
logcmd.sh -f... (4 Replies)
Discussion started by: rkumar28
4 Replies
4. Shell Programming and Scripting
:cool:
I need to execute a shell script to do the following:
cat a file
run two back ground processes using the first two values from the file
wait till those background processes finish
run two more background processes using the next two values from the file
wait till those background... (1 Reply)
Discussion started by: halo98
1 Replies
5. UNIX for Dummies Questions & Answers
i have a function defined in one ksh
i want to use the same functionality in another ksh
i am using
. ../<ksh name>
but it is not picking that functionality
what i have to do for the same (2 Replies)
Discussion started by: trichyselva
2 Replies
6. Shell Programming and Scripting
Did not use 'wait' yet.
How I understand by now the wait works only for child processes, started background.
Is there any other way to watch completion of any, not related process (at least, a process, owned by the same user?)
I need to start a background process, witch will be waiting... (2 Replies)
Discussion started by: alex_5161
2 Replies
7. Shell Programming and Scripting
HI,
I have a strange problem. A shell script that runs fine on solaris. when i ported to linux, it started hanging.
here is the core of the script
CFG_FILE=tab25.cfg
sort -t "!" -k 2 ${CFG_FILE} | egrep -v "^#|^$" | while IFS="!" read a b c
do
#echo "jobs output"
#jobs
#echo "jobs... (13 Replies)
Discussion started by: aksaravanan
13 Replies
8. Shell Programming and Scripting
Hi,
I am facing a strange issue,
when i call a script from my while loop in background it doesnt go in background, despite the wait i put below the whil loop it goes forward even before the process put in background is completed.
cat abc.txt | while read -u4 line
do
#if line contains #... (2 Replies)
Discussion started by: mihirvora16
2 Replies
9. UNIX for Dummies Questions & Answers
Hi everyone, today i need that someone help to understand this particular line of command.
So you can explain to me step by step, it will be great.
---------- Post updated at 11:53 AM ---------- Previous update was at 11:51 AM ---------- (9 Replies)
Discussion started by: Newer
9 Replies
10. UNIX for Dummies Questions & Answers
Hi ,
I've written the following code to zip the big file
$dir_temp ="/home/etc/hst
zip -r $dir_temp/file_nm.zip $dir_temp/file_nm
The zip file has been created . When I try to UNZIP the file
with the following command
unzip file_nm.zip
The file got unzipped but created in the... (3 Replies)
Discussion started by: smile689
3 Replies
dis(1) dis(1)
NAME
dis - object code disassembler
SYNOPSIS
/usr/ccs/bin/dis [-C] [-o] [-V] [-L] [-d sec] [-D sec] [-F function] [-l string] [-t sec] file...
The dis command produces an assembly language listing of file, which can be an object file or an archive of object files. The listing
includes assembly statements and an octal or hexadecimal representation of the binary that produced those statements.
Options are interpreted by the disassembler and can be specified in any order.
The following options are supported:
-C Displays demangled C++ symbol names in the disassembly.
-d sec Disassembles the named section as data, printing the offset of the data from the beginning of the section.
-D sec Disassembles the named section as data, printing the actual address of the data.
-F function Disassembles only the named function in each object file specified on the command line. The -F option can be specified mul-
tiple times on the command line.
-l string Disassembles the archive file specified by string. For example, one would issue the command dis -l x -l z to disassemble
libx.a and libz.a, which are assumed to be in LIBDIR.
-L Invokes a lookup of C-language source labels in the symbol table for subsequent writing to standard output.
-o Prints numbers in octal. The default is hexadecimal.
-t sec Disassembles the named section as text.
-V Prints, on standard error, the version number of the disassembler being executed.
If the -d, -D, or -t options are specified, only those named sections from each user-supplied file is disassembled. Otherwise, all sections
containing text is disassembled.
On output, a number enclosed in brackets at the beginning of a line, such as [5], indicates that the break-pointable line number starts
with the following instruction. These line numbers is printed only if the file was compiled with additional debugging information, for
example, the -g option of cc(1B). An expression such as <40> in the operand field or in the symbolic disassembly, following a relative dis-
placement for control transfer instructions, is the computed address within the section to which control is transferred. A function name
appears in the first column, followed by () if the object file contains a symbol table.
The following operand is supported:
file A path name of an object file or an archive (see ar(1)) of object files.
See environ(5) for descriptions of the following environment variables that affect the execution of dis: LC_CTYPE, LC_MESSAGES, and
NLSPATH.
LIBDIR If this environment variable contains a value, use this as the path to search for the library. If the variable contains a
null value, or is not set, it defaults to searching for the library under /usr/lib.
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
/usr/lib default LIBDIR
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWbtool |
+-----------------------------+-----------------------------+
|Interface Stability |See below. |
+-----------------------------+-----------------------------+
The human readable output is Unstable. The command line options are Evolving.
ar(1), as(1), cc(1B), ld(1), a.out(4), attributes(5), environ(5)
The self-explanatory diagnostics indicate errors in the command line or problems encountered with the specified files.
23 Jun 2005 dis(1)