Slides attached below, Q&A is below.
Please post a comment on the post before 31 August 2021 to be entered in a drawing for an Amazon Gift Card!
CPview and DiagnosticsView SK articles
What does CPview run on?
It is supported on any (virtual) appliance that runs regular Gaia, including VSX and Maestro. VSX is supported from R80.10 and you can get historical data starting with R80.40.
When CPview will be available for Embedded Gaia?
Unfortunately no plans currently exist to integrate it in the near future, however it is planned.
Will CPview show the active blades on the management/log servers?
Not currently, though perhaps as part of a planned REST API it will be possible. Some of the data can be obtained via SNMP.
When will be CPview available on graphical interface (Gaia gui)?
Currently, the existing solution is to use DiagnosticsView to visualize the data, which requires taking a cpinfo from the relevant gateway. You can also use the community-provided CPviewer solution. The CPview database is a SQLite database, which can be visualized with a number of third party tools.
Can i save the output of CPview command into file like was available in previous versions (R80.20 and prior)?
We now have historical data saved on the device, which can be exported as a SQLite 3 database. Please use that instead.
Is it dangerous to use cpview in VSX advanced mode?
Not all statistics are collected in VSX mode as there may be a performance impact in doing so. It is recommended only to activate statistics (e.g. in Advanced > VSX > VSs) when troubleshooting a specific issue.
How come when you go to Network > Top-Connections to get Top Talker information, I don't get any info?
R80.20 and above have a different SecureXL implementation, which impacted the availability of this feature until it was added to recent JHF releases. Also, this feature requires specific steps to enable. Refer to sk167903 for details. We do plan to simplify this in the future.
How long does CPView keep data in historical mode?
1 month
Can SNMP provide all the information shown in CPview db?
Not currently. If there is something you'd like to see via SNMP, let us know!
Can you invoke a command to get to a specific area of CPview versus navigating to the correct submenu?
We will consider the suggestion, right now you can only navigate on CPView using mouse or keyboard.
What is the command for specific time window data on cpview?
cpview -t
Which version you are using for session?
Most of the features/functionality are relevant for all R8x versions. Some features require being on a specific version/JHF as noted.
In a Maestro environment are counters aggregated for all gateways or only returned for the SMO?
Only SMO for now.
Can we add via conf file parameters to be collected in the historical database?
Not at the moment, but this is planned for future releases.
How is the throughput under overview calculated?
There are 2 measurements: packets per second (average of amount of packets per second) and megabytes / bits per second.
What’s the difference between the throughout and the RX/TX value under network tab?
RX / TX only shows received / sent data (not counting packet headers, etc) while the general throughput is for all the overall traffic.
When you look information on cpview's history you cannot see the same information you can see in real time, for example info about the connections they're consuming highest cpu. Is this feature included in newer versions (R81 and above)?
Not all data available in realtime is collected in a historical fashion. We do plan to offer the ability to collect additional data in the future.
Any plans of enabling the DiagnosticsView to query the active database on the devices? Possible integration with SmartConsole and/or replacement of SmartView Monitor?
This is on the roadmap.
Can the connection table be also saved/exported/viewed?
No, and it would require a fairly significant amount of storage to do this on a busy gateway. However, you can query the connections table via the CLI using: fw tab -t connections -u
CPview shows I have 16 cpus, but I'm only using 4. Is there any way to tell it I only have 4 CPUs licensed?
Not currently.
How will the CPview API data differ from SNMP data?
The API is still on development so it is still early to answer this question, however the information source should be the same, the format and UX will be of course completely different.
Is there any performance concerns leaving cpview open for an extended period of time (hours)?
Yes, it will keep the data flow open and may cause performance hiccups.
Are there plans to phase out SNMP in favor of API?
Not planned currently.
CPview and Monitoring Blade are similar?
They have some common ground but CPView has a more in depth data compared to the monitoring data, which is more summarized.
Where is the database for cpview actually located?
There are multiple paths, the file is easily searchable using a 'find' command - CPViewDB.dat or cpview_services.dat. You can also easily get an export of the current database via the command cpview -s export.
When will the REST API Support be available?
Planned for R81.20
As long as I know Monitoring Blade consumes some resources of the gateway. Can I use CPVIEW to do the same Monitoring but with less CPU impact?
Generally, yes.
Is it possible to save samples to the CPView history more frequently than once a minute? At least when a troubleshooting in a gateway is in progress. live answered
Can you do whois/dig/traceroute port scanning from CPVIEW?
No, that is outside the purview of CPview.
If i run cpview without any VS flags, would I be able to receive performance data for the gateway for sizing purposes?
Yes, for the overall gateway. Not for specific VS.
When executed on the gateway, what is the core affinity of cpview?
It will be the same as the shell.
Is cpview a single or a multi threaded application?
Single threaded.
Is it possible to replace service port names under Top-Connections and only show protocol and port number instead of service port names?
Not currently, however the names come from /etc/services.
Can you touch on data and usage for cpview (historical) versus data from running cpsizeme?
cpsizeme gathers slightly more sizing details over a period of time, whereas CPview will give you a snapshot as the system exists currently.
Has CPU Profiler been deprecated in cpview in R80.40?
In R80.40, you have the CPU Spike Detective, available from JHF 69. See sk166454.
There are a number of features, such as the sub topics under the advanced tab in cpview, will there be a discussion on what they mean and how to use them?
A more detailed session is in the works. If there are specific items you wish to see, please leave them as a comment to this post!