- CheckMates
- :
- Products
- :
- Quantum
- :
- Security Gateways
- :
- Re: cpview -t <timestamp> no longer working since ...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
cpview -t <timestamp> no longer working since upgrading to R80.30 from R77.30
Has anyone else had any difficulties using cpview -t <timestamp>?
With R77.30 we could issue cpview -t 30.0.2019 10:00:00 for example and it would show me the historical cpview data starting that the time and date issued.
Since upgrading to R80.30 this no longer works and just displaying the help output. I can issue cpview -t and it will go to the oldest date and I have to scroll through to get to the date I want. Can be quite cumbersome.
Thanks
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey
CPView had a major uplift in R80.30, and as part of it we removed old problematic flags
You can still jump to specific timestamp inside 'cpview -t', just press t and enter a timestamp
This way you don't need to exit CPView every time you want to jump to new timestamp
This functionality wasn't changed since R77
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On R77.30 jumbo 292:
Usage: cpview [ [-t [<timestamp>]] | [-c <conf_file>] | [-p] ] | [-b [-t <sec> [-i <count>] [-j] [-l <filesize>] ] | [-s]] | [history [on] | [off] | [stat]]
-t Show history content. Show oldest available content, or from a given <timestamp>
<timestamp> format: [Jan..Dec] [01..31] [4-digit Year] [hh:mm:ss]
-c Loads configuration from <conf_file>
-p Prints all cpview data
-b Print batch statistics data
-t In the background, data is dumped into logs. Time interval is <sec> seconds before the new dump info is generated. The value of <sec> must be greater than 30. The log is saved to var/log/cpview
-i Limit dump info to <count> times
-j Compresses the generated logs after you run cpview -b -s to stop the instance
-l Change log file size limit to <filesize>MB (default: 1024MB)
-s Stops "cpview -b" instance that runs in the background
history Controls the history daemon
on Starts the history daemon
off Stops the history daemon
stat Check whether history daemon is activated
export Export the history database
This is on R80.30 (no jumbo)
CPView:
-h [ --help ] Display this help and exit
-t [ --history ] History mode
-s [ --services ] arg on - Turn on CPView Services
off - Turn off CPView Services
stat - Show stat
export - Export the DB
Just to be sure I also checked a R80.20 take 91:
Usage: cpview [ [-t [<timestamp>]] | [-c <conf_file>] | [-p] ] | [-b [-t <sec> [-i <count>] [-j] [-l <filesize>] ] | [-s]] | [history [on] | [off] | [stat]]
-t Show history content. Show oldest available content, or from a given <timestamp>
<timestamp> format: [Jan..Dec] [01..31] [4-digit Year] [hh:mm:ss]
-c Loads configuration from <conf_file>
-p Prints all cpview data
-b Print batch statistics data
-t Show history content. Show oldest available content, or from a given <timestamp>
-i Limit dump info to <count> times
-j Compresses the generated logs after you run cpview -b -s to stop the instance
-l Change log file size limit to <filesize>MB (default: 1024MB)
-s Stops "cpview -b" instance that runs in the background
history Controls the history daemon
on Starts the history daemon
off Stops the history daemon
stat Check whether history daemon is activated
export Export the history database
Looks like R80.30 lost some functionality, jumbo 19 also shows the minimal version like shown above, I don't have a R80.30 with jumbo 50 yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey
CPView had a major uplift in R80.30, and as part of it we removed old problematic flags
You can still jump to specific timestamp inside 'cpview -t', just press t and enter a timestamp
This way you don't need to exit CPView every time you want to jump to new timestamp
This functionality wasn't changed since R77
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Adam, has saved me a lot of time having to scroll through. All we need now is someone to update the cpview guide 🙂
Thanks again.