Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

temporary fix

  • Loading branch information...
commit 36aa3c76727f17c265946c06bc340add33449b70 1 parent cafeeac
@contra contra authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 bin/top
View
5 bin/top
@@ -1,12 +1,13 @@
#!/usr/bin/env node
var exec = require('child_process').exec;
-var cmd = "ps aux | awk '/chroot_runner/ && !/awk/ {print $3,$4,$2,$5,$6,$10,$13}' | sort -r | head -n 20";
+//$13 should be name?
+var cmd = "ps aux | awk '/chroot_runner/ && !/awk/ {print $3,$4,$2,$5,$6,$10,$8}' | sort -r | head -n 35";
require('colors');
var top = function() {
- console.log('cpu\tmem\tvsz\trss\tpid\ttime\tapp'.magenta.bold);
+ console.log('cpu\tmem\tvsz\trss\tpid\ttime\tdate'.magenta.bold);
exec(cmd, function(err, stdout) {
var data = stdout.split('\n');
Please sign in to comment.
Something went wrong with that request. Please try again.