GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OpenXPKI::Control(3) User Contributed Perl Documentation OpenXPKI::Control(3)

This is a static helper class that collects some common methods to interact with the OpenXPKI system.

Parameters common to all methods:

filesystem path to the config git repository
set to 1 to surpress any output

All methods are static and return 0 on success, 1 on configuration errors and 2 on system errors.

All Parameters to methods are optional, if no parameters are given the OpenXPKI::Config Layer is intanciated and queried for the needed values.

Start the server.

Parameters:

!!THIS MIGHT BE A SECURITY RISK !! as files might contain private keys or other confidential data!

Stop the server

Parameters:

Check if the server is running

Parameters:

Wait sleep seconds before testing

Reload some parts of the config (sends a HUP to the server pid)

Parameters:

Get a list of all process belonging to this instance

Returns a hash with keys:

Holding the pid of the main server process.
List of running watchdog process. Usually this is only a single pid but can also have more than one. If empty, the watchdog was either disabled or terminated due to too many internal errors.
List of pids of running session workers (connected to the socket). This might also be empty if no process is running.
List of pids of all workers currently handling workflows (contains watchdog and user initiated requests).

Get a list of all running workers with pid, time and info

2025-07-15 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.