05-29-2002
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
2. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
3. HP-UX
Hello,
On a HP-UX 10.20 server I've executed something similar to this command:
# echo 'selall;info;wait;infolog;view;done' | /usr/sbin/cstm
But it returns sometype of "argument list too long" error.
I suppose there is a way to fix it by using xargs but I can't figure it out.
Any... (7 Replies)
Discussion started by: asanchez
7 Replies
4. UNIX for Advanced & Expert Users
Hi, everyone.
I need to write a program to get io info based on libperfstat.
But the "write time" of a disk is just half of the value get from iostat.
I'm confused and can't explain. Help please.
How I calculate "write service time per sec":
In iostat:
write service... (0 Replies)
Discussion started by: jackliang
0 Replies
5. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
6. Solaris
Greetings!
After block level migration using an external appliance, the luns are getting reported as DGC-RAID5 and these luns are infact from the new storage. I have a query on changing the device Vendor info from DGC-RAID5 to HP3par in the format o/p only.
AVAILABLE DISK SELECTIONS:
... (3 Replies)
Discussion started by: n_Bhaskar
3 Replies
7. Shell Programming and Scripting
Hi All,
i am trying to ssh to a remote machine and execute certain command to remote machine through script.
i am able to ssh but after its getting hung at the promt and after pressing ctrl +d i am gettin the out put as
expect: spawn id exp5 not open
while executing
"expect "$" {... (3 Replies)
Discussion started by: Siddharth shivh
3 Replies
8. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
9. AIX
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT CENTOS
runtest
runtest(1) General Commands Manual runtest(1)
NAME
runtest - DejaGnu test driver
SYNOPSIS
runtest [OPTION]...
DESCRIPTION
DejaGnu is a framework for testing programs using Expect. runtest is the driver program for DejaGnu. It controls what tests to run and
how to run them.
OPTIONS
--all Output all test results. By default, only unexpected results are displayed.
--debug
Turn on expect internal debugging output. The output is logged to a file called dbg.out.
--build TRIPLET
The configuration TRIPLET for the build system.
--directory DIRECTORY
Run only tests in the specified DIRECTORY.
--help Prints out a help screen and then exits.
--host TRIPLET
The configuration TRIPLET for the host system.
--host_board NAME
The host board defintion to use.
--ignore test1.exp test2.exp ...
Do not run the specified tests.
--mail 'name1 name2 ...'
Electronic mail addresses to receive test results.
--name HOSTNAME
The network HOSTNAME of the target board.
--objdir PATH
PATH is a directory containing compiled test code.
--outdir DIRECTORY
The name of a DIRECTORY for test log output.
--reboot
Reboot the target board when runtest initializes (if supported).
--srcdir PATH
PATH is a directory containing test directories.
--status
Set the exit status to fail on Tcl errors.
--strace N
Turns on expect internal tracing to N levels deep. The output is logged to a file called dbg.out.
--target TRIPLET
The configuration TRIPLET for the target.
--target_board NAME
A list of target board NAMEs to run tests on.
--tool TOOLNAME
Specify the tool to be tested. TOOLNAME controls the test suite applied, and the associated initialization module.
--tool_exec PATH
Specify the PATH to the executable to test.
--tool_opts OPTIONS
Additional OPTIONS to pass to the tool.
--verbose, -v
Turns on more debugging output from test cases and DejaGnu utility code. Use more than once to increase output further.
--version, -V
Prints out the versions of DejaGnu, Expect and Tcl.
--xml, -x
Generate XML output.
-D[number]
Activate the Tcl debugger. number can be either 1 or 0. If it is 1, then the expect shell will break when it starts to run. The
interrupt key will cause DejaGnu to drop to the debugger prompt. If it is 0, DejaGnu starts as usual, but a ^C drops to the debugger
prompt.
Any file name on the command line is assumed to be a subset of the
test names to run. Usually these are the names of the test scripts (eg. foo.exp).
Makefile-style variables are used to specify tool names and their flags; these and other configuration dependent values are saved in the
file site.exp, created during configuration.
EXIT CODES
runtest sets the exit code to 1 if any of the tests failed, or sets it to 0 if all the tests passed.
AUTHOR
Rob Savoye (rob@welcomehome.org)
REPORTING BUGS
Report bugs to <bug-dejagnu@gnu.org>.
COPYRIGHT
Copyright (C) 2005, 2007, 2008 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the terms of the GNU General Public License
<http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for DejaGnu is maintained as a Docbook manual. If the info program is properly installed at your site, the command
info dejagnu
should give you access to the complete manual.
2008-02-25 runtest(1)