01-07-2009
Thanks, we have everything we need to get this going. Thanks to all who replied.
Last edited by flasun; 01-07-2009 at 10:39 AM..
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
I am new to Unix and script writing so I was wondering if this would be possible and how I might do it. I've learned to write a basic script and the first step I need to do is to open a program (for genetic linkage). The program then requires me to enter a lot of information. Sort of line... (1 Reply)
Discussion started by: lianderthal
1 Replies
2. Programming
Hi,
I am wondering if there is a way to find out in a C software program if a particular process is running without having to write a file. In the past, I have been using the system command to execute a pgrep and output the info to a file. Then the C program reads the file to make the... (1 Reply)
Discussion started by: herbmiller
1 Replies
3. Shell Programming and Scripting
Hello,
I'm running a perl script to execute a program through my Unix command line. The program requires a user input but I want to automatically have perl input the string. Is there a way to do this?
Thanks (1 Reply)
Discussion started by: leonard2352
1 Replies
4. Shell Programming and Scripting
Hi I need help..........
I have an Sun One Directory server LDIF file with 5000 user entries, I need to change the data to match Test ID's, so I can run a perf test.
I'm way out of my league as I have not done any scripting for 10 years.
There are four entries for each user in the file... (3 Replies)
Discussion started by: Macdaddy99
3 Replies
5. UNIX Desktop Questions & Answers
how can i know which users have logged in at specified given start and end time in 24 hour format? (3 Replies)
Discussion started by: meherzad4u
3 Replies
6. Shell Programming and Scripting
Hi all,
How to:
Run a bash script, display on the screen and save all information in a file including error information.
For example:
I have a bash script called test.sh
now I want to run the test.sh and display the output on the screen and save the output including error info to a file.
... (1 Reply)
Discussion started by: Damon sine
1 Replies
7. Shell Programming and Scripting
Hello all,
I want to display all the user logged last week and know the time tnat they are connected. I have been looking for a solution in the Forum, but I didn't find.
Thanks in advance (4 Replies)
Discussion started by: ahernandez
4 Replies
8. Shell Programming and Scripting
I have written the following bash function prArgv
Suppose the calling sequence is as follows
prArgv VAL1 VAL2 DESC VAL3 VAL4 v2d1 s4 p15
The call will look at the tag k1v2, add the numbers together, in this case 2+1=3
This means that the function will look at the first 3 user arguments... (1 Reply)
Discussion started by: kristinu
1 Replies
9. Shell Programming and Scripting
Hello all..
so i have a problem i need to solve ..
#! /bin/bash
$SHELL
dtterm -title my_prog -e su -user -c 'export DISPLAY=:0.0 ; /path/to/my/prog' & 2> /dev/null
$SHELL
intr
exit
This script will work on solaris 10 system in right clikt menu - in a secure system so i need to... (0 Replies)
Discussion started by: defs
0 Replies
LEARN ABOUT SUNOS
asadmin-display-license
asadmin-display-license(1AS) User Commands asadmin-display-license(1AS)
NAME
asadmin-display-license, display-license - displays the license information
SYNOPSIS
display-license [--user admin_user][--password admin_password][--host localhost] [--port 4848][--passwordfile filename][--secure|-s]
display-license displays the license information. This command can run both locally and remotely.
OPTIONS
--user administrative user associated for the instance.
--password administrative password corresponding to the administrative user.
--host host name of the machine hosting the administrative instance.
--port administrative port number associated with the administrative host.
--passwordfile file containing passwords appropriate for the command (e.g., administrative instance).
--secure if true, uses SSL/TLS to communicate with the administrative instance.
Example 1: Using display-license in local mode
asadmin> display-license
*****************************************************************
Eval Sun ONE Application Server 7 Evaluation License
Expiration date Tues 11 Sept 11:58:47 PDT 2002
Number of instances per admin server Unlimited
Allow remote administration YES
*****************************************************************
Example 2: Using display-license in remote mode
asadmin> display-license --user admin --password adminadmin --host fuyako --port 7070
*****************************************************************
Eval Sun ONE Application Server 7 Evaluation License
Expiration date Tues 11 Sept 11:58:47 PDT 2002
Number of instances per admin server Unlimited
Allow remote administration YES
*****************************************************************
EXIT STATUS
0 command executed successfully
1 error in executing the command
asadmin-install-license(1AS)
J2EE 1.4 SDK March 2004 asadmin-display-license(1AS)