Add load_line variable for OSX.
This commit is contained in:
parent
228639fa50
commit
d413759f4e
@ -316,6 +316,8 @@ std::string load_string( bool use_colors )
|
||||
oss << avg << " ";
|
||||
}
|
||||
}
|
||||
std::string load_line( oss.str() );
|
||||
oss.str( "" );
|
||||
|
||||
#else // Linux
|
||||
std::ifstream loadavg_file( "/proc/loadavg" );
|
||||
|
Loading…
Reference in New Issue
Block a user