12-14-2010
This is no matter regarding the OS, about what options a shell script supports. There are also scripts on Linux that do not have a status option. It has nothing to do with AIX or Linux.
If the script does not support a status option and you don't want to do a ps (I don't see any problem in this), you can only hope it is being handled by the AIX System Resource Controller (SRC), which I doubt in that case. You can check the status of supported Subsystems, Subsystem Groups and Subsyserver of it with lssrc -a and grep for it's name, for example.
Though, I assume this software you are controlling by this script is not part of the SRC at all.
Anyway here is a documentation from IBM about SRC, if you are interessted:
IBM Info Center - System Resource Controller
Another option might be to implement a status option into the script by yourself - though on updates it might be overwritten.
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 DEBIAN
globus-gatekeeper-admin
GLOBUS-GATEKEEPER-(8) University of Chicago GLOBUS-GATEKEEPER-(8)
NAME
globus-gatekeeper-admin - Manage globus-gatekeeper services
SYNOPSIS
globus-gatekeeper-admin [-h]
globus-gatekeeper-admin [-l] [-n NAME]
globus-gatekeeper-admin [-e SERVICE] [-n NAME]
globus-gatekeeper-admin [-E]
globus-gatekeeper-admin [-d SERVICE]
DESCRIPTION
The globus-gatekeeper-admin program manages service entries which are used by the globus-gatekeeper to execute services. Service entries
are located in the /etc/grid-services directory. The globus-gatekeeper-admin can list, enable, or disable specific services, or set a
service as the default. The -h command-line option shows a brief usage message.
Listing services
The -l command-line option to globus-gatekeeper-admin will cause it to list all of the services which are available to be run by the
globus-gatekeeper. In the output, the service name will be followed by its status in brackets. Possible status strings are ENABLED,
DISABLED, and ALIAS to NAME, where NAME is another service name.
If the -n NAME is used, then only information about the service named NAME is printed.
Enabling services
The -e SERVICE command-line option to globus-gatekeeper-admin will cause it to enable a service so that it may be run by the
globus-gatekeeper.
If the -n NAME option is used as well, then the service will be enabled with the alias NAME.
Enabling a default service
The -E command-line option to globus-gatekeeper-admin will cause it to enable a service alias with the name jobmanager. The
globus-gatekeeper-admin program will choose the first service it finds as the default. To enable a particular service as the default, use
the -e parameter described above with the -n parameter.
Disabling services
The -d SERVICE command-line option to globus-gatekeeper-admin will cause it to disable a service so that it may not be run by the
globus-gatekeeper. All aliases to a disabled service are also disabled.
FILES
/etc/grid-services
Default location of enabled gatekeeper service descriptions.
University of Chicago 12/13/2011 GLOBUS-GATEKEEPER-(8)