Start and stop on the instance

2010-11-09  来源:本站原创  分类:Database  人气:86 

The current instance:

C:\Documents and Settings\Mark>set DB2instance

C:\Documents and Settings\Mark>echo %DB2INSTANCE%

[[email protected] ~]$ db2 get instance

 The current database manager instance is:  db2inst1

[[email protected] ~]$ echo $DB2INSTANCE


[[email protected] ~]$ db2start
SQL1063N  DB2START processing was successful.


[[email protected] ~]$ db2stop
SQL1064N  DB2STOP processing was successful.

View Status:

// Stop
[[email protected] ~]$ db2_ps
Node 0
     UID        PID       PPID    C     STIME     TTY     TIME CMD

// Start of the
[[email protected] ~]$ db2_ps
Node 0
     UID        PID       PPID    C     STIME     TTY     TIME CMD
db2inst1      21263      21261   11     14:31   pts/1 00:00:00 db2sysc
    root      21264      21263    0     14:31   pts/1 00:00:00 db2ckpwd
    root      21265      21263    0     14:31   pts/1 00:00:00 db2ckpwd
    root      21266      21263    0     14:31   pts/1 00:00:00 db2ckpwd

Power Auto:

[[email protected] ~]$ db2iauto ?
DB2I1024I Usage: /home/db2inst1/sqllib/bin/db2iauto [-h|-?] -on|-off InstName

Have you set boot:

// The following to start automatically
[[email protected] ~]$ db2set -i|grep DB2AUTOSTART
  • Class methods in order to initialize instance method 2010-03-29

    public class Children extends Parent ( public static String cStaticField = "sub-categories - static variable"; public String cField = "sub-category - the variable"; static ( System.out.println (cStaticField); System.out.println ( "

  • Dorado dynamically create a Dataset instance 2010-03-29

    Dorado dynamically create a Dataset instance from the "dorado 5 principles, characteristics and high-level usage V1.0.doc". package sample.skills.createDatasetTest; import; import

  • How do I remove detached instance? 2010-04-20

    Description of the problem Applications Environment: Spring jpa hibernate3 Deletion methods commonly used database tables, are generally available in the DAO class delete. The following example: public class UnitDAO implements IUnitDAO { private Enti

  • glassfish simultaneously debug multiple server instance methods 2010-04-23

    Changes domain.xm, the java-config from the cluster of-Xrunjdwp option to delete address attribute. This will lead to JVM for instance to select a random debug port. Server log can be seen in the choice of port number. For example: * Before: debug-op

  • java foundation's "instance methods, instance variables, class methods, class variables" 2008-10-25

    Analysis of these first 11 Dongdong: instance method, instance variables, class methods, class variables. Instance variable (instance variable): or call instance fields, instance fields (instance field), or known as member variables (member variable)

  • Spring hibernate: this web application instance has been stopped already 2009-12-07

    Look at the error message: (In fact, the error from, that is it unacceptable and will not affect the works.) 2010-2-8 20:33:56 org.apache.catalina.core.StandardContext reload Information: Reloading this Context has started ********** Remove Context 9

  • save the transient instance before flushing error solution 2009-07-13

    Self-to-many cases, if the <s:hidden name="" /> This is the case even if the parent is empty, but will still set the time into new work out a new parent, while the father apparently did not exist in the database, i

  • java.lang.NoSuchFieldError: INSTANCE 2010-02-23

    In Struts2 + Spring2.5 + ibatis integration problems is the lack of clear jar or packet, jar file conflicts. Desire to help. org.apache.catalina.core.StandardContext listenerStart : Exception sending context initialized event to listener instance of

  • The first instance of a Hibernate 2008-08-25

    I used to as a learning hibernate3.2.5 and hibernate3.3.1 version. 1. Http:// to hibernate official website to download the version you need. I downloaded hibernate3.2.5 and hibernate3.3.1 two versions. 2. Will download directory / h

  • openjdk run-time class and instance 2010-01-24

    openjdk run-time class and instance

  • local variables, global variables, instance variables 2010-03-23

    Local variables global variables instance variables

  • Marquee pictures instead of horizontal and vertical scrolling an instance of seamless 2010-03-05

    Description: Image scrolling display station in the enterprise is very frequently used. While the Marquee can be achieved. But always with a blank backside ...! Customer does not want to the. Feel too difficult to read. It would make seamless scroll

  • Achieve the kind of drag effect jquery.easywidgets.js instance google 2010-03-06

    Main plug-ins to achieve this effect using jquery.easywidgets.js straightforward Posts attachment, be preserved for future use. Learning on-line search about jquery.easywidgets There is also a more simple drag effects are relatively simple plug-jquer

  • Instance of Eclipse plug-in development - to open the corresponding folder of resources 2010-04-01

    Used MyEclipse to know there is such a feature: select File -> Right -> MyEclipse-> Open in Explorer to open in Explorer folder where files, this feature is very useful and very convenient, do not know why eclipse this function without one. But h

  • PureMVC simple log instance 2010-02-21

    Src directory: LoginForm.mxml <?xml version="1.0" encoding="utf-8"?> <mx:Panel xmlns:mx="" fontSize="12" layout="vertical" horizontalAlign="center" title=&q

  • db2 Node node, instance instance felt! 2010-03-01

    Today, the company built an AIX test environment under the WebSphere portal, a document created in accordance with building a database db2 instance, a sudden whim looked at examples of the concept nodes and many of the concepts found in db2 I are ver

  • How to distinguish between different Filter Module Instance 2010-03-29

    Said before, how to distinguish between different Filter Module Instance. And that the three methods. I were tested under: FilterModuleName is (7CA32522-8218-4BF9-8B98-D280274588E2) - (5CBF81BD-5055-47CD-9055-A76B2B4E3697) -0000?? 00000084 200.106079

  • sqldeveloper2.1 start reported an error can not create an instance of the solution jvm 2010-02-25

    SQL Developer startup error: Unable to create an instance of the Java Virtual Machine Located at path: .. \ .. \ Jdk \ jre \ bin \ client \ jvm.dll Solution The installation directory \ ide \ bin under the ide.conf file AddVMOption-Xmx640M to AddVMOp

  • [Ghost City Classroom] used to destroy an instance of an onEnterFrame event and this event 2010-04-03

    onEnterFrame? is a movie clip frame rate constantly trigger the action, it can continue to use () in the command execution, but the implementation has been completed, this incident should be destroyed, to release the memory used by the script. The de

  • StarFlow workflow instance Web Designer 2010-03-06

    After a period of development StarFlow Web Designer with a preliminary results of processes can be customized to work late after the process is the definition of the content, through StarFlow Web Designer to re-open the editor, has been completed in