New directory. Defines `Libgtop::Names' module with is the Perl interface
1998-10-10 Martin Baulig <martin@home-of-linux.org> * Names: New directory. Defines `Libgtop::Names' module with is the Perl interface of the LibGTop names library.
This commit is contained in:
committed by
Martin Baulig
parent
f3c73befd2
commit
d1f3444da1
@@ -8,9 +8,9 @@ use Libgtop;
|
||||
|
||||
my $server = Libgtop->new;
|
||||
|
||||
print "CPU Usage: ".join (':', $server->cpu)."\n";
|
||||
print "Memory Usage: ".join (':', $server->mem)."\n";
|
||||
print "Swap Usage: ".join (':', $server->swap)."\n";
|
||||
print "CPU Usage: ".join (' ', $server->cpu)."\n";
|
||||
print "Memory Usage: ".join (' ', $server->mem)."\n";
|
||||
print "Swap Usage: ".join (' ', $server->swap)."\n";
|
||||
|
||||
print "Process List: ".join (' ', $server->proclist (0,0))."\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user