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:
parent
7c1dd97513
commit
b334021836
5 changed files with 73 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue