1%% 2%% %CopyrightBegin% 3%% 4%% Copyright Ericsson AB 2002-2016. All Rights Reserved. 5%% 6%% Licensed under the Apache License, Version 2.0 (the "License"); 7%% you may not use this file except in compliance with the License. 8%% You may obtain a copy of the License at 9%% 10%% http://www.apache.org/licenses/LICENSE-2.0 11%% 12%% Unless required by applicable law or agreed to in writing, software 13%% distributed under the License is distributed on an "AS IS" BASIS, 14%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15%% See the License for the specific language governing permissions and 16%% limitations under the License. 17%% 18%% %CopyrightEnd% 19%% 20-define(SYSFORM, 21 " ~-72w~10s~n" 22 " Load: cpu ~8w Memory: total ~8w binary ~8w~n" 23 " procs~8w processes~8w code ~8w~n" 24 " runq ~8w atom ~8w ets ~8w~n"). 25 26-record(opts, {node=node(), port = 8415, accum = false, intv = 5000, lines = 10, 27 width = 700, height = 340, sort = runtime, tracing = on, 28 %% Other state information 29 out_mod=etop_txt, out_proc, server, host, tracer, store, 30 accum_tab, remote}). 31