# Managing cycles in different projects and canisters

**URL:** <https://forum.dfinity.org/t/managing-cycles-in-different-projects-and-canisters/15884>\
**Category:** Developers\
**Tags:** Functional-Programming\
**Created:** [October 13, 2022, 10:23am UTC](https://forum.dfinity.org/t/managing-cycles-in-different-projects-and-canisters/15884 "2022-10-13T10:23:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mindfulanon](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/mindfulanon/32/26449_2.png) [@mindfulanon](https://forum.dfinity.org/u/mindfulanon)\
**Post date:** [October 13, 2022, 10:23am UTC](https://forum.dfinity.org/t/managing-cycles-in-different-projects-and-canisters/15884/1 "2022-10-13T10:23:33Z")

</div>

Are there ways to see how many cycles are in which projects and canisters?

I have always taken down the canister when I started a new project, this worked well and I always got my cycles back.

```auto
 dfx canister --network ic stop <canister id>
 dfx canister --network ic delete <canister id>

```

I did it everywhere but when i do

`dfx wallet --network ic balance`

I only see 3T cycles and i think i have lost some cycles somewhere. Where can I check this? Is there some list or command?

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [October 13, 2022, 10:59am UTC](https://forum.dfinity.org/t/managing-cycles-in-different-projects-and-canisters/15884/2 "2022-10-13T10:59:04Z")

</div>

To see how much cycles are in a canister you can do `dfx canister --network ic status <canister id>`. You can do that for all the canisters you control.

The biggest drain on cycles at the beginning is probably the creation of new canisters: Just creating a canister costs 0.1T cycles, and dfx by default uses 4T cycles to create a canister (therefore the canister ends up with 3.9T cycles after creation). If you want to create canisters with less cycles, you can use the `--with-cycles` flag when creating the canisters.

---

<div class="post-metadata">

**Author:** ![mindfulanon](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/mindfulanon/32/26449_2.png) [@mindfulanon](https://forum.dfinity.org/u/mindfulanon)\
**Post date:** [October 15, 2022, 11:45am UTC](https://forum.dfinity.org/t/managing-cycles-in-different-projects-and-canisters/15884/3 "2022-10-15T11:45:37Z")

</div>

Thank you!

Where can I see all my canisters that are deployed?

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [October 17, 2022, 7:23am UTC](https://forum.dfinity.org/t/managing-cycles-in-different-projects-and-canisters/15884/4 "2022-10-17T07:23:27Z")

</div>

There is no central registry of deployed canisters. But in your project (just next to `dfx.json` there should be a file called `canister_ids.json` that says which canister in your project is deployed under which canister id. You can also use something like [icscan.io](http://icscan.io) which will show some of the canisters your wallet created if you search for your wallet’s id. You can figure out your wallet id with `dfx identity --network ic get-wallet`.

---

<div class="post-metadata">

**Author:** ![mindfulanon](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/mindfulanon/32/26449_2.png) [@mindfulanon](https://forum.dfinity.org/u/mindfulanon)\
**Post date:** [October 19, 2022, 1:25pm UTC](https://forum.dfinity.org/t/managing-cycles-in-different-projects-and-canisters/15884/5 "2022-10-19T13:25:11Z")

</div>

I appreciate the answer
