Search Results

Search: Posts Made By: redstone
Forum: Solaris 03-21-2012
2,259
Posted By redstone
Oh. Didn't know about code tag. thanks... it...
Oh. Didn't know about code tag. thanks... it looks much better.
Forum: Solaris 03-20-2012
2,259
Posted By redstone
Let me describe more detail on my server in order...
Let me describe more detail on my server in order for better understanding.

This is one of the DB node in Oracle RAC which is an guest domains.

20G of physical memory is allocated to this...
Forum: Solaris 03-19-2012
2,259
Posted By redstone
Swap puzzle
I'm getting confused by swap
# swap -l
swapfile dev swaplo blocks free
/dev/zvol/dsk/rpool/swap 256,2 16 16777200 16777200
/dev/zvol/dsk/swappool/swap2 256,1 16 50331632...
Forum: Solaris 11-27-2009
14,058
Posted By redstone
checksum
Anyone can tell me the different between "cksum" and "sum" command on Solaris? I read the man pages but still not get it.

And how to display the md5 checksum for a file.

Thanks,
Forum: AIX 09-04-2009
6,312
Posted By redstone
Thanks
That's exactly the case. I was thinking the script was not applicable on my box. Just not sure how to confirm if there is any SSA device.

Thanks a lot.
Forum: AIX 09-03-2009
6,312
Posted By redstone
ssa_speed script in cron
I'm getting cron job failed message in cron log for this cron job on all my AIX boxes.

30 4 * * * /usr/lpp/diagnostics/bin/run_ssa_link_speed 1>/dev/null 2>/dev/null

No further information...
3,286
Posted By redstone
you're the man! That's why I like UNIX. There...
you're the man!
That's why I like UNIX. There are always something new for me.
3,286
Posted By redstone
Oh. Silly me! I have been using grep for such a...
Oh. Silly me! I have been using grep for such a long time but never known -f option.
Just tried it on solairs box. Figured -f is only valid for /usr/xpg4/bin/grep, but not /usr/bin/grep. Do you know...
3,286
Posted By redstone
Use loop in sed or awk?
I know a little bit of sed and awk, but not too much. can loop be done in sed.
Baiscally what I want is:
file1:
aaa 111
bbb 222
ccc 333
ddd 444
eee 555
fff 666...
2,034
Posted By redstone
No, that's why I'm posting here. If you take look...
No, that's why I'm posting here. If you take look any commercial scripts, you will see that a lot in while, if statements.
2,034
Posted By redstone
I guess there must be a reason since it exists on...
I guess there must be a reason since it exists on lots of the scripts. But I never used that.
2,034
Posted By redstone
Shell syntax
I'm having simple question here, [ "${OS}"x = "SunOS"x ] and [ "${OS}" = "SunOS" ] what's the different here? What is the "x" for? Thanks!
2,068
Posted By redstone
Haha, I figured myself. A=`echo e1000g0 |...
Haha, I figured myself. A=`echo e1000g0 | sed 's/\(.*[a-zA-Z]\)\([0-9]*\)/\1/'` or A=`echo e1000g0 | sed 's/[0-9][0-9]*$//g'` B=`echo e1000g0 | sed 's/\(.*[a-zA-Z]\)\([0-9]*\)/\2/'`
2,068
Posted By redstone
That works for A. How about B variable? How...
That works for A.
How about B variable? How can I cut "e1000g" out and only leave the last number or numbers to B? And I do need it work for bge0 as well.

Thanks!
2,068
Posted By redstone
need help on sed
I need sed expert help here

A=`echo $INTERFACE| sed -e 's/[0-9]//g'`
B=`echo $INTERFACE | sed -e 's/[a-z]//g'`

If $INTERFACE is bge0, ce1, qfe2, the script above works just file. It will...
Showing results 1 to 15 of 15

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