Search Results

Search: Posts Made By: simpsa27
25,582
Posted By simpsa27
Hi Andrew Yes I have written a PowerShell...
Hi Andrew

Yes I have written a PowerShell script to check whether the windows service psql-9.2 is running.

We have a monitoring tool which runs off Linux so I was wondering if their was...
25,582
Posted By simpsa27
Hi Andrew Thank you for your reply. ...
Hi Andrew

Thank you for your reply.

The service I am looking to check is a windows service - not on the Linux system
25,582
Posted By simpsa27
Hi Skrynesaver Thank you for the reply but I...
Hi Skrynesaver

Thank you for the reply but I don't quite understand what you mean.

Did you mean:

postgres_db_check=`systemctl status postgresql`

if [ "postgres_db_check" -eq 'Running'...
25,582
Posted By simpsa27
Execute powershell script with UNIX
Hi

I have a powershell script which is checking whether a windows service is running (as shown below)

function FuncCheckService

{
$ServiceName = 'pgsql-9.2'
$arrService = Get-Service...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 12:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy