From 5e04e5b85d62fd1f0851361abe14e0dcd437a8f1 Mon Sep 17 00:00:00 2001 From: wwwjim Date: Sun, 22 Dec 2019 21:43:37 -0800 Subject: [PATCH] documentation: adds chain sync progress command to troubleshooting --- documentation/en/mining-troubleshooting.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/documentation/en/mining-troubleshooting.md b/documentation/en/mining-troubleshooting.md index 7b969c730..c3195c9f2 100644 --- a/documentation/en/mining-troubleshooting.md +++ b/documentation/en/mining-troubleshooting.md @@ -55,3 +55,11 @@ lotus-bench --sector-size=1024 ``` This process uses a fair amount of GPU, and generally takes ~4 minutes to complete. If you do not see any activity in nvtop from lotus during the entire process, it is likely something is misconfigured with your GPU. + +## Checking Sync Progress + +You can use this command to check how far behind you are on syncing: + +```sh +date -d @$(./lotus chain getblock $(./lotus chain head) | jq .Timestamp) +```