rbonghi / jetson_stats

📊 Simple package for monitoring and control your NVIDIA Jetson [Orin, Xavier, Nano, TX] series
https://rnext.it/jetson_stats
GNU Affero General Public License v3.0
2.14k stars 261 forks source link

Can't create swap with jtop #430

Open leonpano2006 opened 1 year ago

leonpano2006 commented 1 year ago

Describe the bug

Swap file create in jtop is not working at all (on ns switch and jetson Xavier nx and agx) (it used to work on older jtop)

To Reproduce

Install latest jtop and goto Mem and create swap file with any size but it is not working

Screenshots

If applicable, add screenshots to help explain your problem.

Expected behavior

Creating swap file and enable swap

Additional context

If needed Ask in GitHub or dm me in discord

Board

Tested on Nintendo switch jp4.4 and jp 4.6.4 + jetson Xavier agx and nx on jp 5.latest

rbonghi commented 9 months ago

Bug in creating a new swap file with a name that already exists.

Jan 08 15:19:21 leonpano-laptop jtop[8827]: [INFO] jtop.service - Activating swap in /swfile Jan 08 15:19:21 leonpano-laptop jtop[8827]: [ERROR] jtop.core.memory - /swfile already exist Jan 08 15:19:22 leonpano-laptop jtop[8827]: [INFO] jtop.service - Activating swap in /swfile Jan 08 15:19:22 leonpano-laptop jtop[8827]: [ERROR] jtop.core.memory - /swfile already exist Jan 08 15:19:24 leonpano-laptop jtop[8827]: [INFO] jtop.service - Activating swap in /swfile Jan 08 15:19:24 leonpano-laptop jtop[8827]: [ERROR] jtop.core.memory - /swfile already exist Jan 08 15:19:24 leonpano-laptop jtop[8827]: [INFO] jtop.service - Activating swap in /swfile Jan 08 15:19:24 leonpano-laptop jtop[8827]: [ERROR] jtop.core.memory - /swfile already exist Jan 08 15:19:25 leonpano-laptop jtop[8827]: [INFO] jtop.service - Activating swap in /swfile