Files
webgui/emhttp/plugins/dynamix/Processes.page
Tom Mortensen f9ec00b488 repo reorg
2023-06-02 12:49:33 -07:00

33 lines
845 B
Plaintext

Menu="UNRAID-OS"
Title="Processes"
Icon="icon-processes"
Tag="cogs"
---
<?PHP
/* Copyright 2005-2023, Lime Technology
* Copyright 2012-2023, Bergware International.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*/
?>
<?if (_var($display,'resize')):?>
<script>
function resize() {
$('pre.up').height(Math.max(window.innerHeight-320,330));
}
$(function() {
resize();
$(window).bind('resize',function(){resize();});
});
</script>
<?endif;?>
<?
echo "<pre class='up'>",shell_exec('ps -aux'),"</pre>";
?>
<input type="button" value="_(Done)_" onclick="done()">