I have a Tomcat 7
server running on Amazon EC2 (OS - Ubuntu 12 LTS). How can I find out which user is running Tomcat
on Amazon EC2?
I have a Tomcat 7
server running on Amazon EC2 (OS - Ubuntu 12 LTS). How can I find out which user is running Tomcat
on Amazon EC2?
Run following command to find out the tomcat process
From there you will find out the tomcat process and from there you can see which user is starting this.
For eg see the following output
In above eg 1941 is a tomcat process which is started by root user.
If you want to see all the user run below command