martes, 28 de abril de 2015

Linux Command guide 1

Command:
ps -ef |grep odi117

This command shows all the processes currently running for the specified group


Command:

crontab -L

This command shows all the programming for crontab.


miércoles, 15 de abril de 2015

Diagramming Tool XMIND

During my most recent project I have been in charge of generating and validating documentation and so I came across this very useful tool XMIND for generating diagrams, Organizational charts, flow charts amongst other. I want to document this because despite working in this kind of projects this is the first time I come across this nice useful program.

It has a free edition that has all the core elements required but if you wish extra functionality it also has some pro editions with extra stuff.


Here´s the link to their website:

http://www.xmind.net/download/win/

Using RMAN to delete Archivelog files in Oracle 11g

The following process is very useful when you're working with express Oracle database version, due to the limited size for log archives in this versions when you reach the limit the listener service will continue to operate correctly but the databases won't be able to start.

Entering RMAN and cleaning all the log archives:

1.- Open RMAN tool from CMD, you just need to execute the instruction rman without moving to any directory:

2.-Login to your database:

CONNECT TARGET /

Using this command you login using windows authentication.
3.- View the archive log files:

RMAN>list archivelog all;
RMAN>list copy of archivelog until time ‘SYSDATE-10′;
RMAN>list copy of archivelog from time ‘SYSDATE-10′
RMAN>list copy of archivelog from time ‘SYSDATE-10′ until time ‘SYSDATE-2′;
RMAN>list copy of archivelog from sequence 1000;
RMAN>list copy of archivelog until sequence 1500;
RMAN>list copy of archivelog from sequence 1000 until sequence 1500;

4.- Delete the archive log files:

RMAN>delete archivelog all;
RMAN>delete archivelog until time ‘SYSDATE-10′;
RMAN>delete archivelog from time ‘SYSDATE-10′
RMAN>delete archivelog from time ‘SYSDATE-10′ until time ‘SYSDATE-2′;
RMAN>delete archivelog from sequence 1000;
RMAN>delete archivelog until sequence 1500;
RMAN>delete archivelog from sequence 1000 until sequence 1500;