Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

win32_set_service_status(3) [php man page]

WIN32_SET_SERVICE_STATUS(3)						 1					       WIN32_SET_SERVICE_STATUS(3)

win32_set_service_status - Update the service status

SYNOPSIS
bool win32_set_service_status (int $status, [int $checkpoint]) DESCRIPTION
Informs the SCM of the current status of a running service. This call is only valid for a running service process. PARAMETERS
o $status - The service status code, one of WIN32_SERVICE_RUNNING, WIN32_SERVICE_STOPPED, WIN32_SERVICE_STOP_PENDING, WIN32_SER- VICE_START_PENDING, WIN32_SERVICE_CONTINUE_PENDING, WIN32_SERVICE_PAUSE_PENDING, WIN32_SERVICE_PAUSED. o $checkpoint - The checkpoint value the service increments periodically to report its progress during a lengthy start, stop, pause, or continue operation. For example, the service should increment this value as it completes each step of its initialization when it is start- ing up. The $checkpoint is only valid when the $status is one of WIN32_SERVICE_STOP_PENDING, WIN32_SERVICE_START_PENDING, WIN32_SERVICE_CONTINUE_PENDING or WIN32_SERVICE_PAUSE_PENDING. RETURN VALUES
Returns TRUE on success, FALSE if there is a problem with the parameters or a Win32 Error Code on failure. SEE ALSO
win32_start_service_ctrl_dispatcher(3), Win32Service Service Status Constants. PHP Documentation Group WIN32_SET_SERVICE_STATUS(3)

Check Out this Related Man Page

OMPI-CHECKPOINT(1)						     Open MPI							OMPI-CHECKPOINT(1)

NAME
ompi-checkpoint, orte-checkpoint - Checkpoint a running parallel process using the Open MPI Checkpoint/Restart Service (CRS) NOTE: ompi-checkpoint, and orte-checkpoint are all exact synonyms for each other. Using any of the names will result in exactly identical behavior. SYNOPSIS
ompi-checkpoint [ options ] <PID_OF_MPIRUN> Options orte-checkpoint will attempt to notify a running parallel job (identified by mpirun) that it has been requested that the job checkpoint itself. A global snapshot handle reference is presented to the user, which is used in ompi_restart to restart the job. <PID_OF_MPIRUN> Process ID of the mpirun process. -h | --help Display help for this command -w | --nowait Do not wait for the application to finish checkpointing before returning. -s | --status Display status messages regarding the progression of the checkpoint request. --term After checkpointing the running job, terminate it. -v | --verbose Enable verbose output for debugging. -gmca | --gmca <key> <value> Pass global MCA parameters that are applicable to all contexts. <key> is the parameter name; <value> is the parameter value. -mca | --mca <key> <value> Send arguments to various MCA modules. DESCRIPTION
orte-checkpoint can be invoked multiple, non-overlapping times. It is convenient to note that the user does not need to spectify the checkpointer to be used here, as that is determined completely by each of the running process in the job being checkpointed. SEE ALSO
orte-ps(1), orte-clean(1), ompi-restart(1), opal-checkpoint(1), opal-restart(1), opal_crs(7) 1.4.5 Feb 10, 2012 OMPI-CHECKPOINT(1)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Writing a service in Linux

Hi All: I want to write a program that runs like a service(in the background) and should start up when the system boots. It should always be running, no matter who has logged in, no matter if anybody has logged in et all. Is there any online help i could get on this topic, appreciate the help... (4 Replies)
Discussion started by: preetham
4 Replies

2. Shell Programming and Scripting

execution status of gotoURL in Win32::IEAutomation

Hi, I am using Win32::IEAutomation module to automate my Web based application. I am trying to prepare a report for the test cases I automated. The problem is I am unable to get the execution status of the commands gotoURL, getButton .... to know if my button click or url redirection is... (2 Replies)
Discussion started by: gurukottur
2 Replies

3. AIX

How to stop perl service

how to stop perl service on AIX? how to find if per service runing? (4 Replies)
Discussion started by: rainbow_bean
4 Replies

4. Programming

process status

hello everybody!! i want to post a question! is there any way to get process status using C commands? To be more specific, i want to know whether a process is running or is stop or killed. thanks in advance! (3 Replies)
Discussion started by: nicos
3 Replies

5. AIX

Q: how to start a service when system start

As topic, assume we have a service called "blahservice" and we can start it by: startsrc -s blahservice what is the best practice to run such command when system start? - directly use mkitab to add it into /etc/inittab or - drop startup scripts in /etc/rc.d/rcX.d I know they... (4 Replies)
Discussion started by: acerlinux
4 Replies

6. Red Hat

#service --status-all : screen flickering

hi there when i run #service --status-all or #service nfs status the screen flickers if i ssh from remote system than i dont have flickering on the remote nor that system. is it something to do with probably display configuration. ? and which file are the display setting... (7 Replies)
Discussion started by: dplinux
7 Replies

7. Shell Programming and Scripting

Please Help me. if command

i want condition . 1. if "service = 100" or "service = 121" and "datetime=today" MY CODE if &]; then echo "Transection LOG" echo "" echo "Detail LOG" echo "" exit; fi but when rub my script. I get error (2 Replies)
Discussion started by: ooilinlove
2 Replies

8. UNIX for Dummies Questions & Answers

how to get start time of a running process

I am trying to see if a process is running what was its start time. here is the code that I am using if then echo 'Gateway output processing started.' else VAR=$(ps -ef | grep batch_output_x ) ... fi now the problem i see is when the process is running i get two... (3 Replies)
Discussion started by: akabir77
3 Replies

9. Shell Programming and Scripting

Print available running instance out of total

Hello. I have a status command in AIX box, which provides output as below: $ status You are running the application on pegasus2 ----Program Name------|--Avail / Total---------| MQ | 1/2 | ORACLE | 10/10 | TMADMIN ... (3 Replies)
Discussion started by: panchpan
3 Replies

10. 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

11. Shell Programming and Scripting

problem in seeing a lengthy line

hi , i need to check the first line of a tilde(~) delimitted source file, so i wrote a command as follows head -1 <source filename> but the problem is that the line is too lengthy,as it spans out of the window,so im not able to see the line till end.can anybody please suggest a workaround... (2 Replies)
Discussion started by: angel12345
2 Replies

12. UNIX for Dummies Questions & Answers

change service order

hi guys I have a service that depends on some shares (NFS shares ) that need to be mounted before before the service start so the service-app finds the NFS shares and starts correctly... I am confused here this is what I found but I am not sure what to do in order to change it BTW is Suse... (2 Replies)
Discussion started by: karlochacon
2 Replies

13. Red Hat

TSM service not found

Hello, I have some trouble checking the TSM ( Tivoli storage Mgr )service status in Linux box when i am doing service tsm status -bash: service command not found Above command is working fine in all other linux box ( Any idea how to look into this to resolve this, i am clueless from... (2 Replies)
Discussion started by: saurabh84g
2 Replies

14. Shell Programming and Scripting

Show service status in dialog

Hello is it possible to show current status of service like cron with dialog ? something that show the output of service crond status in top of menu: dialog --title "Administrator" --menu "Please choose an option:" 20 55 10 \ 1 "Add New USER" \ 2 "List all user" \ 3 "Remove user" \ 4... (6 Replies)
Discussion started by: nimafire
6 Replies