Search Results

Search: Posts Made By: fara_aris
7,337
Posted By fara_aris
and to bakunin, broli and vidyadhar85, thank...
and to bakunin, broli and vidyadhar85,
thank you as well :)
7,337
Posted By fara_aris
Annihilannic, it's working! :) sorry i was...
Annihilannic,
it's working! :)

sorry i was not aware of the correct output since those were the output files that i was given. i'm more on aix, and this one is for hp-ux..

thank you very much...
7,337
Posted By fara_aris
Annihilannic, thanks for your help.. from the...
Annihilannic,
thanks for your help.. from the output.out, only current disk % is displayed, there's no output for CPU and Mem..

[UXHUBT01:fara]/home/support/fara#pg output.out
UXHUBK01 Current...
7,337
Posted By fara_aris
vidyadhar85, this is only half of it.. ...
vidyadhar85,
this is only half of it..

B3692A GlancePlus C.03.72.00 15:02:45 UXHUBK01 9000/800 Current Avg High...
7,337
Posted By fara_aris
i've tried both methods; 1) ...
i've tried both methods;

1)
[UXHUBT01:fara]/home/support/fara#cat test3.sh
awk '
/home/support/fara/output.out
/B3692A/ { print $5, $7; getline; print }
...
7,337
Posted By fara_aris
broli, i don't understand what you mean.....
broli,
i don't understand what you mean.. kindly explain..

thanks :)
7,337
Posted By fara_aris
bakunin, i've managed to get the output that i...
bakunin,
i've managed to get the output that i desired using the script that you've given, but now i'm facing another problem. the output file (/some/file) is not static, it has more output, because...
7,337
Posted By fara_aris
Hi bakunin, I've tested the script, and this is...
Hi bakunin,
I've tested the script, and this is the output that I received;

B3692A GlancePlus C.03.72.00 08:19:46 UXAMSK01 9000/800 Current Avg High


I want the output to be like this;...
7,337
Posted By fara_aris
script to capture certain output
Hi All,
I want to create a script that capture only Date & Time, Current CPU % usage, Disk % usage, Mem % usage and Top process based on this output;

Data Collected: 05/17/08 17:19:49
...
Forum: AIX 07-01-2008
13,603
Posted By fara_aris
i renamed resolv.conf, and managed to telnet but...
i renamed resolv.conf, and managed to telnet but when the users tried to access another lpar that retrieved data from the problematic lpar (informix database), they were not able to see any of the...
Forum: AIX 06-30-2008
13,603
Posted By fara_aris
telnet hangs
Hi All,
When I tried to telnet to lparB from lparA, it hangs at "Escape character is..".

I've tried;
- killed -15 [PID inetd]
- re-started it
- edit netsvc.conf, hosts=local,bind and...
1,763
Posted By fara_aris
spirtle, I tried with single process first; ...
spirtle,

I tried with single process first;
root@axdevt01::/tmp/fara/script> cat grep2.sh
#process=df
process=server1
ps -ef | grep $process | grep -v grep > /dev/null
if [ $? -eq 0 ]
then...
1,763
Posted By fara_aris
script to list out the output in one paragraph
Hi All,
I want to run 5 `ps -ef | grep [process]` cmds in one script and i want the script to give me return code 0 if everything is OK. If it notices one of the processes is not there, it will...
5
awk
1,907
Posted By fara_aris
thanks all :)
thanks all :)
5
awk
1,907
Posted By fara_aris
benitdhotekar, thanks! :)
benitdhotekar,
thanks!
:)
5
awk
1,907
Posted By fara_aris
awk
Hi All,
How can I modify this cmd to capture filesystems that are more than 80% usage?

df -g | grep '^/dev' | awk 'BEGIN { getline } ??? {print $7, "\tFILESYSTEM MORE THAN 80%!!"}'

Thank you.
Forum: AIX 06-11-2008
38,694
Posted By fara_aris
it works, thanks omiwomy :)
it works, thanks omiwomy :)
Forum: AIX 06-11-2008
38,694
Posted By fara_aris
ls + awk + grep
Hi All,
I ran this command,
root::> ls -lrt *filename* | awk '{print $5}'

and this is the output that I received,
249
1221
681
141
357
681
0
0
0
0
0
0
0
0
0
Forum: AIX 06-03-2008
12,636
Posted By fara_aris
cero, johnf, thanks!! :)
cero, johnf,
thanks!! :)
Forum: AIX 06-03-2008
12,636
Posted By fara_aris
johnf, nmon.log; root@axappk01::/tmp/nmon>...
johnf,

nmon.log;
root@axappk01::/tmp/nmon> more nmon.log
sh: /tmp/nmon_aix53: not found.
root@axappk01::/tmp/nmon>

manual run;
root@axappk01::/> /tmp/nmon_aix53 -fT -s 300 -c 144
ksh:...
Forum: AIX 06-03-2008
12,636
Posted By fara_aris
crontab-nmon not working
hi,
my cron is not working;
30 7 * * * /tmp/nmon_aix53 -fT -s 300 -c 144 >> /tmp/nmon/nmon.log 2>&1

basically, i want to run nmon everyday at 7.30am.

pls help.

thanks..
Forum: AIX 05-28-2008
15,033
Posted By fara_aris
Hello, I was also not able to use vi, and when...
Hello,
I was also not able to use vi, and when I tried to telnet to the lpar, I received this error;
"cannot write to /var/adm/wtmp", but I managed to login.

I was not able to write to wtmp, and...
Forum: AIX 05-28-2008
15,033
Posted By fara_aris
Zaxxon, The file size is 1MB; ...
Zaxxon,
The file size is 1MB;
root@axappk01::/test_tmp> du -m /var/adm/ras/errlog
1.00 /var/adm/ras/errlog

root@axappk01::/test_tmp> errpt | pg
pg: 0652-122 Cannot write to the temporary...
Forum: AIX 05-28-2008
15,033
Posted By fara_aris
error : pg: 0652-122 Cannot write to the temporary file
Hi All,
I'm getting this error when I use "pg".

/tmp is not full and the permission is correct.

root@axappk01::/home> hostname|pg
pg: 0652-122 Cannot write to the temporary file.

Please...
5,273
Posted By fara_aris
Script to capture new lines in a file and copy it to new file
Hi All,
I have a file that gives me new line/output every 5 minutes. I need to create a script that capture new line/output besides "IN CRON_STATUS", in this case the new output is "begin ------...
Showing results 1 to 25 of 27

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