Skip to content

Commit

Permalink
Update README example to include timestamp
Browse files Browse the repository at this point in the history
Carre does include data point timestamps to make later filtering and
displaying easier. These data points were missing from the example in
the README.md as the example was taken before the feature was developed.
  • Loading branch information
lynxplay committed Mar 30, 2021
1 parent 8913160 commit 5945a93
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,17 @@ The format parameter specifies in which format the output is printed. As of righ

```shell
carre --container my_great_container
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar application.jar","PID":"9809","RSS":"130072","START":"22:20","STAT":"Ssl","TIME":"0:04","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar application.jar","PID":"9809","RSS":"130072","START":"22:20","STAT":"Ssl","TIME":"0:04","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar application.jar","PID":"9809","RSS":"130072","START":"22:20","STAT":"Ssl","TIME":"0:04","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar application.jar","PID":"9809","RSS":"130072","START":"22:20","STAT":"Ssl","TIME":"0:04","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar application.jar","PID":"9809","RSS":"130072","START":"22:20","STAT":"Ssl","TIME":"0:04","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar application.jar","PID":"9809","RSS":"130072","START":"22:20","STAT":"Ssl","TIME":"0:04","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar application.jar","PID":"9809","RSS":"130072","START":"22:20","STAT":"Ssl","TIME":"0:04","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar application.jar","PID":"9809","RSS":"130072","START":"22:20","STAT":"Ssl","TIME":"0:04","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar application.jar","PID":"9809","RSS":"130072","START":"22:20","STAT":"Ssl","TIME":"0:04","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar application.jar","PID":"9809","RSS":"130072","START":"22:20","STAT":"Ssl","TIME":"0:04","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar application.jar","PID":"9809","RSS":"130072","START":"22:20","STAT":"Ssl","TIME":"0:04","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar application.jar","PID":"9809","RSS":"130072","START":"22:20","STAT":"Ssl","TIME":"0:04","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar quarkus-run.jar","PID":"9809","RSS":"130072","START":"Mar29","STAT":"Ssl","TIME":"0:06","TIMESTAMP":"2021-03-30 02:04:39.4060455 +0200 CEST m=+0.517411801","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar quarkus-run.jar","PID":"9809","RSS":"130072","START":"Mar29","STAT":"Ssl","TIME":"0:06","TIMESTAMP":"2021-03-30 02:04:39.9075679 +0200 CEST m=+1.018934101","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar quarkus-run.jar","PID":"9809","RSS":"130072","START":"Mar29","STAT":"Ssl","TIME":"0:06","TIMESTAMP":"2021-03-30 02:04:40.4162938 +0200 CEST m=+1.527660401","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar quarkus-run.jar","PID":"9809","RSS":"130072","START":"Mar29","STAT":"Ssl","TIME":"0:06","TIMESTAMP":"2021-03-30 02:04:40.9075311 +0200 CEST m=+2.018897201","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar quarkus-run.jar","PID":"9809","RSS":"130072","START":"Mar29","STAT":"Ssl","TIME":"0:06","TIMESTAMP":"2021-03-30 02:04:41.4087445 +0200 CEST m=+2.520110701","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar quarkus-run.jar","PID":"9809","RSS":"130072","START":"Mar29","STAT":"Ssl","TIME":"0:06","TIMESTAMP":"2021-03-30 02:04:41.9082418 +0200 CEST m=+3.019608001","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar quarkus-run.jar","PID":"9809","RSS":"130072","START":"Mar29","STAT":"Ssl","TIME":"0:06","TIMESTAMP":"2021-03-30 02:04:42.4036635 +0200 CEST m=+3.515029901","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar quarkus-run.jar","PID":"9809","RSS":"130072","START":"Mar29","STAT":"Ssl","TIME":"0:06","TIMESTAMP":"2021-03-30 02:04:42.9070597 +0200 CEST m=+4.018426101","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar quarkus-run.jar","PID":"9809","RSS":"130072","START":"Mar29","STAT":"Ssl","TIME":"0:06","TIMESTAMP":"2021-03-30 02:04:43.4165144 +0200 CEST m=+4.527880701","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar quarkus-run.jar","PID":"9809","RSS":"130072","START":"Mar29","STAT":"Ssl","TIME":"0:06","TIMESTAMP":"2021-03-30 02:04:43.9088428 +0200 CEST m=+5.020209001","TTY":"?","USER":"root","VSZ":"19894616"}
{"%CPU":"0.1","%MEM":"0.2","COMMAND":"java -jar quarkus-run.jar","PID":"9809","RSS":"130072","START":"Mar29","STAT":"Ssl","TIME":"0:06","TIMESTAMP":"2021-03-30 02:04:44.4091147 +0200 CEST m=+5.520481001","TTY":"?","USER":"root","VSZ":"19894616"}
```


Expand Down

0 comments on commit 5945a93

Please sign in to comment.