0 Members and 1 Guest are viewing this topic.
[root@nowosci /]# quota -u testclient Ograniczenia dyskowe user testclient (uid 7798): System plików bloki mi?kki twardy pob?. pliki mi?kki twardy pob?. /dev/root 100256 51200000 51200000 34 0 0
exec("ionice -c2 -n7 du -s {$path}", $out); $os = preg_replace("/s+/", ":", $out[0]); $t = str_replace(":{$path}", "", $os);
I will use your 'ionice -c2 -n7' code.For quota, it's not easy because need overhaul the code related to diskuse.
Look like certain codes unfinished by Ligesh. So, need more time to investigate dirsize codes.
exec("quota -u testclient | tail -1 | awk '{print $2}'", $out); $os = preg_replace("/s+/", ":", $out[0]); $t = str_replace(":{$user}", "", $os);
I will use your 'ionice -c2 -n7' code.
Page created in 0.041 seconds with 21 queries.