02-23-2017
If I understand you correctly, you want to automate the input to the format tool.
You could try to use expect, which is made for this purpose. There should be a man-page for this, and you also find many examples for expect on the Net.
Note that expect is basically Tcl, which was extended with a special library, so you are then effectively doing Tcl-programming, not shell programming. Keep this in mind, when you get in trouble with the syntax of the commands: In this case, search the Net not only for "expect", but also for "Tcl".
I also recommend taking 15 minutes or so to get familiar with the Tcl language. It is simple, but not always obvious if you come from other languages.
9 More Discussions You Might Find Interesting
1. Solaris
Hi All
Anyone out there using any graphing tool for Solaris performance data taken either through SAR utility or iosatat, vmstat, nicstat etc. There are a couple on googling like statsview and rrdtool but not sure if anyone is really happy and satisfied with using any of the graphing tool.
... (1 Reply)
Discussion started by: baner_n
1 Replies
2. Shell Programming and Scripting
Hi All,
It's quite long time....m comming to my favourite forum..
Can anyone suggest me good tool like eclipse for Java....do we have anything for Shell scripting..where n i can atlease prepare script...rather than typing all mistakes in Linux box :)
Thanks
Sha (1 Reply)
Discussion started by: Shahul
1 Replies
3. Solaris
Hi All,
I was wondering if there is any Network Monitoring Tool for Solaris 10 to monitor a network having hybrid operating systems. I just googled it without success.
Hope, experts will guide me to get it.
Thanks,
Deepak (0 Replies)
Discussion started by: naw_deepak
0 Replies
4. Infrastructure Monitoring
Hi All,
I was wondering if there is any Network Monitoring Tool for Solaris 10 to monitor a network having hybrid operating systems. I just googled it without success.
Hope, experts will guide me to get it.
Thanks,
Deepak (7 Replies)
Discussion started by: naw_deepak
7 Replies
5. Solaris
Friends, I am learning the working of fssnap command.
Suppose there is a directory named /datadir which is of size 500mb.
I had taken the snapshot by means of the following command:
#fssnap -F ufs -o bs=/snapshotdir /datadir
{ it shows the o/p as
/dev/fssnap/0 }
My question is if... (2 Replies)
Discussion started by: saagar
2 Replies
6. Shell Programming and Scripting
Hi guys,
I am new in Unix/linux field. I need a >>tool which is running on windows xp and provide the >>Korn shell scripting environment.
As I used cygvin, but it is bash shell and most of the command of unix is not supported by cygwin.:confused:
please suggest..... :)
thanks in... (9 Replies)
Discussion started by: atul9806
9 Replies
7. Solaris
Hi Dears,
I believe you know authconfig on most of Linux Distributions. However, on Solaris OS, I don't know the similar tool. Could you please share me the tool, if any?
Note:
I am using SunOS 5.10. (0 Replies)
Discussion started by: crest.boy
0 Replies
8. Solaris
Hello all.
I am new hear and would like to ask a question regarding to the Solaris Crash Analysis Tool.
We are analyzing the results of "thread summary" but not quite sure what the asterisk represents.
Following are the items that asterisk were attached.
50* threads sleeping on a semaphore (49... (1 Reply)
Discussion started by: YuW
1 Replies
9. Solaris
Hi all,
I am attempting to create a BART manifest on a Solaris 10 box; however, I need it to be hashed with SHA256. Normally, at the beginning of a "bart create" command, the version and date appear along with the type of encryption listed. When I run the command though I receive the... (3 Replies)
Discussion started by: Derk Berk
3 Replies
LEARN ABOUT OPENDARWIN
adb
adb(1) User Commands adb(1)
NAME
adb - general-purpose debugger
SYNOPSIS
adb [-kw] [-I dir] [-P prompt] [-V mode] [ object [ core]]
DESCRIPTION
The adb utility is an interactive, general-purpose debugger. It can be used to examine files and provides a controlled environment for the
execution of programs.
The adb utility is now implemented as a link to the mdb(1) utility in Solaris 9. mdb(1) is a low-level debugging utility that can be used
to examine user processes as well as the live operating system or operating system crash dumps. The new mdb(1) utility provides complete
backwards compatibility with the existing syntax and features of adb, including support for processing adb macro files. The Solaris Modular
Debugger Guide and mdb(1) man page describes the features of mdb, including its adb compatibility mode. This mode will be activated by
default when the adb link is executed.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWmdb |
+-----------------------------+-----------------------------+
SEE ALSO
mdb(1), attributes(5)
Solaris Modular Debugger Guide
SunOS 5.10 19 Aug 2003 adb(1)