(SIGAR-199) add arp_list Erlang binding
This commit is contained in:
1 parent
8eb87135e4
commit
5e6ec3987e
3 files changed
+48
No files matched your search
@@ -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).
|
||||
|
||||
|
||||
Reference in new issue
Block a user