2021.01.15 08:26:11.003616 [uid:0,gid:0,pid:4403] write (17666,390,951582): OK <0.000006>
```
The last number on each line is the time (in seconds) current operation takes. You can use this to know information of every operation, or try `juicefs profile /jfs` to monitor aggregated statistics. Please run `./juicefs profile -h` or refer to [here](operations_profiling.md) to learn more about this subcommand.
The last number on each line is the time (in seconds) current operation takes. You can use this to know information of every operation, or try `juicefs profile /jfs` to monitor aggregated statistics. Please run `juicefs profile -h` or refer to [here](operations_profiling.md) to learn more about this subcommand.
@@ -18,17 +18,17 @@ By executing the following command you can watch real time operations under the
$ juicefs profile MOUNTPOINT
```
The result is sorted in a descending order by number.
> **Tip**: The result is sorted in a descending order by total time.
### Replay Mode
Running the profile command on an existing log file enables the **replay mode**:
Running the `profile` command on an existing log file enables the **replay mode**:
```
```bash
$ juicefs profile LOGFILE
```
When debugging or analyzing perfomance issues, it is usually more practical to record access log first and then replay it(multiple times). For example:
When debugging or analyzing perfomance issues, it is usually more practical to record access log first and then replay it(multiple times). For example: