Tuesday, March 1, 2016

How to deal with SRC and Deamons in aix?

How to deal with SRC and Deamons in aix?


SRC is nothing but "System Resource Controller".

We can control individual subsystem or group of subsystem.  The subsystem divided into sub server and the subserver is known as deamon.

If you see the pid is associated with a deamon, then it is operative

If there is NO PID associated with the deamon, then it  is showing as inoperative.


For single subsystem

Action
Command
Example
List
lssrc -s <deamon>
lssrc -s nfsd
Start
startsrc -s <deamon>
startsrc -s nfsd
stop
stopsrc -s <deamon>
stopsrc -s nfsd
Refresh
refresh -s <deamon>
refresh -s nfsd


For group of subsystems

Action
Command
Example
List
lssrc -g <deamon>
lssrc -g nfs
Start
startsrc -g <deamon>
startsrc -g nfs
stop
stopsrc -g <deamon>
stopsrc -g nfs
Refresh
refresh -g <deamon>
refresh -g nfs




To list out all the deamon

lssrc -a

suppose if you dont know the exact name of the deamon then you can simply grep like below

lssrc -a|grep -i ntp