You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cvm/frontend/test.php

19 lines
424 B
PHP

<?php
$_CVM = true;
require("includes/include.base.php");
/*$ssh = new SshConnector();
$ssh->host = "cvm-vz.cryto.net";
$ssh->key = "/etc/cvm/key";
$ssh->pubkey = "/etc/cvm/key.pub";
var_dump($ssh->RunCommand("df -h", true));*/
$settings['master_privkey'] = "/etc/cvm/key";
$settings['master_pubkey'] = "/etc/cvm/key.pub";
$sNode = new Node(1);
var_dump($sNode->sDiskFree, $sNode->sDiskUsed, $sNode->sRealHostname);
?>