9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
So I need to write a script (script1) which run other script (script2) multiple time, but split the runs.
lets say I need to run 100 times. but I want it to run 5 times at a time and after all the 5 runs of script2 are done anther 5 start.
Script1 define the variable in script2 as the number... (2 Replies)
Discussion started by: galboski
2 Replies
2. UNIX for Dummies Questions & Answers
Hi guys
So I've got this PERL script that for one reason or another I need to run as a user other than the user that created the script.
When I su - to another user the script won't run and doesn't give me any output as to why. No permission denied or anything like that.
I've chmod 777'd the... (5 Replies)
Discussion started by: Jaymoney
5 Replies
3. UNIX for Advanced & Expert Users
i am creating threads in my program using the POSIX interface.
when the thread starts executing i run out of memory and get a core dump.
i have tried to increase the threads stack size using pthread_attr_setstacksize, but of no use since i guess the dynamic memory is allocated on the heap and... (1 Reply)
Discussion started by: aniketkadu2002
1 Replies
4. Shell Programming and Scripting
I have a script that searches for specific information from log files.
#!/bin/sh
sed -n '/*C/,/END/p' /sn/log/OMlog* > crit.out
sed -n '/REPT INITIALIZATION/,/err:/p' /sn/log/OMlog* > switchcc.out
./start.awk /sn/log/OMlog* > ARs.out
./end.awk /sn/log/OMlog* > ARe.out
cat crit.out... (1 Reply)
Discussion started by: grinds
1 Replies
5. UNIX for Advanced & Expert Users
I have a ksh script that executes a program with a predetermined timeout in minutes. If the program takes longer then the timeout then it still completes with a return code of 0. :confused:
I would like to determine how long the program ran. Then if it takes longer than the timeout I would... (7 Replies)
Discussion started by: 2dumb
7 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have a problem with the following. I am trying to learn UNIX and as I am not an expert I don't know how to do the following exercise:
Requirement: Show knowledge of how to use some or all of the following commands:
· rm
· cp
· mv
· if
· test
· alias
· getopts and shift (See by... (1 Reply)
Discussion started by: pksb
1 Replies
7. Shell Programming and Scripting
Hi,
I have a problem with the following. I am trying to learn UNIX and as I am not an expert I don't know how to do the following exercise:
Requirement: Show knowledge of how to use some or all of the following commands:
· rm
· cp
· mv
· if
· test
· alias
· getopts and shift (See by... (0 Replies)
Discussion started by: pksb
0 Replies
8. UNIX for Advanced & Expert Users
Hello experts,
I have a series issue in script that result with bad peformence and I wonder if you can assist me.
For example
I have two files:
File-New, size 15Mb.
File-Old, size 1Mb.
File-New content:
a
b
c
k
File-Old content:
d
f
a
b (0 Replies)
Discussion started by: roybe
0 Replies
9. UNIX for Dummies Questions & Answers
I have a command that is found in /usr/ud51/bin called stopudt which safely stops idle database users (let's writes finish, etc).
If I login as root and issue stopudt the process is stopped.
I put a script in cron to run it and it says stopudt not found.
/usr/ud51/bin is in root's PATH. ... (10 Replies)
Discussion started by: michieka
10 Replies
package-appclient(1M) Application Server Utility package-appclient(1M)
NAME
package-appclient - packs the application client container libraries and jar files
SYNOPSIS
package-appclient
Use the package-appclient command to pack the application client container libraries and jar files into an appclient.jar file. The created
file is located at appserver_install_dir/lib/appclient/appclient.jar. The appclient.jar file provides an application client container
package targeted at remote hosts that do not contain a server installation.
The appclient.jar archive contains native code and can be used on a target machine that is of similar architecture as the machine where it
was produced. So, for example, an appclient.jar produced on a Solaris SPARC platform cannot be used on a Windows client machine.
After copying the appclient.jar file to a remote location, unjar it to get a set of libraries and jar files in the appclient directory
After unjarring on the client machine, modify appclient_install_dir/config/asenv.conf (asenv.bat for Windows) as follows:
o set AS_WEBSERVICES_LIB to appclient_install_dir/lib
o set AS_NSS to appclient_install_dir/lib (appclient_install_dirin for Windows)
o set AS_IMQ_LIB to appclient_install_dir/imq/lib
o set AS_INSTALL to appclient_install_dir
o set AS_JAVA to your JDK 1.4 home directory
o set AS_ACC_CONFIG to appclient_install_dir/config/sun-acc.xml
Modify appclient_install_dir/config/sun-acc.xml as follows:
o Ensure the DOCTYPE file references appclient_install_dir/lib/dtds
o Ensure that target-server address attribute refrences the server machine.
o Ensure that target-server port attribute refrences the ORB port on the remote machine.
o Ensure that log-service references a log file; if the user wants to put log messages to a log file.
Modify appclient_install_dir/bin/appclient (appclient.bat for Windows) as follows:
o change token %CONFIG_HOME% to appclient_install_dir/config
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Unstable |
+-----------------------------+-----------------------------+
appclient(1M)
Sun Java System Application Server March 2004 package-appclient(1M)