Search Results

Search: Posts Made By: frum
2,567
Posted By frum
Hi all, I was able to do it using rsh. ...
Hi all,

I was able to do it using rsh.

Thanks all for the help.

regards.
2,567
Posted By frum
Hi RudiC, Thanks for the info. I had read...
Hi RudiC,

Thanks for the info. I had read about the public key authentication but I won't be able to do it as of now.
Is there some other way?

regards.
2,567
Posted By frum
Hi Vbe, Thanks lots for the help. ...
Hi Vbe,

Thanks lots for the help.

Indeed ssh seems to work fine.
Now, in the script how will I provide the root password when I do the ssh?

Secondly, how will I capture the value of the...
2,567
Posted By frum
Telnet and get process count
Hi guys,

I'm writing a script on a Solaris 10 server (server A) that needs to telnet 2 servers (server B & server C) and get a certain process count from these 2 servers.

Then on server A, I...
Forum: Solaris 02-13-2015
1,910
Posted By frum
Thanks Vbe and Jim for yr replies. I only...
Thanks Vbe and Jim for yr replies.

I only detected the problem a bit late.

Jim, can you please briefly interpret the output of (what do I need to look for) :
1) prtctl -i zone <zonename>

...
Forum: Solaris 02-12-2015
1,910
Posted By frum
Entire server unresponsive
Hi guys,

I have a SUN M5000 server running several Solaris zones (whole root). In all the zones, I have SAP systems running. Recently, one of the SAP systems got stuck (hanged), I suppose was a...
Forum: Solaris 08-06-2014
1,371
Posted By frum
Set script to run during specific times
Hi all,

I have this script which sends mail whenever the system is down. It works fine. Normally the system is down from 21 00 to 21 30 from Monday to Saturday and from 21 00 on Sunday to Monday...
Forum: Solaris 05-22-2014
3,598
Posted By frum
this is the df -h extract for the swap: ...
this is the df -h extract for the swap:


swap 99G 400K 99G 1% /etc/svc/volatile
fd 0K 0K 0K 0% /dev/fd
swap ...
Forum: Solaris 05-22-2014
3,598
Posted By frum
Page faults on OS
Hi guys,

I have a zone on a M5000 server running solaris 10. The zone has an SAP application running on it and facing some performance issues. As part of the troubleshooting, I've been recommended...
1,223
Posted By frum
Hi Ravinder, Thanks. It works fine now. ...
Hi Ravinder,

Thanks. It works fine now.

regards.
1,223
Posted By frum
[Solved] Error in script while counting processes
Hi all,

Below is a script I'm writing and giving me error:


#!/usr/bin/sh
if [ ps -ef|grep dw.sap|wc -l -gt 17 ]; then
echo "Success!"
else
echo "Failure!"
fi


Normally...
2,113
Posted By frum
hi RudiC, thnks. Your code works. I...
hi RudiC,

thnks.
Your code works.

I was also able to do it in a bit similar to yours:
#!/bin/sh
cd /path_to/dir1
for a in `ls *.xml`; do
if [ -f ../dir2/$a ]
then
echo $a >>...
2,113
Posted By frum
hi RudiC, thnks. The folders will not...
hi RudiC,

thnks.

The folders will not necessarily end up the same. I just want to take each file in dir1, check if it exists in dir2, if it exists, overwrite it by the file in dir1 and then...
2,113
Posted By frum
Compare files of 2 directories
Hi all,

I have 2 directories dir1 and dir2 which contains many xml files. I need to compare files of dir1 with that of dir2 and if they match, I need to cut it from dir1 and paste it in dir2. I...
Forum: Solaris 09-05-2013
859
Posted By frum
thanks bartus, indeed there are startup...
thanks bartus,

indeed there are startup scripts that is doing it.

thanks & regards
:)
Forum: Solaris 09-05-2013
859
Posted By frum
Help with IPs persisting after reboot
hi all,

I have a server on solaris 9 with 2 interfaces on which several vlan interfaces have been configured, for e.g bge102000. To make the VLAN IPs persist after reboots, normally under /etc,...
Forum: Solaris 08-16-2013
1,946
Posted By frum
Samba config for windows server
Hi all,

I'm using solaris 10 with latest patches applied. I'm using samba to make a directory called /dir1 available from a windows 2003 server.

If I do a 'Map network drive' on win 2003...
2,779
Posted By frum
Hi all, Thanks for your help. Below has...
Hi all,

Thanks for your help.

Below has worked for me:
su - oracle -c "echo 'shutdown immediate' | sqlplus '/ as sysdba' " >> ${log} 2>&1


The 2nd one didn't work but ok 1st one has...
2,779
Posted By frum
Hi, I tried your suggestion but still...
Hi,

I tried your suggestion but still doesn't work.

regards
2,779
Posted By frum
Startup and shutdown script
Hi all,

I'm writing a script to stop & start oracle:

su - oracle -c "sqlplus / as sysdba" -c "shutdown immediate">> ${log} 2>&1

The {log} refers to the log file. The part in bold gives...
Forum: Solaris 09-26-2012
1,731
Posted By frum
Error on installing locale
Hi guys,

I'm installing locale (en_US.UTF-8) from solaris 10 DVD as follows in a non-global zone:


localeadm -a nam -d /cdrom/sol_10_807_sparc/s0/Solaris_10/Product

It does install some...
Forum: Solaris 09-22-2012
6,681
Posted By frum
thanks for yr reply indeed the parameter is...
thanks for yr reply

indeed the parameter is obsolete and also this parameter used to be added to the /etc/system file. See link:
System V IPC Configuration (Solaris Tunable Parameters Reference...
Forum: Solaris 09-21-2012
6,681
Posted By frum
Setting kernel parameters in solaris 10
hi guys,

Prior to the installation of IBM DB2 database on Solaris 10, i need to set the following parameters:

kernel.shmmax (SHMMAX) 1 073 741 824 (64-bit kernel)
kernel.sem (SEMMNI) ...
4,469
Posted By frum
Thanks for the reply. I tried the first for...
Thanks for the reply.

I tried the first for loop, it's giving below error:
syntax error: `$' unexpected

I've been able to find the files which contain the 2 strings as follows:
find . -type...
4,469
Posted By frum
How to find multiple strings within files under a directory
Hi guys,

I need to find multiple strings within files under a directory and secondly, to count how many files are there with these strings.

At present, i am able to do this in order to find...
Showing results 1 to 25 of 27

 
All times are GMT -4. The time now is 03:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy