Useful commands for IBM WebSphere Application Server:
Hi,
I collected some commands for IBM WebSphere Application Server from Internet.
1. Find out Which versions are running
For WAS:
AIX/bin/versionInfo.sh
Solaries/Linux/bin/versionInfo.sh
Windows/bin/versionInfo.bat
For IHS:
AIX/bin/httpd -v
Solaries/Linux/bin/httpd -v
Windows/bin/apache -v
other:
Java JDK:
UNIX ./java -version
Windows ./java -version
2.Find out what process are running
Unix:
basic ---------> ps -ef | grep -i java
Solaris ---------> /usr/ucb/ps -auxWw
AIX ----------> /usr/bin/ps -elf
Other process:
ps -ef | grep java | grep dmgr
This command will filter dmgr process in java.
Windows:
TaskManager--------->Applications------------->process
c:/>net start
c:/>net start "IBM HTTP Server"
c:/>net stop "IBM HTTP Server"
3.Find out which operating system version is running:
AIX -------------------> oslevel (or) uname -a
solaris/Linux -------------------> uname -a
Windows -------------------> ver (or) winver
4.Find out hardware configuration:
AIX -------------------> lsattr -E -l sys0 -a r
solaris -------------------> ptrconf | grep -i memory
Windows -------------------> winver
Linux -------------------> dmesg
5.Find out contents of files like jar, zip:
Linux -------------------> /sbin/shutdown -r now (reboot)
/sbin/shutdown -h now (not reboot)
Windows -------------------> start---->Shutdown
7.List out all open ports, listening ports,routing tables etc:
netstat
options:
netstat -nr -n means "list in IP address"
-r means "prints routing table"
netstat -a -a means "lists all open ports"
netstat -l -l means "lists all the listening ports"
8.Something about "ls" command:
ls -ltra -l means "long listing formats"
-t means "sort by modification time"
-r means "reverse order by sorting"
-a means "all files including ones starting with dot(.).
ls -ltrS -s means "Sort by size".
Hi,
I collected some commands for IBM WebSphere Application Server from Internet.
1. Find out Which versions are running
For WAS:
AIX
Solaries/Linux
Windows
For IHS:
AIX
Solaries/Linux
Windows
other:
Java JDK:
UNIX ./java -version
Windows ./java -version
2.Find out what process are running
Unix:
basic ---------> ps -ef | grep -i java
Solaris ---------> /usr/ucb/ps -auxWw
AIX ----------> /usr/bin/ps -elf
Other process:
ps -ef | grep java | grep dmgr
This command will filter dmgr process in java.
Windows:
TaskManager--------->Applications------------->process
c:/>net start
c:/>net start "IBM HTTP Server"
c:/>net stop "IBM HTTP Server"
3.Find out which operating system version is running:
AIX -------------------> oslevel (or) uname -a
solaris/Linux -------------------> uname -a
Windows -------------------> ver (or) winver
4.Find out hardware configuration:
AIX -------------------> lsattr -E -l sys0 -a r
solaris -------------------> ptrconf | grep -i memory
Windows -------------------> winver
Linux -------------------> dmesg
5.Find out contents of files like jar, zip:
UNIX --------------------> ls -l
windows --------------------> dir
6.Shutting and rebooting:
AIX -------------------> /usr/sbin/shutdown -Fr
solaris -------------------> /usr/sbin/shutdown -y -go -i6Linux -------------------> /sbin/shutdown -r now (reboot)
/sbin/shutdown -h now (not reboot)
Windows -------------------> start---->Shutdown
7.List out all open ports, listening ports,routing tables etc:
netstat
options:
netstat -nr -n means "list in IP address"
-r means "prints routing table"
netstat -a -a means "lists all open ports"
netstat -l -l means "lists all the listening ports"
8.Something about "ls" command:
ls -ltra -l means "long listing formats"
-t means "sort by modification time"
-r means "reverse order by sorting"
-a means "all files including ones starting with dot(.).
ls -ltrS -s means "Sort by size".
thank u. comments & feedback r most welcome.
No comments:
Post a Comment