Discover our Clipsal Smart Home packages as seen on the Block

in location

OR

I'm looking for

  • Wholesalers
    • Uncheck All Check All
  • EXPERTISE
    • Expand
    • Expand
    • Expand
    • Uncheck All Check All
  • Switchboard Manufacturers
    • Uncheck All Check All
OR

The best way to see what Clipsal electric products can do for your home is seeing them in action at a Clipsal Display Centre.

Product stock may vary according to location. If you're after a specific product range, please check with your chosen location before visiting.

10 Results
    Load More Load Complete
    Change Location

    How to check if the PowerChute Network Shutdown daemon is running on Unix/Linux systems

    Issue:
    How to check if the PowerChute Network Shutdown daemon is running on Unix/Linux systems?

    Product Line:
    PowerChute Network Shutdown

    Environment:
    Unix/Linux systems

    Cause:
    Informational

    Solution:

    Once the PowerChute Network Shutdown(PCNS) daemon starts, a file named pcns.pid should be created in the directory where the program is installed. Once the PowerChute daemon stops, the pcns.pid file should be gone. This file stores the PowerChute daemon pid (process id).

    Notes :The default installation directory for PowerChute Network Shutdown 2.2.X and higher is /opt/APC/PowerChute/group1 and the default installation directory for  PowerChute Network Shutdown2.1.x and PowerChute Network Shutdown 2.0.x is /bin/PowerChute. Unix are case sensitive.

    To check if the PowerChute daemon is running on Unix/Linux system, you will need to do as follows:

    step 1: get PowerChute daemon pid
    The command "cat" or "more" can be used to display the contents of the file pcns.pid .You can also use vi which is full screen editor to open the pcns.pid file to display the PCNS daemon pid. The command need to be entered is shown below :
    # cat /pcns.pid
    or
    # more /pcns.pid
    or
    # vi /pcns.pid

    Note:where installation directory is the directory that PowerChute is installed.

    The command will display the PowerChute daemon pid on the screen.

    step 2:grep for the PowerChute daemon
    use the following command to grep the PowerChute daemon

    # ps -ef | grep pid
    Note where pid is the PowerChute daemon pid you get in step 1.

    If the PowerChute daemon is running on the system, the command will return something similar to the following:

    root 12728 1 0 14:26:04 pts/3 0:11 /opt/java/jre/bin ../bin/PARISC/green_threads/jre -cp .
    root 13168 3993 1 14:28:59 pts/2 00:00 grep 12728

    Please note that PowerChute is a Java process and only Java related information is returned.

    If the PowerChute daemon is not running or not running normally, the command will only return one line that stands for the grep process itself.
     

    Didn’t find what you were looking for?

    Try Searching Again View Our Categories

    Need further assistance?

    Our Customer Care department provides total customer service solutions for our residential, industrial and commercial applications.

    Get Assistance