autre façon
This commit is contained in:
parent
141a61ff65
commit
2daacdecba
|
@ -10,7 +10,7 @@ if (isset($_REQUEST['phone'])) $phone = $_REQUEST['phone']; else $phone = urldec
|
||||||
$message = "Proposition de ". $phone ." message : ".$link;
|
$message = "Proposition de ". $phone ." message : ".$link;
|
||||||
|
|
||||||
//YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1);
|
//YOU=$(ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1);
|
||||||
$YOU=system("ps auxf --sort=+utime | grep -w ipfs | grep -v -E 'color=auto|grep' | tail -n 1 | cut -d ' ' -f 1'", $retval);
|
$YOU=system("ps u -C ipfs | tail -n 1 | cut -f 1 -d ' '", $retval);
|
||||||
print_r($YOU);
|
print_r($YOU);
|
||||||
print_r($retval);
|
print_r($retval);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue