shell@flo:/ $ dumpsys procstats -h
Process stats (procstats) dump options:
[--checkin|-c|--csv] [--csv-screen] [--csv-proc] [--csv-mem]
[--details] [--full-details] [--current] [--hours N] [--last N]
[--max N] --active] [--commit] [--reset] [--clear] [--write] [-h]
--checkin: perform a checkin: print and delete old committed states.
-c: print only state in checkin format.
--csv: output data suitable for putting in a spreadsheet.
--csv-screen: on, off.
--csv-mem: norm, mod, low, crit.
--csv-proc: pers, top, fore, vis, precept, backup,
service, home, prev, cached
--details: dump per-package details, not just summary.
--full-details: dump all timing and active state details.
--current: only dump current state.
--hours: aggregate over about N last hours.
--last: only show the last committed stats at index N (starting at 1).
--max: for -a, max num of historical batches to print.
--active: only show currently active processes/services.
--commit: commit current stats to disk and reset to start new stats.
--reset: reset current stats, without committing.
--clear: clear all stats; does both --reset and deletes old stats.
--write: write current in-memory stats to disk.
--read: replace current stats with last-written stats.
--start-testing: clear all stats and starting high frequency pss sampling.
--stop-testing: stop high frequency pss sampling.
-a: print everything.
-h: print this help text.
<
package.name>: optional name of package to filter output by.