Sponsored Content
Operating Systems AIX migrating solaris DB servers to AIX - resources ? Post 302367858 by Padow on Tuesday 3rd of November 2009 04:26:40 PM
Old 11-03-2009
I'm in the midst of a similar project. I used the following script to determine shared memory usage on Solaris hosts for Sybase and Oracle. I ran this several times a day on each host, though the numbers really didn't change much. I found this to be much better than utilizing what the DB was configured to use, as this will show what the DB actually utilizes.

Code:
if ipcs -ma | grep sybase > /dev/null ; then
  echo Sybase
  ipcs -ma  | grep sybase | awk '{ T+=($10/1024/1024) } END { print T }'
elif ipcs -ma | grep oracle > /dev/null ; then
  echo Oracle
  ipcs -ma  | grep oracle | awk '{ T+=($10/1024/1024) } END { print T }'
fi

Padow
 

4 More Discussions You Might Find Interesting

1. AIX

Problem with migrating from AIX 5.1 to 5.3

I'am migrating from AIX 5.1 to 5.3 during migration installation a receive message enough space for dir /usr. My question is : how i can resolve this problem ? i can't reboot my server i hope that there is a command to obtain a spece without go out from installation procedure pannel... I'am... (0 Replies)
Discussion started by: tt155
0 Replies

2. Red Hat

RHCE Servers Online Learning Resources..

Anybody knows about any reliable source where i can study Linux servers while sitting at my home. A single bit of information in this regards will be highly appreciated. thanks :-) (3 Replies)
Discussion started by: salman103
3 Replies

3. AIX

AIX Servers Ugrading or Migrating

:( Hi Grue, I am very new in AIX/UNIX environment. Please give me answer that during the upgrading or Migrating to 6.1 the AIX Server the applications of this server is accessible to Apps users or not? Thanks (2 Replies)
Discussion started by: Tahniet
2 Replies

4. AIX

Upgrading to AIX 7 vs migrating

Hi all, I have this weird notion that upgrading the TL does not cause the machine to wipe, but upgrading a major version (from aix 6 to 7) means it's actually a fresh install and will wipe the date and i have to install the software again (TSM server, for instance). Trying to google it, i came... (3 Replies)
Discussion started by: tde3000
3 Replies
All times are GMT -4. The time now is 01:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy