Monitor Service Status


 
Thread Tools Search this Thread
Operating Systems HP-UX Monitor Service Status
# 1  
Old 05-12-2008
Monitor Service Status

Hey guys how do you determined the status of a certain service if its running or not aside from using ps.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Infrastructure Monitoring

Searching for Saas Monitor service which monitor my servers which are sitting in different providers

Sorry if this is the wrong forum Searching for Saas Monitor service which monitor my servers which are sitting in different providers . This monitor tool will take as less CPU as possible , and will send info about the server to main Dashboard. The info I need is CPU / RAM / my servers status (... (1 Reply)
Discussion started by: umen
1 Replies

2. Linux

Packages that monitor OS configs and service/ports?

I have several Redhat servers and workstations that I need to be able to monitor for any changes and be notified of any changes to the OS. The features I need to specifically monitor are: ports - opening of new ports that are not already in a whitelist services - any starting or attempts to start... (1 Reply)
Discussion started by: JCDinPGH
1 Replies

3. UNIX for Dummies Questions & Answers

Script to monitor BI service and trigger a mail

Hello friends, I am new to shell scripting.I am assigned a task in Unix to prepare a script which will check if OBI 10g services are running or not and to send email if the services are down.Any help will be appreciated. I tried searching for it in the blog and came across the following code ... (1 Reply)
Discussion started by: pradeep467
1 Replies

4. Shell Programming and Scripting

Basic script for monitor send mail service

Hi All Need help Can any one share a basic script that is used for monitor sendmail service whether online, offline.etc in solaris Thanks in advance Zimmy (5 Replies)
Discussion started by: zimmyyash
5 Replies

5. Shell Programming and Scripting

Script to monitor a process and track status in a file

i have a scenario where i need a script that monitors a process "Monitor" based on process id... there can be any number of instances of this running... i start this across 4 servers in NFS. Now i need a file which has the process ids of the process that are currently in execution at any... (9 Replies)
Discussion started by: niteesh_!7
9 Replies

6. AIX

service status in AIX

good afternoon to all hay i m new in AIX. my problem is that.....plz tell me how to see " service status" in AIX Becoz i run /etc/rc.d/rc.2/Sbesclientd so its show below like this bash-3.2$ sudo /etc/rc.d/rc2.d/SBESClientd status Usage: /etc/rc.d/rc2.d/SBESClientd { start | stop } I... (2 Replies)
Discussion started by: life008
2 Replies

7. UNIX for Dummies Questions & Answers

service exit status

what are the number for the exit status for command service and what does every number mean. (2 Replies)
Discussion started by: programAngel
2 Replies

8. UNIX for Dummies Questions & Answers

How to monitor Unix server CPU status?

I like to know how to monitor the UNIX CPU/memory status over time. I need to data to do some graphical representation of the server load. I sort of need to keep track of the vmstat but i dont know how. I hope someone would kindly help me out. thanks. (1 Reply)
Discussion started by: shingpui
1 Replies

9. Solaris

How can i know service status in solaris8,9?

How can i know service status and its dependencies in solaris 8,9? Thanks in advance.. (2 Replies)
Discussion started by: younus_syed
2 Replies
Login or Register to Ask a Question
WIN32_QUERY_SERVICE_STATUS(3)						 1					     WIN32_QUERY_SERVICE_STATUS(3)

win32_query_service_status - Queries the status of a service

SYNOPSIS
mixed win32_query_service_status (string $servicename, [string $machine]) DESCRIPTION
Queries the current status for a service, returning an array of information. PARAMETERS
o $servicename - The short name of the service. o $machine - The optional machine name. If omitted, the local machine will be used. RETURN VALUES
Returns an array consisting of the following information on success, FALSE if there is a problem with the parameters or a Win32 Error Code on failure. o $ServiceType - The dwServiceType. See Win32Service Service Type Bitmasks. o $CurrentState - The dwCurrentState. See Win32Service Service Status Constants. o $ControlsAccepted - Which service controls are accepted by the service. See Win32Service Service Control Message Accepted Bitmasks. o $Win32ExitCode - If the service exited, the return code from the process. o $ServiceSpecificExitCode - If the service exited with an error condition, the service specific code that is logged in the event log is visible here. o $CheckPoint - If the service is shutting down, holds the current check point number. This is used by the SCM as a kind of heart-beat to detect a wedged service process. The value of the check point is best interpreted in conjunction with the WaitHint value. o $WaitHint - If the service is shutting down it will set WaitHint to a checkpoint value that will indicate 100% completion. This can be used to implement a progress indicator. o $ProcessId - The Windows process identifier. If 0, the process is not running. o $ServiceFlags - The dwServiceFlags. See Win32Service Service Service Flag Constants. SEE ALSO
Win32Service Predefined Constants. PHP Documentation Group WIN32_QUERY_SERVICE_STATUS(3)