BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
MariaD
Barite | Level 11

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, 

1 ACCEPTED SOLUTION

Accepted Solutions
jklaverstijn
Rhodochrosite | Level 12

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.

 

View solution in original post

4 REPLIES 4
jklaverstijn
Rhodochrosite | Level 12

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.

 

MariaD
Barite | Level 11

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,

 

 

jklaverstijn
Rhodochrosite | Level 12

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

MariaD
Barite | Level 11

Thanks @jklaverstijn . We tried the systemctl command but is not installed on our server. 

 

Regards,

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

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.

Discussion stats
  • 4 replies
  • 2110 views
  • 2 likes
  • 2 in conversation