(SIGAR-199) add arp_list Erlang binding

This commit is contained in:
Doug MacEachern committed 2010-02-01 20:45:49 -08:00
1 parent 8eb87135e4
commit 5e6ec3987e
3 files changed
+48

No files matched your search

+4
View File
@@ -12,6 +12,7 @@
net_route_list/1,
file_system_list/1,
cpu_info_list/1,
arp_list/1,
who_list/1]).
-define(NETCONN_CLIENT, 0x01).
@@ -51,6 +52,9 @@ file_system_list({sigar, S}) ->
cpu_info_list({sigar, S}) ->
do_command(S, ?CPU_INFO_LIST).
arp_list({sigar, S}) ->
do_command(S, ?ARP_LIST).
who_list({sigar, S}) ->
do_command(S, ?WHO_LIST).