Skip to content

Commit 1b292a9

Browse files
committed
Change xps back to ps so it doesn't cause an error
1 parent ff46250 commit 1b292a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

php/plugins/processes.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public function list(): string
1010
{
1111
elog(__METHOD__);
1212

13-
$cmd = "xps -eo rss:10,vsz:10,%cpu:5,cmd --sort=rss | grep -v \"^\s\+0\" | cut -c -79";
13+
$cmd = "ps -eo rss:10,vsz:10,%cpu:5,cmd --sort=rss | grep -v \"^\s\+0\" | cut -c -79";
1414
$output = shell_exec($cmd);
1515

1616
if ($output === null || $output === false) {

0 commit comments

Comments
 (0)