Unix/Linux Go Back    


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

service status in AIX

AIX


Tags
service status in aix

Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 12-14-2010
life008 life008 is offline
Registered User
 
Join Date: Dec 2010
Last Activity: 20 July 2012, 12:20 AM EDT
Location: Delhi
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
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 06:19 AM.. Reason: code tags
Sponsored Links
    #2  
Old Unix and Linux 12-14-2010
zaxxon's Unix or Linux Image
zaxxon zaxxon is offline Forum Staff  
code tag tagger
 
Join Date: Sep 2007
Last Activity: 27 April 2015, 10:57 AM EDT
Location: St. Gallen, Switzerland
Posts: 6,294
Thanks: 131
Thanked 460 Times in 418 Posts
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.
Sponsored Links
    #3  
Old Unix and Linux 12-20-2010
botao's Unix or Linux Image
botao botao is offline
Registered User
 
Join Date: Mar 2006
Last Activity: 9 December 2013, 8:21 AM EST
Location: brazil
Posts: 86
Thanks: 0
Thanked 3 Times in 3 Posts
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 >>
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Unix or Linux Image More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
service exit status programAngel UNIX for Dummies Questions & Answers 2 11-07-2010 05:18 AM
#service --status-all : screen flickering dplinux Red Hat 7 11-19-2009 09:02 AM
How can i know service status in solaris8,9? younus_syed Solaris 2 07-06-2008 02:40 PM
Monitor Service Status sbn HP-UX 0 05-12-2008 05:53 AM
Ftp Service /process Status GaneshB Linux 1 03-10-2008 10:15 AM



All times are GMT -4. The time now is 10:03 PM.