Search Results

Search: Posts Made By: jerardfjay
Forum: AIX 05-19-2009
10,137
Posted By jerardfjay
Sorry thats what I had to begin with
Franklin,

Thanks for your response, however that does not work. Please see below.

/home/user1/a> ls -ltr
total 0
-rw-rw-rw- 1 abcedfg abcedfg 0 May 11 00:00...
Forum: AIX 05-19-2009
10,137
Posted By jerardfjay
Removing a filename which has special characters passed from a pipe with xargs
Hi,

On AIX 5200-07-00 I have a find command as following to delete files from a certain location that are more than 7 days old. I am being told that I cannot use -exec option to delete files from...
Forum: AIX 04-17-2009
2,814
Posted By jerardfjay
Efficient coding / Alternates for "For" loop
Hi,

I have the current script with the following code and it works ok.

for i in `find . -name "???ABCEDFGH*"`
do
SESS_NO=`echo $i | awk -F "." '{print $3}'`
rm -f...
Forum: AIX 02-18-2009
12,693
Posted By jerardfjay
Pludi, Thx for the response. Looks like...
Pludi,

Thx for the response. Looks like there could be a multitude of reasons as to why a kernel could generate this signal to a process based on the link.
Shoot, I was hoping it would be more...
Forum: AIX 02-18-2009
12,693
Posted By jerardfjay
process caught signal 5
Hello,

We are using AIX 5.2 ML 7.
One of the process in its log file said the following and stopped running.

Caught signal=5, exiting.

What would cause the signal 5 to be generated on an...
Forum: AIX 02-11-2009
24,965
Posted By jerardfjay
Another idea that is being thrown around is the...
Another idea that is being thrown around is the possible overrun of the heap memory. Since we have 32 OS and applications on this system, are there any known limits for this type of memory. Please...
Forum: AIX 02-09-2009
24,965
Posted By jerardfjay
Here is the output from the svmon command on our...
Here is the output from the svmon command on our box.

svmon -G
size inuse free pin virtual
memory 3670016 3411288 258728 222409 554969
pg...
Forum: AIX 02-09-2009
24,965
Posted By jerardfjay
Bakunin, I concur too. I am not sure what is...
Bakunin,

I concur too. I am not sure what is causing these errors and they seem to last for a couple of minutes and then they would not appear for the rest of the day. Then they would not occur...
Forum: AIX 02-05-2009
24,965
Posted By jerardfjay
not enough memory and too big errors
Neo,

It is very strange. The frequency of the memory errors are more when compared to the "too big" error. One of the items that IBM support asked us to increase for the "too big" error was the...
Forum: AIX 02-05-2009
24,965
Posted By jerardfjay
For instance I am posting the typical size of...
For instance I am posting the typical size of files that got the error on the "rm" command. These are not big at by any means.

-rw-rw-rw- 1 userid groupid 266 Feb 05 12:12...
Forum: AIX 02-05-2009
24,965
Posted By jerardfjay
"too big" and "not enough memory" errors in shell script
Hi,

This is odd, however here goes. There are several shell scripts that run in our production environment AIX 595 LPAR m/c, which has sufficient memory 14GB (physical memory) and horsepower...
51,930
Posted By jerardfjay
search and replace using awk with variables
vgersh99,

Thanks, knew it had to be a simple mistake. Thanks for pointing it out though.

Regards
Jerardjfjay
51,930
Posted By jerardfjay
search and replace using awk with variables
Hi,

I have been trying to use awk with variables that needs to search for a pattern and replace it with another pattern, the patterns are supplied in a variable. I have tried several different...
22,933
Posted By jerardfjay
ulimit nofiles
Hi,

We have an AIX system on oslevel 5.2 and we have the current limits set for the user "XXX"

time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1024000...
18,519
Posted By jerardfjay
Results of the timing for ksh -c and find with maxdepth command
Perderabo,

Here are the results of timing the ksh -c and ls -1 command.

time ksh -c "ls -1 *00abcdefg.Z"
ABC.00abcdefg.Z
AB.00abcdefg.Z


real 0m2.31s
user 0m0.87s
sys 0m1.03s...
18,519
Posted By jerardfjay
ls -1 wins
Looks like ls -1 is faster than find command.
Here are the results.

time ls -1 *.00abcdefg.Z
ABC.00abcdefg.Z
AB.00abcdefg.Z

real 0m2.05s
user 0m0.88s
sys 0m0.96s


time find...
18,519
Posted By jerardfjay
Fastest way to list a file in a folder containing 800,000 files using wildcard
Hi,

I have a directory with possibly around 800,000 files in it.
What is the fastest way to list file(s) in this directory with a wildcard.

for example would

ls -1 *.abcdefg.Z

or
...
7,462
Posted By jerardfjay
passing variable values to awk command
Hi,

I have a situation where I have to specify a different value to an awk command, I beleive i have the gist of this done, however I am not able to get this correct. Here is what I have so far
...
3,272
Posted By jerardfjay
One way
Jim,

Thanks. Works like a charm.

Regards,
Francis
3,272
Posted By jerardfjay
print or display certain number of file
Hi,

I am sure this is possible in awk or sed or a combination of the two.
Can someone help me determine the best way to display or print certain section of a file, ie only certain number of...
3,882
Posted By jerardfjay
AIX 5.2 using jfs2 file system
Thanks for your reply.

it is possible for a non-root user to mount and un-mount files systems.

More specific question.

Is it possible to turn on jfs2 fs which is extended jounalled file...
3,882
Posted By jerardfjay
AIX 5.2 using jfs2 file system
We are using AIX 5.2 using jfs2 almost all excpt one mount.

Is it possible for a non root user id to mount one file system without journaling turned on, perform some activities and then remount...
1,582
Posted By jerardfjay
Thanks
Thanks to everyone who suggested the -F option.
This works like a charm.
When I try the following option

grep "ABC\*XYZK" /xxx/temp/xxxx.lst

seems to return the pattern that I am searching...
1,582
Posted By jerardfjay
grep for a "*" pattern
Hello,

I am trying to look for a pattern as follows in a file

ABC*XYZK

inside of a file

The pattern is in a variable called Grp_pat

However when I run the following line inside the...
1,403
Posted By jerardfjay
temp solution
Here is what I have so far and it seems to work. I am sure there is a more elegant solution that someone can think of I could use the same.

awk '{if (length($8) < 4 && $8 != "AAA" && $8 != "BBB"...
Showing results 1 to 25 of 146

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