top-image

Archives for Unix

Oracle, Unix, Windows : Examples of SQL, SH and BAT scripts
Hello, In this post, I would like to keep in my "knowledge base" 2 examples of scripts : SHELLSCRIPT + SQL and SQL + BATCH.   Example 1 : SHELLSCRIPT + SQL : Export data to CSV file Creation of a SHELLSCRIPT script ex1_launcher_script.sh which is the launcher of a SQL script ex1_processing_script.sql. This SH script takes 2 parameters: the output CSV file ...more»
Unix : state of memory command free
Hi, In order to avoid the problem epxlaind in the post http://www.javablog.fr/java-outofmemoryerror-and-memory-checker.html, there is an useful unix command free -tm: The values ​​are in MB, Mem is the actual RAM, Swap (specific to Unix) only serves to supplement the RAM (That is the ROM which serves RAM when needed). myAccount@javablogServer:~> free -tm ...more»
Unix : Some useful commands (archive, zip, tar…)
Hi, I continue with Unix commands concerning archiving ZIP, TAR...etc. First, we list the content of current folder /opt/tomcat/webapps/host-manager: Archive a folder in TAR.GZ Check the content in TAR.GZ archive Unarchive a TAR.GZ archive in a folder Archive each element (subfolder, file) of root folder in TAR.GZ In this example, we will create a TAR.GZ archive for each element (folder or file) contained in a root folder. ...more»
Unix : Some useful commands (tomcat, log…)
Hi, In this article, I propose you some useful Unix commands relative to Tomcat. Delete the Tomcat log without restart It's possible to empty the Tomcat log wihout restart it: Restart Tomcat First, it is necessary to do a sudo in order to run programs with the security privileges of superuser: ...try to stop the server: ....but if this command doesn't done and returns an error : ...more»
Page 1 of 2:1 2 »
bottom-img
Copyright ® 2012 Huseyin Ozveren. No reproduction, even partial, can be used from this site and all its contents including text, documents, images, etc.. without the express permission of the author.