dev
This commit is contained in:
parent
8c65287273
commit
e91380de18
|
@ -87,12 +87,14 @@ func getSrvStatus(srv string) PsTable {
|
||||||
var status string = " - "
|
var status string = " - "
|
||||||
binExists := utils.PathExists(env.MeshEnv.Prefix + srv)
|
binExists := utils.PathExists(env.MeshEnv.Prefix + srv)
|
||||||
if binExists {
|
if binExists {
|
||||||
status = "\033[32mRunning\033[0m"
|
//status = "\033[32mRunning\033[0m"
|
||||||
|
status = "Running"
|
||||||
}
|
}
|
||||||
|
|
||||||
isRun := checkProcessRunning(srv)
|
isRun := checkProcessRunning(srv)
|
||||||
if binExists && !isRun {
|
if binExists && !isRun {
|
||||||
status = "\033[31mStop\033[0m"
|
//status = "\033[31mStop\033[0m"
|
||||||
|
status = "Stop"
|
||||||
}
|
}
|
||||||
|
|
||||||
pid, cm := getProcessInfo(srv)
|
pid, cm := getProcessInfo(srv)
|
||||||
|
|
Loading…
Reference in New Issue