10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
see below for a housekeeping script which constructs an ssh cmd using some server/path/sudo info found in $HRINST.
the script should hop to each server and if it finds a file to cleanup, moves it to the archive dir
if there is nothing to move, it should report so and email the output
... (3 Replies)
Discussion started by: jack.bauer
2. UNIX for Dummies Questions & Answers
Sorry for my english.
I have an arcade site.
mydomain.com/game.html If database has the game name is good.
mydomain.com/fd43f54.html if database has not the game name redirect to mydomain.com by 302 error code.
if database has not the game name i want a 301/404 error code and no... (0 Replies)
Discussion started by: hoo
3. Shell Programming and Scripting
I need a wsadmin script using jython to monitor server status in websphere.
kindly help. (0 Replies)
Discussion started by: coolguyamy
4. UNIX for Advanced & Expert Users
Hi All,Could anybody help in suggesting how to check the weblogic server status in a Unix machine?
ps -ef |grep "startWeblogic.sh"
The above command would give the running status but can anyone throw some light how to check if it is in hung/down state.
Thanks (1 Reply)
Discussion started by: RSC1985
5. Shell Programming and Scripting
I wrote an script which starts a Weblogic server and waits until its loaded to deploy several apps. The way I checked was something like:
while ; do
wget --spider <URL>:<port>/console > /dev/null 2>&1
This works perfectly because it's an HTML site and when server is... (2 Replies)
Discussion started by: AlbertGM
6. Shell Programming and Scripting
In shell we can find the status of last executed command by $?
In perl what is the command to find the status of last executed command...
Can any one please say???????????????
Prabhu (1 Reply)
Discussion started by: prsampath
7. Shell Programming and Scripting
I'm using a shell script containing a wget-command that copies html-files from a website to my ISP-server. I therefore want to check if that file exist and also if the filessize is larger than e.g. 100 bytes. Probably it's done by using something like fileexist and filesize.
The wget... (3 Replies)
Discussion started by: weatherboys
Please tell me according to C/C++ socket programming; how client can check whether server is running or not during TCP communication. (1 Reply)
Discussion started by: mansoorulhaq
9. Shell Programming and Scripting
Thanks in Advance.
My requirement is there are some data files to be updated(some times new files get created) regularly in server A, these files are to be updated to the server B(backup server) by using SCP, I have to write a script for this purpose, before copying the files to server... (3 Replies)
Discussion started by: rajus19
10. Shell Programming and Scripting
We have a text file which has the following data.
ISA~00~ ~00~ ~ZZ~VISTN ~ZZ~U1CAD ~051227~183
AK5~A... (3 Replies)
Discussion started by: isingh786