npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

psmc

v4.0.22

Published

command line client for BTI proNX Services Manager (psm).

Downloads

27

Readme

psmc

command line client for BTI proNX Services Manager (psm).

Getting Started

Download and install node from here:

download node.js

Once node is installed, npm will be available, this can be used to install/upgrade psmc:

  $ npm install -g psmc

The -g option will install/upgrade it globally on your system, this will make it available from any directory.

For some *nix systems you may need to use sudo:

  $ sudo npm install -g psmc

sudo is required if your running as a user other than superuser (root).

NOTE when installing there will be a number of warning displayed on the console, this is output from the third parties that are used in this client application, these can be ignored as they do not affect behaviour.

Documentation

Calling psmc without any commands will provide a help message describing the functionality provided by the client.

  Usage: psmc <command> [options]

  command     one of: init, sys, ne, shf, na, eth, cus, usr

  Options:
     -v, --version    print version and exit
     -s, --server     specify the ip address and port of the psm server  [localhost:9998]
     -u, --username   specify the username  [admin]
     -p, --password   specify the password  [admin]

The options above for server, username and password can be persisted as enviroment variables and used directly in the command tool. For example

  $ export server=172.27.5.230:9998
  $ psmc init

This will users if they choose, to store in their environment the ip address, username and password of their local psm server so that they dont have to reenter them every tim the client tool is called.

The commands provide information on initial configuration, system information, network element specifics, shelf information for a network element, network alarms, ethernet services, customer information and user (connected clients) information.

Examples

  $ psmc init -s 172.27.5.230:9998 -l		Provides a dump of the base configuration in PSM
  $ psmc eth -h					                Provides help for the options on the <eth> command
  $ psmc ne -s 172.27.5.230:9998 -l			    Provide a list of discovered Network Elements
  $ psmc eth -s 172.27.5.230:9998 -d 3000		Provides detail on the Ethernet Service identified by the 3000 VLAN ID
  $ psmc eth -s 172.27.5.230:9998 -a		Provides a list of services that are alarmed

Before running the examples you should ensure that the user you authenticate with has administration privleges.

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

Release History

(Nothing yet)

License

Copyright (c) 2013 Damian ONeill
Licensed under the MIT license.