1 2 3 4 | [db2inst1@echidna db2inst1]$ db2start SQL1063N DB2START processing was successful. [db2inst1@echidna db2inst1]$ db2stop SQL1064N DB2STOP processing was successful. |
1 2 3 4 | [db2inst1@echidna db2inst1]$ db2admin start SQL4406W The DB2 Administration Server was started successfully. [db2inst1@echidna db2inst1]$ db2admin stop SQL4407W The DB2 Administration Server was stopped successfully. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | [db2inst1@echidna db2inst1]$ ps -f UID PID PPID C STIME TTY TIME CMD db2inst1 1468 1465 0 16:00 pts/0 00:00:00 /bin/cat db2inst1 1478 1477 0 16:00 pts/1 00:00:00 /bin/bash db2inst1 1660 1 0 16:04 pts/1 00:00:00 /home/db2inst1/sqllib/bin/db2bp 1478 5 db2inst1 1768 1478 0 16:29 pts/1 00:00:00 ps -f [db2inst1@echidna db2inst1]$ ps -ef | grep " db2" root 22284 1 0 Jul19 ? 00:00:00 db2wdog db2inst1 22285 22284 0 Jul19 ? 00:00:00 db2sysc root 22286 22285 0 Jul19 ? 00:00:00 db2gds db2inst1 22287 22285 0 Jul19 ? 00:00:00 db2ipccm db2inst1 22288 22285 0 Jul19 ? 00:00:00 db2tcpcm db2inst1 22289 22286 0 Jul19 ? 00:00:00 db2resyn db2inst1 22290 22286 0 Jul19 ? 00:00:00 db2srvlst root 22428 1 0 Jul19 ? 00:00:00 db2wdog db2as 22429 22428 0 Jul19 ? 00:00:00 db2sysc root 22430 22429 0 Jul19 ? 00:00:00 db2gds db2as 22431 22429 0 Jul19 ? 00:00:00 db2ipccm db2as 22433 22429 0 Jul19 ? 00:00:00 db2tcpcm db2as 22434 22429 0 Jul19 ? 00:00:00 db2tcpdm db2inst1 22927 22287 0 Jul19 ? 00:00:00 db2agent (idle) db2inst1 393 1 0 14:25 pts/0 00:00:00 db2jd db2inst1 479 313 0 14:34 pts/0 00:00:00 grep db2 |
1 2 3 4 | [db2inst1@echidna db2inst1]$ db2jstrt Licensed Materials -- Property of IBM (c) Copyright International Business Machines Corporation, 1996, 2000. All Rights Reserved. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | [db2inst1@echidna db2inst1]$ netstat -plt (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 *:32768 *:* LISTEN - tcp 0 0 echidna:32769 *:* LISTEN - tcp 0 0 *:printer *:* LISTEN - tcp 0 0 *:6789 *:* LISTEN 393/db2jd tcp 0 0 *:swat *:* LISTEN - tcp 0 0 *:523 *:* LISTEN - tcp 0 0 *:netbios-ssn *:* LISTEN - tcp 0 0 *:sunrpc *:* LISTEN - tcp 0 0 *:x11 *:* LISTEN - tcp 0 0 *:db2cdb2inst10 *:* LISTEN - [db2inst1@echidna db2inst1]$ |
1 | [db2inst1@echidna db2inst1]$ kill -9 393 |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |