12-20-2010
the `lssrc' command is what you seek
- in AIX, the `lssrc' command gives status of services (which are dubbed "system resources" in AIX parlance) ;
- to go directly to the source , follow the link below :
IBM Help System
hth,
good luck, and success !
alexandre botao
<< botao {dot} org >>
10 More Discussions You Might Find Interesting
1. AIX
I've recently installed ServicePack1 for Tecnology_Level 9 of AIX 5.2 .
The result of installation is "OK" but with oslevel -s i dont see the service pack installed ....
after many research i try (with many luck!!)
instfix -i|grep SP
and the result :
All filesets for 5200-08-01_SP... (1 Reply)
Discussion started by: BabylonRocker
1 Replies
2. Linux
:confused:
Hi
Can anyone tell me how to check the FTP process status in linux .
eg,I'm ftpping some files from "A" server to "B" server through FTP command ,
after ftpping these files , I 'm suppose to delete the files which are successfully ftpped from "A" server ,but when I 'm checking the... (1 Reply)
Discussion started by: GaneshB
1 Replies
3. HP-UX
Hey guys how do you determined the status of a certain service if its running or not aside from using ps. (0 Replies)
Discussion started by: sbn
0 Replies
4. Solaris
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
5. AIX
Can anyone out there let me know what is the *common* Technology Level and Service Pack that everyone is at?
I am at
5300-06-04-0748 on all of my LPARs.
Also- does anyone have any guidelinies to rolling out new TL and Sps?
Thanks (4 Replies)
Discussion started by: seacros
4 Replies
6. Red Hat
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. UNIX for Dummies Questions & Answers
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
Hi all,
Please advise how do i find services status running on windows machines
from Linux.
=-=====================
Some one developed a script use rsh command to find the status but it stopped working.
rsh <Some IIS server Name> service -S < Windows Server name where service running>... (1 Reply)
Discussion started by: ashish_uiit
1 Replies
9. Shell Programming and Scripting
Hello,
can some please suggest a script, for killing the process PID. This are steps I am currently performing to kill the process.
I cant user service splunk stop, to kill these processes, because of uid and gid mismatch for splunk user.
# service splunk status
Splunk status:
splunkd... (8 Replies)
Discussion started by: bobby320
8 Replies
10. Shell Programming and Scripting
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
LEARN ABOUT PHP
win32_query_service_status
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)