Search Results

Search: Posts Made By: Beginer0705
Forum: Red Hat 03-26-2011
2,291
Posted By Beginer0705
Recommended Linux books
Hi All,

What books do you recomend to have for quick reference in regarding to Linux administration and performance monitoring?

Thanks for your insight.
1,448
Posted By Beginer0705
Thanks guys. It works perfectly!
Thanks guys. It works perfectly!
1,448
Posted By Beginer0705
Need assistance with a simple script
I have a simple script. Do you know what I got this error?

./total_memory.ksh: line 5: [: missing `]'

Thanks

#! /bin/bash
setmem=30177660
totalMemory= grep MemTotal /proc/meminfo | awk...
Forum: AIX 02-04-2011
22,031
Posted By Beginer0705
This is when RMAN or export data pump running. I...
This is when RMAN or export data pump running. I notice that fi/fo and the ratio sr:fr are higher than 4:1.



kthr memory page faults...
Forum: AIX 02-01-2011
22,031
Posted By Beginer0705
Thanks zxmaus. We are running 5.3 TL 9 and...
Thanks zxmaus. We are running 5.3 TL 9 and Oracle 10.2.0.4.

Are there additional OS tuning opportunities do we need to do?

kthr memory page ...
Forum: AIX 01-31-2011
22,031
Posted By Beginer0705
It's an Oracle ASM enviornment. It has 15.5GB of...
It's an Oracle ASM enviornment. It has 15.5GB of RAM where SGA is taking 9GB out of that. The Oracle DBA suggests to set lock_sga=TRUE, and there is additional settings from AIX side but I'm not...
Forum: AIX 01-30-2011
22,031
Posted By Beginer0705
fr and sr (from vmstat output) values are very high
Hi AIX Expert,

the fr (page freed/page replacement) and sr (pages scanned by page-replacement algorithm) values from the vmstat output (see below please) are very high. I usually see this high...
Forum: AIX 12-02-2010
23,182
Posted By Beginer0705
How much memory for each process running on AIX?
I'm trying to figure how much memory per process is using?
I think it's the TRS column x 4k (127800 x 4).
Am I right? Any advice is greatly appreciated.


PID TTY STAT TIME PGIN SIZE RSS...
Forum: AIX 10-01-2010
2,513
Posted By Beginer0705
PagingSpace
Hi,

From the nmon, what is the PageSpace %used ?

Also I see Page Faults value are high. Is this mean the system is having memory constraints?


vmstat -v
3948544 memory pages...
2,546
Posted By Beginer0705
I need to count ora_psp0_AAA, ora_ckpt_AAA , and...
I need to count ora_psp0_AAA, ora_ckpt_AAA , and oracleAAA as AAA.

---------- Post updated at 12:57 PM ---------- Previous update was at 12:45 PM ----------

This code works for me. Thanks...
2,546
Posted By Beginer0705
Sorry for not being clear. And thanks for your...
Sorry for not being clear. And thanks for your response..

Here is the output from the system

oracle 1822968 1 0 Sep 01 - 0:00 oracleAAA (LOCAL=NO)
oracle 1826878 1 ...
2,546
Posted By Beginer0705
Output: === AAA: BBB: CCC: DDD: ...
Output:
===
AAA:
BBB:
CCC:
DDD:
EEE:

Desired Output (including wc -l). AAA has 100 lines, BBB has 201 lines, and so on..
===========
AAA: 100
BBB: 201
CCC: 137
DDD: 32
EEE: 55
...
2,546
Posted By Beginer0705
Counting lines for each application
Hi All,

I have a output that suppose to be like this (see below please)

App : Line counts
=== ==================
AAA: 100
BBB: 201
CCC: 137
DDD: 32
EEE: 55



for i in `ps...
Forum: Linux 05-27-2010
11,659
Posted By Beginer0705
SSH user equivalency still prompt for password
Hi All,

I've followed the exact same steps of how to setup and enable SSH user equivalent including the right permission, but when I "ssh" it still prompts for password. Could you help to see...
2,067
Posted By Beginer0705
Thanks for repsonding. But it still doens't...
Thanks for repsonding.

But it still doens't quite working. The code to get rid of the number is ..

sed 's/^\s*[0-6]\+//' myfile

but myfile still shows the numbers..

1 create view...
2,067
Posted By Beginer0705
remove the numbers
How can I remove the numeric (1,2,3,4,5,etc.) in front of each line? The file look like this..

1CREATE OR REPLACE pROD (p_sc_id number,
2 p_snap_id number , p_sid number, p_halt...
3,617
Posted By Beginer0705
Awesome! Thanks a lot, peterro
Awesome!

Thanks a lot, peterro
3,617
Posted By Beginer0705
for i in `lspv | awk '{print $1}` ...
for i in `lspv | awk '{print $1}`
do
print $i
lsattr -El $i | grep queue_depth | awk '{print $1 ":" $2}'
done

The output looks like this

hdisk0
queue_depth:3
hdisk1...
3,617
Posted By Beginer0705
Join the lines
Hi All,

Currently, the output looks like this:

hdisk0
queue_depth:3
hdisk1
queue_depth:3
hdisk2
queue_depth:1
hdisk3
queue_depth:1



I need to change the format to look like...
9,857
Posted By Beginer0705
Thanks so much for your help. The syntax works...
Thanks so much for your help. The syntax works well!!!
9,857
Posted By Beginer0705
copy files from remote server (B) to target server (A)?
Hi All,

what is the comand to log off the remote server?

I have 2 servers A, B. I need to find all files older than 7 days on server B and copy over to server A. My logic is:


login the...
3,351
Posted By Beginer0705
vidyadhar85, Perfect. This is the code I...
vidyadhar85,

Perfect. This is the code I need.

Thank you!!!
3,351
Posted By Beginer0705
I need to get **a group of latest files** based...
I need to get **a group of latest files** based on date.

Thanks for responding.

---------- Post updated at 02:45 PM ---------- Previous update was at 02:41 PM ----------

For example, I need...
3,351
Posted By Beginer0705
Get the newest files based on date
Hello friends,
I'm learning to script, and I need help.

How can I get the latest/newest files based on date? the format is as following:

Feb 07 19:25 TESTPWD_file_1vk6pn40_19519_1
Feb 07...
Showing results 1 to 24 of 24

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