Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS Development (http://www.linux-archive.org/centos-development/)
-   -   A couple of test scripts. (http://www.linux-archive.org/centos-development/520194-couple-test-scripts.html)

"Steve Barnes" 04-30-2011 05:57 AM

A couple of test scripts.
 
G'day

Attached are a couple of simple test scripts that I hope can be put to good use.

The first performs a LAMP install - checking the return value from yum as a sign of success/failure.

The second attempts to fire up httpd and mysqld and then confirm they're both in the process list. It also performs a simple PHP script check.

If these scripts are deficient in some way, please let me know. If there's an obvious flaw in how I'm doing something, please let me know.

The first script is the same one I posted to #centos-devel IRC with a minor aesthetic update to the screen logging. Based on that initial effort I figured it would be useful to follow up with a
daemon startup test script.

More to follow.

Cheers

Steve_____________________________________________ __
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel


All times are GMT. The time now is 08:02 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.