Restarting Tomcat from WHM & Command Line
When I restart Tomcat from WHM, I see these lines:
---------------------------------------------------------------------------------------
root 7876 2.5 0.8 10152 8628 ? S 00:19 0:00
/usr/local/cpanel/whostmgr/bin/whostmgr ./restomcat
root 7878 1.2 0.1 3428 2028 ? S 00:19 0:00
/usr/bin/perl /scripts/restartsrv tomcat
root 7880 0.0 0.1 3420 2028 ? S 00:19 0:00
/usr/bin/perl /scripts/restartsrv tomcat
root 7881 0.2 0.0 2168 976 ? S 00:19 0:00 sh -c
/usr/sbin/stoptomcat;/usr/sbin/starttomcat &/dev/null 2&&1 &
root 7882 0.0 0.0 2172 1008 ? S 00:19 0:00 /bin/sh
/usr/sbin/stoptomcat
---------------------------------------------------------------------------------------
Is there any significance to this order? I'm trying to schedule a cron job to restart Tomcat nightly, but I want to make sure I perform the proper tasks in the proper order.
Thanks,
Jaz
When I restart Tomcat from WHM, I see these lines:
---------------------------------------------------------------------------------------
root 7876 2.5 0.8 10152 8628 ? S 00:19 0:00
/usr/local/cpanel/whostmgr/bin/whostmgr ./restomcat
root 7878 1.2 0.1 3428 2028 ? S 00:19 0:00
/usr/bin/perl /scripts/restartsrv tomcat
root 7880 0.0 0.1 3420 2028 ? S 00:19 0:00
/usr/bin/perl /scripts/restartsrv tomcat
root 7881 0.2 0.0 2168 976 ? S 00:19 0:00 sh -c
/usr/sbin/stoptomcat;/usr/sbin/starttomcat &/dev/null 2&&1 &
root 7882 0.0 0.0 2172 1008 ? S 00:19 0:00 /bin/sh
/usr/sbin/stoptomcat
---------------------------------------------------------------------------------------
Is there any significance to this order? I'm trying to schedule a cron job to restart Tomcat nightly, but I want to make sure I perform the proper tasks in the proper order.
Thanks,
Jaz