IBM Support

Determining the Operating System and Version Information

Troubleshooting


Problem

The first step in problem determination is to identify the current environment. This includes understanding the operating system and version information.

Cause

Operating System and Version Information by platform:



AIX
HP
Linux
Solaris
Windows



Gathering version information on AIX

Collect the output of the following commands from each system involved in current problem determination:
(Keep the following commands in a script "osinfo.sh" and run the same as root using "ksh -x osinfo.sh")

echo '### uname -a' > osinfo.txt
uname -a >> osinfo.txt
echo '### oslevel -r' >> osinfo.txt
oslevel -r >> osinfo.txt
echo '### oslevel -s' >> osinfo.txt
oslevel -s >> osinfo.txt
echo '### prtconf' >> osinfo.txt
prtconf 2>&1 | tee -a osinfo.txt
echo '### ulimit -a' >> osinfo.txt
ulimit -a >> osinfo.txt

Rename the osinfo.txt to prefix the system name such as <hostname>_osinfo.txt

Gathering version information on HP

Collect the output of the following commands from each system involved in current problem determination:
(Keep the following commands in a script "osinfo.sh" and run the same as root using "ksh -x osinfo.sh")

echo '### uname -a' > osinfo.txt
uname -a >> osinfo.txt
echo '### swlist' >> osinfo.txt
swlist 2>&1 | tee -a osinfo.txt
echo '### ulimit -a' >> osinfo.txt
ulimit -a >> osinfo.txt

Rename the osinfo.txt to prefix the system name such as <hostname>_osinfo.txt

Gathering version information on Linux

Collect the output of the following commands from each system involved in current problem determination:
(Keep the following commands in a script "osinfo.sh" and run the same as root using "ksh -x osinfo.sh")

echo '### uname -a' > osinfo.txt
uname -a >> osinfo.txt
echo '### meminfo' >> osinfo.txt
cat /proc/meminfo >> osinfo.txt
echo '### cpuinfo' >> osinfo.txt
cat /proc/cpuinfo >> osinfo.txt
echo '### Linux release info' >> osinfo.txt
cat /etc/*lease >> osinfo.txt
echo '### ulimit -a' >> osinfo.txt
ulimit -a >> osinfo.txt

Rename the osinfo.txt to prefix the system name such as <hostname>_osinfo.txt

Gathering version information on Solaris

Collect the output of the following commands from each system involved in current problem determination:
(Keep the following commands in a script "osinfo.sh" and run the same as root using "ksh -x osinfo.sh")

echo '### uname -a' > osinfo.txt
uname -a >> osinfo.txt
echo '### prtconf' >> osinfo.txt
prtconf -v 2>&1 | tee -a osinfo.txt
echo '### ulimit -a' >> osinfo.txt
ulimit -a >> osinfo.txt

Rename the osinfo.txt to prefix the system name such as <hostname>_osinfo.txt

Gathering version information on Windows

Collect the output of the following commands from each system involved in current problem determination:
In a command prompt (cmd.exe) run the following command and provide the output file.

echo systeminfo > osinfo.txt
systeminfo >> osinfo.txt

Rename the osinfo.txt to prefix the system name such as <hostname>_osinfo.txt

[{"Product":{"code":"SSVJJU","label":"IBM Security Directory Server"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"5.2;6.0;6.1;6.2;6.3;6.3.1;6.4","Edition":"","Line of Business":{"code":"LOB24","label":"Security Software"}}]

Product Synonym

ITDS;TDS;IBM Tivoli Directory Server;Tivoli Directory Server

Document Information

Modified date:
16 June 2018

UID

swg21269506