Jul
30
2010
0

memory utilization information

You can use this kludgey command (support actually gave it to me) to get all sorts of memory information:

# echo vmstat | kbd > vmstat_info.txt

grep for stuff like 4K to see if you have overtaxed your vio server memory.

Written by admin in: Memory |
Jul
28
2010
0

Reporting Packages

Is it possible for a reporting solution to both ‘look’ sufficiently effective to be purchased by the average IT department and ‘be’ sufficiently effective to accomplish anything of value? This is the real question and it seems sad that solutions may have to either pick one side or the other.

Written by admin in: Uncategorized |
Jul
12
2010
0

Find the problem with the oracle code

This shows queries that use signifantly greater cycles (and thus are a little suspicious):

select substr(sql_text,1,90),cpu_time from v$sql order by cpu_time;

Written by admin in: Uncategorized | Tags:
May
24
2010
3

Don’t try this as root

Contexts of a tiny script that you should never run:

cp $0 $$ # Make a copy of yourself
sh $$ & # Run the copy in the background
sh $0 & # Rerun a new version of yourself in the background

This will probably take over your server or at least use up all of the filesystem pointers in its filesytem. In a minute or so you would have thousands of these running and doubling each generation.

This does demonstrate an interesting version of ‘the game of life’. If the copy (cp) could be a little less reliable and the whole thing could work in a few messed up ways, this could actually evolve into some other different tiny script.

Self-reference is always fun times.

Written by admin in: Korn Shell |
May
20
2010
0
May
17
2010
0
May
11
2010
0

customize bash command completion

I have been playing around with some environmental elements of the shell and began mocking up completions for myself by going into a special directory that had sub-directories named what I needed for my TAB completion.  It turns out that with bash it is quite a bit easier and cooler than this.

http://www.debian-administration.org/article/An_introduction_to_bash_completion_part_1

Written by admin in: Linux |
May
07
2010
0

NIM / NFS issues can be simpler than you think

We were stumbling around trying to figure out why NIM wasn’t working when we realized that the issue was with /etc/netsvcs.conf.  We needed to set: hosts=local4,bind4

This got unset because we made the mistake of using our admin sandbox as the same machine as our NIM server.

Written by admin in: NIM |
Apr
20
2010
0

MLM Scam: narcthatcar.com

This is the scam.com discussion of a MLM scheme which involves writing down license plate numbers.

Written by admin in: Coffee |
Apr
14
2010
0

topas CEC cross partition mode

http://www.ibm.com/developerworks/wikis/display/WikiPtype/topas_cec

To get this cross-partition monitoring to work, make sure you enable monitoring through the HMC at the partition level.  Look at Partition Properties/Hardware and check:

Written by admin in: HMC |

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes