herry2038 opened a new pull request, #22040:
URL: https://github.com/apache/doris/pull/22040

   ## Proposed changes
   
   Issue Number: close #xxx
   
   Add feature show frontends disk which can show the disk information of fe 's 
interested dir, such as doris-meta, log, audit-log and temp.
   As a example:
   `
   mysql> show frontends disks;
   
+-----------------------------------------+------------+-------------+-----------+-----------------------------+------------+----------+------+-----------+---------+---------+
   | Name                                    | Host       | EditLogPort | 
DirType   | Dir                         | Filesystem | Capacity | Used | 
Available | UseRate | MountOn |
   
+-----------------------------------------+------------+-------------+-----------+-----------------------------+------------+----------+------+-----------+---------+---------+
   | fe_6a06ffaa_8346_4381_b462_8e33209ca6ec | 172.1.1.1  | 9010        | meta  
    | E:\data\doris\fe/doris-meta |            | 0        | 0    | 8191P     | 
0%      |         |
   | fe_6a06ffaa_8346_4381_b462_8e33209ca6ec | 172.1.1.1  | 9010        | log   
    | E:\data\doris\fe/log        |            | 0        | 0    | 8191P     | 
0%      |         |
   | fe_6a06ffaa_8346_4381_b462_8e33209ca6ec | 172.1.1.1  | 9010        | 
audit-log | E:\data\doris\fe/log        |            | 0        | 0    | 8191P  
   | 0%      |         |
   | fe_6a06ffaa_8346_4381_b462_8e33209ca6ec | 172.1.1.1  | 9010        | temp  
    | E:\data\doris\fe/temp_dir   |            | 0        | 0    | 8191P     | 
0%      |         |
   | fe_fe1d5bd9_d1e5_4ccc_9b03_ca79b95c9941 | 172.1.1.2  | 9010        | meta  
    | /data/doris/fe/doris-meta   | /dev/sdc5  | 366G     | 111G | 236G      | 
33%     | /data   |
   | fe_fe1d5bd9_d1e5_4ccc_9b03_ca79b95c9941 | 172.1.1.2  | 9010        | log   
    | /data/doris/fe/log          | /dev/sdc5  | 366G     | 111G | 236G      | 
33%     | /data   |
   | fe_fe1d5bd9_d1e5_4ccc_9b03_ca79b95c9941 | 172.1.1.2  | 9010        | 
audit-log | /data/doris/fe/log          | /dev/sdc5  | 366G     | 111G | 236G   
   | 33%     | /data   |
   | fe_fe1d5bd9_d1e5_4ccc_9b03_ca79b95c9941 | 172.1.1.2  | 9010        | temp  
    | /data/doris/fe/temp_dir     | /dev/sdc5  | 366G     | 111G | 236G      | 
33%     | /data   |
   
+-----------------------------------------+------------+-------------+-----------+-----------------------------+------------+----------+------+-----------+---------+---------+
   8 rows in set (0.00 sec)
   `
   
   
   ## Further comments
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to