A convenience module for shelling out with realtime output
Credit: Largely taken from https://www.endpoint.com/blog/2015/01/28/getting-realtime-output-using-python
| package ru.test.bgbilling.kernel.scripts.global; | |
| import ru.bitel.bgbilling.kernel.container.managed.ServerContext; | |
| import ru.bitel.bgbilling.kernel.script.server.dev.GlobalScriptBase; | |
| import ru.bitel.bgbilling.modules.inet.common.bean.InetServ; | |
| import ru.bitel.bgbilling.modules.inet.common.service.InetServService; | |
| import ru.bitel.bgbilling.server.util.ServerUtils; | |
| import ru.bitel.bgbilling.server.util.Setup; | |
| import ru.bitel.common.TimeUtils; | |
| import ru.bitel.common.sql.ConnectionSet; |
| package ru.test.bgbilling.kernel.scripts.global; | |
| import ru.bitel.bgbilling.kernel.container.managed.ServerContext; | |
| import ru.bitel.bgbilling.kernel.script.server.dev.GlobalScriptBase; | |
| import ru.bitel.bgbilling.modules.inet.common.service.InetServService; | |
| import ru.bitel.bgbilling.server.util.ServerUtils; | |
| import ru.bitel.bgbilling.server.util.Setup; | |
| import ru.bitel.common.TimeUtils; | |
| import ru.bitel.common.sql.ConnectionSet; | |
| import ru.test.bgbilling.common.Constants; |
| import bitel.billing.server.contract.bean.*; | |
| import bitel.billing.server.tariff.bean.*; | |
| import bitel.billing.server.script.event.*; | |
| import bitel.billing.server.ipn.bean.*; | |
| import bitel.billing.common.KernelConst; | |
| import java.util.*; | |
| import java.text.*; | |
| import java.math.BigDecimal; | |
| import java.math.RoundingMode; | |
| import bitel.billing.server.util.*; |
A convenience module for shelling out with realtime output
Credit: Largely taken from https://www.endpoint.com/blog/2015/01/28/getting-realtime-output-using-python
You can use ssacli (smart storage administrator command line interface) tool to manage any of supported HP Smart Array Controllers in your Proxmox host without need to reboot your server to access Smart Storage Administrator in BIOS. That means no host downtime when managing your storage.
CLI is not as convenient as GUI interface provided by BIOS or desktop utilities, but still allows you to fully manage your controller, physical disks and logical drives on the fly with no Proxmox host downtime.
ssacli replaces older hpssacli, but shares the same syntax and adds support for newer servers and controllers.
| exten => recordcheck,n,Monitor(wav,${MIXMON_DIR}${YEAR}/${MONTH}/${DAY}/${CALLFILENAME}.${MON_FMT}) | |
| ;exten => recordcheck,n,MixMonitor(${MIXMON_DIR}${YEAR}/${MONTH}/${DAY}/${CALLFILENAME}.${MON_FMT},a${EVAL(${MONITOR_REC_OPTION})}i(LOCAL_MIXMON_ID)${MIXMON_BEEP},${EVAL(${MIXMON_POST})}) | |
| exten => recq,n,Monitor(wav,${MONITOR_FILENAME}.${MON_FMT}) | |
| ;exten => recq,n,MixMonitor(${MONITOR_FILENAME}.${MON_FMT},${MONITOR_OPTIONS}${MIXMON_BEEP},${EVAL(${MIXMON_POST})}) | |
| exten => s,n(startrec),Monitor(wav,${MIXMON_DIR}${YEAR}/${MONTH}/${DAY}/${CALLFILENAME}.${MON_FMT}) |