Tuesday, 24 September 2013

Providing DB2 Support Info to SAP

See SAP note 83819 - DB6: Collecting support data

As <SID>adm or db2<SID>:

db2support <work_dir> -d <dbsid> -c -s -f

The end result is a db2support.zip file or around 12MB in the <work_dir>

Windows Server Uptime

To find the uptime of a Windows server without uptime.exe:

Open a command prompt

Type "net statistics server"

The line that starts "Statistics since …" shows the date and time the server was last restarted.

(The command can be shortened to "net stats srv".)

On Windows 2008:

SystemInfo | find "Boot Time"

Returns:
System Boot Time: 02/03/2014, 00:06:12

(Windows Task Manager also shows uptime in Windows 2008)