Open SonGokussj4 opened 2 years ago
Thank you for your attention and use, it may be that there are many files, so it takes a long time to run.
@SonGokussj4 Hi! my friend. Have you solved your problem?
It behaves... Interestingly.
~
, type diskusage
, it displays nothing and it's finished right away~/GIT
where my projects are and type diskusage
, it correctly displays all files/folders as it shouldI'm not sure what's happening but I'm missing some error/exception/logging management that tells me where is the problem, why it didn't even start to gather info.
Oh and when it ends, it returns classical 1
, so no error code.
Try using sudo diskage
It works with sudo.
But that shouldn't be the way it works. If I needed to do that for testing purposes, that's ok. But this kind of program should, even partly, without sudo.
I've downloaded the tar, unpacked and moved the executable (Rocky Linux 8.6) into my ~/bin folder. When I run it anywhere, nothing happens (diskusage -h works) unless I go to ~/bin folder and run it there.
If I want to check diskusage of
/my/interesting/path
, I would need to copy this file into that path and then run it there.