> what exactly should [netstat and ps] show if tomcat is running? On my machine (logged in as root) I get something like this, but your display will surely differ somewhat. Anyone else?
--Avi p.s. Look in the "netstat" output for the two ports (http and ajp) listed in your tomcat server.xml. Whatever process is listening to those ports is the Tomcat process. (That's why I did a "ps" on 7355.) [root@martha /root]# netstat -elpt (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 User Inode PID/Program name tcp 0 0 *:17900 *:* LISTEN dev 8012789 7355/java tcp 0 0 *:18000 *:* LISTEN dev 8012786 7355/java tcp 0 0 *:www *:* LISTEN root 6837700 5295/httpd tcp 0 0 *:printer *:* LISTEN root 487 508/ tcp 0 0 *:ssh *:* LISTEN root 462 493/sshd tcp 0 0 *:netstat *:* LISTEN root 450 483/inetd tcp 0 0 *:systat *:* LISTEN root 449 483/inetd tcp 0 0 *:finger *:* LISTEN root 448 483/inetd tcp 0 0 *:ftp *:* LISTEN root 447 483/inetd tcp 0 0 *:time *:* LISTEN root 446 483/inetd tcp 0 0 *:chargen *:* LISTEN root 445 483/inetd tcp 0 0 *:daytime *:* LISTEN root 444 483/inetd tcp 0 0 *:discard *:* LISTEN root 443 483/inetd tcp 0 0 *:echo *:* LISTEN root 442 483/inetd [root@martha /root]# ps uww 7355 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND dev 7355 0.0 4.5 149108 20680 pts/1 S Nov30 0:06 /usr/local/java/1.3.0/i686-pc-linux-gnu/bin/i386/native_threads/java -server -Dtomcat.home=/usr/local/tomcat -Dproperties.file=/usr/local/tomcat/JAVA_PROPERTIES org.apache.tomcat.startup.Tomcat -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
