Socket
Socket
Sign inDemoInstall

passenger-status-node

Package Overview
Dependencies
25
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    passenger-status-node

A wrapper for passenger-status that outputs data on all passenger instances or specific instances based on searching the supergroup name.


Version published
Weekly downloads
1
Maintainers
2
Created
Weekly downloads
 

Readme

Source

js-standard-style

passenger-status-node

A wrapper for passenger-status that outputs data on all passenger instances or specific instances based on searching the supergroup name.

Prerequisites

You must have passenger installed

Install

npm i passenger-status-node -g

CLI API

passenger-status-node [supergroupNameSearch]

#Output data for all passenger instances:
passenger-status-node

#Output data for specific passenger instance:
passenger-status-node myAppName

#Output data for instances started in current folder
passenger-status-node `pwd`

The optional supergroupNameSearch argument looks for a match in the supgergroup name, and will exclude instances without a match.

Programmatic API

passengerStatusNode(superGroupNameSearch, callback)

var passengerStatus = require('passenger-status-node')
passengerStatus('myApp', function onPassengerStatus(err, instances){
  if (err) throw err
  console.log(JSON.stringify(instances, null, 2)
})

Changelog

  • v2.0.4
    • Fixed issue when multiple processes
    • Fixed issue when passenger has started but application has not
    • Fixed formatting for processes and sockets to always be arrays
    • Fixed issue with searching when passenger has started but no instances have been started

FAQs

Last updated on 07 Jan 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc