Search Results

Search: Posts Made By: elmesy
1,178
Posted By elmesy
Much appreciated all.
Much appreciated all.
1,178
Posted By elmesy
If statement
Hi,

I'm looking for some help with an if statement as below, which I'm struggling to get working in one statement.


if [ ${d1arc} -eq 0 ] -a [ ${d1} -eq 0 ] || [ ${d2} -eq 0 ] -a [ ${d2arc}...
23,260
Posted By elmesy
Cheers chaps will give your suggesstions ago. ...
Cheers chaps will give your suggesstions ago.

I ended up using the following

while read name
do
awk '$1 ~ '$name'' file.2| awk '{print $NF, $4}' >> file.3
done < file.1

Thanks again...
23,260
Posted By elmesy
read a file for input and grep in another file
Hi,

I'm trying to read a fille into a loop and grep for a string and print the last field of the string in the second file. Then redirect the output to another file but keeping the output in the...
Forum: AIX 11-14-2011
3,876
Posted By elmesy
Thanks that would explian it then, is there a...
Thanks that would explian it then, is there a command that I can use which would show the current CPU consumed?
Forum: AIX 11-14-2011
3,876
Posted By elmesy
Aix process CPU differences.
Hi,

I'm trying to create a script to catch a process which is consuming high CPU which I have pretty much done but it's just finding the correct place to pull the current CPU for that process.
...
7,572
Posted By elmesy
Many thanks, thats done the business!
Many thanks, thats done the business!
7,572
Posted By elmesy
Aix .ksh for loop script.
Hi,

I'm trying to write a for loop to run through a list of servers and for each server copy a file to a backup file. But I can't seem to get it to run through my server list. It work for...
Forum: AIX 01-31-2011
17,340
Posted By elmesy
The cluster has already been setup and has been...
The cluster has already been setup and has been working fine up until I had the errors on the weekend trying to move the resource group online on another node.
Forum: AIX 01-31-2011
17,340
Posted By elmesy
VG listsing as requested. lsvg xxx02vg ...
VG listsing as requested.

lsvg xxx02vg
VOLUME GROUP: xxx02vg VG IDENTIFIER: 00c58aa200004c0000000124fdaf434a
VG STATE: active PP SIZE: 32 megabyte(s)
VG...
Forum: AIX 01-27-2011
17,340
Posted By elmesy
Hi, I have checked the lun's reserve policy...
Hi,

I have checked the lun's reserve policy and they are set to no_reserve

When checking the VG's there is no field for concurrent or VG mode so maybe this in a different release of HACMP?
...
Forum: AIX 01-26-2011
17,340
Posted By elmesy
Thanks for the help will have to give this a try...
Thanks for the help will have to give this a try on the weekend as it's production.
Forum: AIX 01-26-2011
17,340
Posted By elmesy
Thanks for the response, so If I carry out the...
Thanks for the response, so If I carry out the following you will have to bare with me as I've not been using HACMP for long.
1. Disbale moniotoring on resource group then shutdown apps using...
Forum: AIX 01-25-2011
17,340
Posted By elmesy
HACMP resource group State not STABLE
Hi,

Not sure if this is the correct forum to post this on but maybe a mod could move it if not.

When trying to move a HACMP resource group between lpars on AIX I receive the following.
...
Forum: AIX 04-07-2010
3,675
Posted By elmesy
Cheers for the quick response. As you can...
Cheers for the quick response.

As you can probably tell i'm abit of a newbie to scriptng. After changing the shell to "#!/usr/bin/ksh it started to fail again when running interactively. It came...
Forum: AIX 03-31-2010
3,675
Posted By elmesy
Aix shell script question
Hi,

When I run the following script from a shell it works fine as root. But when I try to run from cron as root it fails everytime? I set the scripts I run in cron to send me the output if they...
Forum: AIX 02-10-2010
3,519
Posted By elmesy
modcrypt.base fileset on Aix 5.3
Hi,

Looking for some help downloading the modcrypt.base fileset

Checking on google I think modcrypt.base is part of the Aix 5.3 expansion pack Cryptographic Library V5.2 and 5.3. I have...
3,150
Posted By elmesy
Cheers for the reply, what i'm looking for is to...
Cheers for the reply, what i'm looking for is to make sure the the alert i'm sending an email for has just happend which is why I wanted to try use the $DATE1 = Nov 4 11:29 which is the same format...
3,150
Posted By elmesy
Logfile monitor script
Hi,

I'm trying to write a logfile monitor script that reads the logfile and then emails out once there is an error with SQL in. Here is my attempt below which does not work. I'm not much of a...
Forum: AIX 06-30-2009
16,822
Posted By elmesy
Thanks for the replies, I have just gone with...
Thanks for the replies, I have just gone with this for now.

HOSTNM=`hostname`
DATE=$(date +"%d-%b-%y %H:%M")
SHORTNAME="FileSystem Mount"
LONGNAME="Filesystem Test"

#Checking Filesytem...
Forum: AIX 06-30-2009
16,822
Posted By elmesy
NFS mount point monitoring script
Hi,

I'm looking to create a NFS mount point monitoring shell script not sure if im going the right way about it so could do with some help. What i was thinking of doing was using the below...
Forum: AIX 05-05-2009
5,016
Posted By elmesy
Aix permissions changes log
Hi,

Just wondered if there is a logfile that keeps track of all permission changes that have been made and by whom?

Thanks,

Matt.
Forum: AIX 05-05-2009
11,032
Posted By elmesy
Yes just the file being rotated, I just need it...
Yes just the file being rotated, I just need it to be read to other when it's rotated. But i'm not sure where this can be setup as it's done by root under syslog. Not sure I want to change the...
Forum: AIX 04-28-2009
11,032
Posted By elmesy
syslog file permission
Hi,

I have setup syslog.conf to rotate and compress a messages file but the only problem is when it creates the new log file it creates it with the following permissions -rw-r-----. I just...
Forum: AIX 03-19-2009
5,822
Posted By elmesy
Cheers for that looks like there was a problem...
Cheers for that looks like there was a problem with the test script i was tring to execute.
Showing results 1 to 25 of 28

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