service status in AIX


 
Thread Tools Search this Thread
Operating Systems AIX service status in AIX
# 1  
Old 12-14-2010
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
Code:
bash-3.2$ sudo  /etc/rc.d/rc2.d/SBESClientd status
Usage: /etc/rc.d/rc2.d/SBESClientd { start | stop }

I knew that i can see through PS command...but in other linux flavour as i can see service status.....service vsftpd status through this command..


so is it any command to see service status in AIX except ps command..

Last edited by zaxxon; 12-16-2010 at 07:19 AM.. Reason: code tags
# 2  
Old 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.
# 3  
Old 12-20-2010
CPU & Memory 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 >>
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

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

2. Shell Programming and Scripting

script killing a process from service status output

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

3. UNIX for Dummies Questions & Answers

Finding service status on windows from Linux

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

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

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

6. AIX

AIX Service Packs

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

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

8. HP-UX

Monitor Service Status

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

9. Linux

Ftp Service /process Status

: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

10. AIX

Aix - Service Pack

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
Login or Register to Ask a Question