Open Frames Download Complete PDF Send Feedback Print This Page

Previous

Next

Global top

The global top command shows SGM processor activity in real time. The default output also shows a list of the most processor-intensive processes. In addition to the standard functionality of the Linux top command, global top adds these features for the 61000/41000 Security System:

The global top relies on the user configuration for the local top utility; The global command will use the local SGM configuration file for configuring the output on the remote SGMs

> top [local] [-f [-o filename] [-n niter] | -s <filename> | -h] [global command-flags] [top cmd line args] 

How to manage g_top display

Top uses a configuration file to manage output display; top by default will copy and use this configuration file from the local blade (usually located under ~/.toprc). This file will be copied to all SGMs and will be used when calling top.

To manage g_top display:

  1. Run local top (from shell) and set the desired display view
  2. Save configuration (shift+w)
  3. Run global top

local mode

It is also possible for each blade to display output using its own local configuration file

simply run "top local"

How to send output to a file

At times, it is more convenient to send g_top output to a file, for example when there are more SGMs then the screen can handle. To enable the file mode use the -f flag.

Output file

In file mode the output top will be sent to a file (default: /var/log/gtop.<time>).
Use --o flag to specify a different file to save in.

Number of iterations

By default top will perform one iteration in file mode, use --n to specify a different number

Showing output file

Use top --s <filename> to show the content of file <filename>.

 
Top of Page ©2014 Check Point Software Technologies Ltd. All rights reserved. Download Complete PDF Send Feedback Print