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.
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,
View solution in original post
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?
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.
Thanks @jklaverstijn . We tried the systemctl command but is not installed on our server.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.
Find more tutorials on the SAS Users YouTube channel.