Skip to content

Conversation

@alexeychirkov
Copy link

dfx canister status command output has the following format:

➜  weather_oracle git:(master) ✗ dfx canister status weather_oracle
Canister status call result for weather_oracle.
Status: Running
Controller: rwlgt-iiaaa-aaaaa-aaaaa-cai
Memory allocation: 0
Compute allocation: 0
Freezing threshold: 2_592_000
Memory Size: Nat(404999)
Balance: 4_000_000_000_000 Cycles
Module hash: 0xd52f6f15691fd9f2db3ec756d1faa1209d4590bfa1b18d734a765c313e054966

So we should search for different string patterns.

`dfx canister status` command output has the following format:

```
➜  weather_oracle git:(master) ✗ dfx canister status weather_oracle
Canister status call result for weather_oracle.
Status: Running
Controller: rwlgt-iiaaa-aaaaa-aaaaa-cai
Memory allocation: 0
Compute allocation: 0
Freezing threshold: 2_592_000
Memory Size: Nat(404999)
Balance: 4_000_000_000_000 Cycles
Module hash: 0xd52f6f15691fd9f2db3ec756d1faa1209d4590bfa1b18d734a765c313e054966
```

So we should search for different string patterns.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants