Search Results

Search: Posts Made By: firdousamir
107,503
Posted By firdousamir
For informational purpose for AIX users ...
For informational purpose for AIX users

istat <filename> returns following result

Inode 1784 on device 10/4 File
Protection: rw-r--r--
Owner: 0(root) Group: 0(system)
Link...
Forum: AIX 10-05-2008
26,883
Posted By firdousamir
xlC will be already there in the AIX. Do ...
xlC will be already there in the AIX.

Do

lslpp -l | grep xlC

And see what you get.

You probably need to set PATH of xlC so that compiler where the lib is located.
Forum: AIX 09-12-2008
18,151
Posted By firdousamir
There could be some program/script accessing this...
There could be some program/script accessing this account using a wrong password... It will increase the failed login counts and the account gets locked out
Forum: AIX 09-12-2008
9,784
Posted By firdousamir
As a quick solution, do $ TMOUT= After you...
As a quick solution, do
$ TMOUT=

After you log in

Or add this into your .profile
Forum: AIX 08-18-2008
7,650
Posted By firdousamir
Ask your system administrator if there SSH...
Ask your system administrator if there SSH enabled in server. If it is enabled you can use a SSH client PuTTy and connect to the server.

If SSH is not availabled, then the telnet should be...
Forum: AIX 08-18-2008
7,650
Posted By firdousamir
May be ssh is not enabled in the server... may be...
May be ssh is not enabled in the server... may be only the telnet.. is port 23 working? telnet host
Forum: AIX 08-15-2008
3,366
Posted By firdousamir
Checked with IBM. It's not a good idea.
Checked with IBM. It's not a good idea.
Forum: AIX 08-14-2008
3,366
Posted By firdousamir
Multiple xlC on the same LPAR
Guys,

Is it possible to install two different xlC runtimes on the same LPAR.

I have to run DB2 9.5 and an application in the same LPAR. DB2 9.5 requires xlC 9 but the application will only run...
Forum: AIX 07-15-2008
2,283
Posted By firdousamir
Your question doesn't say anything about what you...
Your question doesn't say anything about what you exactly doing... You need to be specific in asking questions...

"Couldn't load SO" means one/some of the libraries reuired by you "some"...
Forum: AIX 07-15-2008
7,080
Posted By firdousamir
Try nmon and capture the system stats using it....
Try nmon and capture the system stats using it. It provides very detailed and Excel Ready log files. Get a baseline of your first.

NMON will have Processor, memory, disk, IO and almost everything...
Forum: AIX 07-11-2008
11,491
Posted By firdousamir
I had this problem before, I remember. And yes,...
I had this problem before, I remember. And yes, this is the way you fix it basically...

Fault Monitor processes is not required in normal cases. you can disable fm as the method specified in this...
Forum: AIX 07-10-2008
11,491
Posted By firdousamir
It's your LDAP DB2 instance is using so much.....
It's your LDAP DB2 instance is using so much.. thats kind of strange... hw many DB instances you have? You can use:

$DB2_INSTALL_DIR/instance/db2ilist

to find the instances..

How many db2...
4,046
Posted By firdousamir
Thanks for the points and really good. I think I...
Thanks for the points and really good. I think I need to go back to Application Developers to see if they can rotate the logs cleanly...

The approach you had mentioned (using the crontab) is...
4,046
Posted By firdousamir
Thanks for response. Expand FS means...
Thanks for response.

Expand FS means increasing the size of the mount?

Any idea why the log file size becomes 0 immediately I executed ">" operation ($ > a.log) and the file size resets to...
4,046
Posted By firdousamir
Trying to empty file using > but the file size increasing when next append
AIX 5.3 / KSH

I have a Java application which creates a log file a.log. I have a KSH script which does the following action


cp a.log /directory2/b.log
> a.log


After this the file size...
3,005
Posted By firdousamir
100% agreeing to it. This is like a legacy...
100% agreeing to it. This is like a legacy application running in production and don't have a way to alter it. Otherwise I would prefer a log rotation kind of mechanism which creates new log file...
3,005
Posted By firdousamir
Age 79/Helper, Thanks for response. Both the...
Age 79/Helper, Thanks for response. Both the ideas suggested gone in my mind already, especially the Age79 approach.

However, what I'm concerned is that If I do

mv $i
touch $i

This may have...
3,005
Posted By firdousamir
Archive large debug files without cp
Need some fine tuning advice:

I have a KSH programs croned to execute once a day. Which basically does the following simple operation:

for i in `ls`
do
cp $i $i.backup
>$i
gzip $i.backup...
Forum: IP Networking 11-09-2007
16,147
Posted By firdousamir
Squid Proxy URL rewriting
I have an architecture as below

<> [Firewall] <> [Proxy server running squid]

There is a program in the AIX server which sends SMS to the internet, by sending HTTP request to the SMS...
107,503
Posted By firdousamir
ls -l --full-time is not working however. Is...
ls -l --full-time is not working however. Is the precision configurable? I mean somewhere in the /etc ?
107,503
Posted By firdousamir
Command to get File Timestamp including seconds [Aix 5.3]
Is there a command (like ls -l) to get the file time stamp including seconds? The ls -l gives only the HH:MM, No SS

I don't have a C compiler to call stat()
I don't a command like stat too.
...
72,567
Posted By firdousamir
echo $string1 | grep -c $string2
echo $string1 | grep -c $string2
18,920
Posted By firdousamir
You mean you are copying outputs from the screen...
You mean you are copying outputs from the screen to an excel file?

You can format your outputs in CSV format (like lorcan suggested) and redirect the script out to a file say,

$ sh...
14,326
Posted By firdousamir
Thanks all. I got the stuff worked. This was...
Thanks all.

I got the stuff worked. This was my first posting in unix.com. I just loved you people.

Thanks again.
14,326
Posted By firdousamir
[grep awk cut] > awk
Hi, I'm very new to scripting.


grep $s $filename | awk '{print $2}' | cut -c 1-8

How can I optimize this using a single awk?

I tried:
awk '/$s/ {print $2}' $filename | cut -c 1-8
...
Showing results 1 to 25 of 25

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