× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Run ps and parse it?

On Fri, 2020-02-28 at 09:50 -0600, B Stone wrote:

I thought about posting this in open source, but because it's more general

to jobs/IBM i I thought I would start here.


I am putting together some web service jobs that will be called from IBM i

jobs (RPG, CL, etc). These web services will be node.js servers.


I have PM2 installed but I am wondering if there is any way to check that

specific jobs are running in the PASE environment, mainly node.js servers.


I do have a check function set up (ie, "are you running?") that I can use

GETURI to check if the server is up, but was curious if there were any

other integrated functions on the IBM i side of things to check if they are

up. Maybe a job or set of jobs that I can query to see if they are running

vs a ping/request/etc.


I may be overthinking it, but because these services will be a vital role

in the applications running I want to make sure that it is simple to check

for these jobs and start if not running.




Bradley V. Stone

<http://www.bvstools.com>

www.bvstools.com


MAILTOOL Benefit #15 <

<https://www.bvstools.com/mailtool.html>

https://www.bvstools.com/mailtool.html

: The ability

to add a Footer to each email sent using an IFS stream file.



[https://www.medtronsoftware.com/img/MedtronMinilogo.bmp] Kevin Bucknum
Senior Programmer Analyst
MEDDATA / MEDTRON
120 Innwood Drive
Covington LA 70433
Local: 985-893-2550
Toll Free: 877-893-2550
https://www.medtronsoftware.com



CONFIDENTIALITY NOTICE

This document and any accompanying this email transmission contain confidential information, belonging to the sender that is legally privileged. This information is intended only for the use of the individual or entity named above. The authorized recipient of this information is prohibited from disclosing this information to any other party and is required to destroy the information after its stated need has been fulfilled. If you are not the intended recipient, or the employee of agent responsible to deliver it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or action taken in reliance on the contents of these documents is STRICTLY PROHIBITED. If you have received this email in error, please notify the sender immediately to arrange for return or destruction of these documents.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.