Hi folks,
Which is the command to verify the status of the LSF services? I need to validate if LSF services is running, stoping, etc. Something equivalent to "sas.servers status" command.
Regards,
Hi @MariaD ,
The correct answer will depend on your operating system and LSF release.
We run LSF 10 (as bundled with SAS 9.4M) and use systemd for this:
# systemclt lsfd status
In fact this runs a supplied command that you can also use directly:
# $LSF_SERVERDIR/lsf_daemons status
The value of $LSF_SERVERDIR is specific to your system.
Again, this is valid only for Linux and LSF 10. But chances are this is what you are running.
Hope this helps,
- Jan.
Hi @MariaD ,
The correct answer will depend on your operating system and LSF release.
We run LSF 10 (as bundled with SAS 9.4M) and use systemd for this:
# systemclt lsfd status
In fact this runs a supplied command that you can also use directly:
# $LSF_SERVERDIR/lsf_daemons status
The value of $LSF_SERVERDIR is specific to your system.
Again, this is valid only for Linux and LSF 10. But chances are this is what you are running.
Hope this helps,
- Jan.
Thanks @jklaverstijn , the second command works perfectly well. We have Red Hat Linux as OS and LSF 10. As the result, the command shows:
....
lim is running;
res is running;
sbatchd is running
...
Is there any other process that should appears in the results?
Regards,
No, these are the ones.There are potentially more daemons (mbatchd, eauth, krbrenewd, ...) but they are started by the daemons listed by the lsf_daemons command.
I can imagine you would like to also monitor the Process Manager daemon processes (eg. jfd, fod). For us this can be done through the jstartup service:
# /etc/init.d/jstartup status fod (pid 23831) is running... jfd (pid 23833) is running...
If you have Redhat I do recommend to do this from systemd, using the systemctl commands. The LSF hostsetup command takes care of provisioning the services.
-- Jan
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.