how to inquiry size of folder on qnx4.24

hello,eveybaby

I want to know how to inquiry size of folder , and how to inquiry size of disk remain space on qnx4.24

Thanks!

Do mean in code on in a shell?

I am not familiar with QNX 4, but I guess that there are the “du” and “df” tools for the shell.