Please anyone tell me
In my last interview the HR asks me how to monitor, start,stop & kill the various processes and subprocesses.
Please anyone explain me clearly. It's my personal request
Please anyone tell me
In my last interview the HR asks me how to monitor, start,stop & kill the various processes and subprocesses.
Please anyone explain me clearly. It's my personal request
By the way, are you at the right forum or did you attend the interview that you're proficient in?:o Your question is too vague
You can use
svcs -xv | grep process
Most of services are under SMF control so you can use
svcadm enable
to enable service
svcadm disable
to disable service
svcadm restart
to restart service
for killig process , you use signals we have too mnay signals , but most importanat are -9 to kill (last solution) and 15 (kill signal but enable to process to clean his own trash)
so
man kill
to find out parent - child process you can use
ps -o user,pid,ppid,command -ax | grep x
every child process has hit own unique PID and you can kill them
using or pkill or kill command
Thanks my dear brother for your nice reply.