Comments (3)
The sample crontab provided by sysstat actually calls the sa2 script at 23:53. This time is just given as an example and can/should be modified by the user. Time 23:53 was taken because it is consistent with the default sampling interval of 10 minutes.
Anyway yes, you can calculate the previous day's stats after midnight to get a full day's worth of data. To tell sa2 to do so, sysstat should be configured with option --enable-yesterday (ie. "./configure --enable-yesterday).
from sysstat.
Ah. It would be neat if --yesterday was a command line argument to sa2 and not just a config param.
I'll close this for now.
from sysstat.
In fact, "--enable-yesterday" configure option only sets the value of the YESTERDAY variable to "--date=yesterday". Without this option, this variable is empty.
This variable is located in the sa2 script. So of course, you can modify it whenever you want, even after having installed sysstat tools.
from sysstat.
Related Issues (20)
- Incorrect Column Titles in "sar" Command Output with the "-rh" HOT 2
- When monitor SSD devices , Is %util accurate? HOT 3
- Using -daystart for finding files to be compressed
- sysstat 404 HOT 1
- Feature Request: add all cores metrics to `sar -u` HOT 2
- Provide release tarballs via github HOT 5
- Is 12.7.x development or new stable? Is odd-even version scheme still in place? HOT 4
- %rrqm and %wrqm values and which drive /proc or /sys metrics are used to calculate these? HOT 1
- Pretty-printing disk stats should use longest name for alignment HOT 4
- Compilation failure after recent change for "Option -V also displays environment contents" HOT 2
- commnad sar -n DEV 2 1 Get a large amount of traffic. Is it a bug? HOT 1
- JFYI: Bunch of gcc13 -fanalyzer warning HOT 3
- [RFE] `sar` should have unique column names HOT 3
- height 4090 ? HOT 2
- Why there is no 12.6.2 source at https://sysstat.github.io/versions.html? HOT 6
- Misleading data may be reported for device-mapper block devices HOT 1
- sar svg graph output for %commit is capped at 100%, even though > 100% values are possible (a.k.a. "overcommit") HOT 1
- FeatureRequest: can we show the memory for pidstat with numa node information
- Can I get Information like pidstat from sar out file? HOT 2
- Why can't iostat provide data io for directories? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sysstat.