10 More Discussions You Might Find Interesting
1. Infrastructure Monitoring
Hi,
We have Solaris-10 running on VMware (x86). It is being monitored by HP Openview. Sometimes when this server hungs, while ping still works, HPOpenview can't alert that server is down (which is actually unresponsive).
First symptom we see is, login failure. It will ask user name and after... (7 Replies)
Discussion started by: solaris_1977
7 Replies
2. Shell Programming and Scripting
In my bash script I want to say "if argument 2 is anything except x, y or z, than echo this" (x y and z being words).
So my script looks like this:
if ]
then
echo "unrecognized input: $2"
fi
This usually works but than I also want to say "if argument 2 IS x, y, or z, but argument 4 is... (4 Replies)
Discussion started by: Jrodicon
4 Replies
3. Shell Programming and Scripting
Hi, all
Now i want write a shell to get the state of weblogic server,and when the Managed Server's state is not ok, after 3 times checking, i will send msg to the system administrator by sms.
BTW, my environment is :
Linux ,Redhat 5.4 64bit
weblogic version: 10.3.3
the count number... (1 Reply)
Discussion started by: wangsk
1 Replies
4. Shell Programming and Scripting
I am wiping off the dust to my shell scipting days and had this question: I have this script that I have created, and cannot figure out where my flow control issue is within this script.
#!/bin/ksh
#Basic script to backup server
#Home directories to the external ... (2 Replies)
Discussion started by: metallica1973
2 Replies
5. Shell Programming and Scripting
hi ,
I am new to scripting, i have a doubt can any one pls solve it for me
the code is not working
set users = (user1 user2 user3)
echo The users are
echo $users
echo Enter the USER NAME
set USER_NAME = $<
set i = 1;
for ( i = 1; i <= $#users; i++ )
if ( $USER_NAME == $users )... (1 Reply)
Discussion started by: Manju87
1 Replies
6. Solaris
Can any one of you suggest me the method to get apache server in online from maintenance mode. I tried in the following way, but couldn't get that service to online.
bash-3.00# svcs -a | grep apache
legacy_run 9:51:55 lrc:/etc/rc3_d/S50apache
offline 9:51:22... (3 Replies)
Discussion started by: Sesha
3 Replies
7. Shell Programming and Scripting
Hi guys.I'm just beginner of python.
I'm just trying to do some analysis on simple input file.
it has 6 columns and i want to consider k,l and m,n if i and j are +
after that checking which value is greater or lower in k,l and m,n
I have included logic header just to explain what I was... (4 Replies)
Discussion started by: repinementer
4 Replies
8. IP Networking
I have a server I would like to disable 802.3x flow control on. The host is Linux (CentOS 4.4 x86_64 w/ 2.6.9-42.0.3.EL kernel,) and I'm using the ns83820 driver for the ethernet interface in question.
I've tried looking at the driver parameters (modinfo ns83820) and using ethtool (ethtool -a... (0 Replies)
Discussion started by: LivinFree
0 Replies
9. Programming
hello im facing a queer problem when i execute the foll code in unix
# include <stdio.h>
# include <unistd.h>
main(int argc,char *argv)
{
FILE *fp = fopen("/ras/chirag/fifotest/file.fifo","a");
int i=1;
fprintf(fp,argv);
printf("I SLEEP");
system("date");
for (i=0;i<50;i++)... (2 Replies)
Discussion started by: tej.buch
2 Replies
10. UNIX for Dummies Questions & Answers
how can i create a script with a correct control flow/loop(?) to
provide output from 3 files?
file1
one
two
three
file2
yellow
red
orange
file3
banana
apples
cantaloupes
output file:
one (1 Reply)
Discussion started by: apalex
1 Replies