[CentOS] bash script fails conditional test
Always Learning
centos at u64.u22.netSun Apr 19 17:55:46 UTC 2015
- Previous message: [CentOS] bash script fails conditional test
- Next message: [CentOS] bash script fails conditional test
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, 2015-04-19 at 13:15 -0400, Tim Dunphy wrote: > Hey all, > > I wrote a very basic script to determine if cassandra db is running. I'm > setting a variable called 'pid' to the output of a ps | grep like to grab > the pid of the cassandra process. Insert an extra line after #!/bin/bash set -xv which will show helpful debug messages. -- Regards, Paul. England, EU. Je suis Charlie.
- Previous message: [CentOS] bash script fails conditional test
- Next message: [CentOS] bash script fails conditional test
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list