I have a Solaris box that is blowing up right now because a disk is very close to filling up. I need to know what subdirectory on that disk is hogging up the space, but Solaris doesn't like
du -s --si *. What do I do?
du -s command should run under Solaris as well as any decent unix compliant OS. Whereas
si or humanly readable output (in 1000s not 1024s) is an option under gnu version of this command, which comes on many, if not all Linux distributions.
du -s command should work. If it is not working, you need to provide any errors you are getting. If you think it is hanging, taking too much time, you might have too many files in the directory and its subdirectories and the code is taking time to collect all the data necessary. It is not really an error.