1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

add config item for the stat disk device name

This commit is contained in:
winlin 2014-07-27 16:52:00 +08:00
parent 7c1dd97513
commit b334021836
5 changed files with 73 additions and 11 deletions

View file

@ -943,6 +943,12 @@ public:
* for example, 0 means the eth0 maybe.
*/
virtual int get_stats_network_device_index();
/**
* get the disk stat device name list.
* the device name configed in args of directive.
* @return the disk device name to stat. NULL if not configed.
*/
virtual SrsConfDirective* get_stats_disk_device();
};
namespace _srs_internal