The command is "svmon -P PID" where PID is the process ID of any DB2 agent (db2agent or db2agentp).
这个命令是: "svmon -P PID",其中 PID是 DB2 代理(db2agent 或 db2agentp)的进程 ID。
The 'p' command does what it always does, explicitly telling sed to print out the line, since we are in '-n' quiet mode.
因为是处于' - n '安静方式,所以' p '命令还是完成其惯有任务,即明确告诉sed打印该行。
You'll also notice that we've replaced the 'd' command with the 'p' command, which as you might guess, explicitly commands sed to print the pattern space.
您还会注意到,我们用' p '命令替换了' d '命令,如您所猜想的那样,这明确要求sed打印模式空间。
应用推荐