The useful blog
Wednesday, June 30, 2010
Joining Lines
›
This is a handy way to join text on seperate lines:- $ srvctl config DZHRAC10 DZHRAC20 DZHRAC30 DZHRON10 DZHRON20 $ srvctl config awk '...
11 comments:
Tuesday, June 29, 2010
The number of virtual CPU's in a Solaris Server
›
A colleague asked me this question, after a read of the man page for psrinfo, came up with the following commands. The -p gives a count and...
Tuesday, June 22, 2010
Finding process syscalls and times
›
$ ./procsystime -eT find /cs/oracle/product -name orapwDZHRAC10 -ls 124566 1 lrwxrwxrwx 1 oracle oinstall 38 Jun 7 09:39 /cs/o...
Friday, May 14, 2010
My 1st Dtrace script!
›
Dtracing the oracle user to see what whacky commands it lauches at crsctl stop/start: argsnoop.d --> #!/usr/bin/sh /usr/sbin/dtrace -wn &...
Wednesday, July 01, 2009
Calculating the size of an object
›
really easy: select segment_name, segment_type, bytes/1024/1024 as "MEGABYTES" from dba_segments where owner = 'SIEBEL' an...
1 comment:
Friday, June 19, 2009
Logon Trigger Trace
›
Generate 10046 level 12 traces when you can't do them in session with: DROP TRIGGER SYS.ON_LOGON_TRACE; CREATE OR REPLACE TRIGGER SYS.ON...
1 comment:
Thursday, June 18, 2009
Generating CPU activity
›
sometimes you might want to generate some cpu activity, to maybe test a new CPU or check performance scripts etc. On the command line: while...
1 comment:
›
Home
View web version