# Check if default sysimage is used

**URL:** <https://discourse.julialang.org/t/check-if-default-sysimage-is-used/122152>\
**Category:** General Usage\
**Tags:** question\
**Created:** [November 1, 2024, 8:10pm UTC](https://discourse.julialang.org/t/check-if-default-sysimage-is-used/122152 "2024-11-01T20:10:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [November 1, 2024, 8:10pm UTC](https://discourse.julialang.org/t/check-if-default-sysimage-is-used/122152/1 "2024-11-01T20:10:42Z")

</div>

Is there a way to determine in Julia if the default system image or a custom system image is currently used?

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [November 1, 2024, 9:05pm UTC](https://discourse.julialang.org/t/check-if-default-sysimage-is-used/122152/2 "2024-11-01T21:05:42Z")

</div>

To answer my own question: This command does the job:

```julia
Base.JLOptions().image_file_specified==1

```

If the default system image was used this value is zero.
