Created
November 19, 2013 09:50
-
-
Save corvax19/7542914 to your computer and use it in GitHub Desktop.
Log Siebel web server's workers PIDs. server-status section to be enabled in httpd.conf.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
((date; curl -s localhost:7777/server-status|grep '<tr><td>'|sed -r 's/.*<\/b><\/td><td>([0-9]{2,}).*/\1/g'|sort|uniq)|tr '\n' '|'; echo) >> /tmp/apache.pids |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Outputs like this:
Tue Nov 19 10:49:01 CET 2013|2254|
Tue Nov 19 10:50:01 CET 2013|2252|2254|
Tue Nov 19 10:51:01 CET 2013|2252|2254| ...