Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for stateFile (0.24 sec)

  1. src/main/webapp/WEB-INF/env/crawler/resources/log4j2.xml

    		</RollingFile>
    		<Rewrite name="AppFile">
    			<AppenderRef ref="AppRollingFile" />
    			<ErrorToWarnRewritePolicy loggers="org.apache.fontbox,org.apache.pdfbox,org.apache.poi" />
    		</Rewrite>
    		<RollingFile name="StatsFile" fileName="${log.file.basedir}/fess-urls.log"
    			filePattern="${log.file.basedir}/fess-urls${backup.date.suffix}-%i.log.gz">
    			<PatternLayout>
    				<Pattern>${stats.log.pattern}</Pattern>
    			</PatternLayout>
    			<Policies>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Feb 20 13:05:30 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. internal/disk/stat_linux.go

    	return readDriveStats(fmt.Sprintf("/sys/dev/block/%v:%v/stat", major, minor))
    }
    
    func readDriveStats(statsFile string) (iostats IOStats, err error) {
    	stats, err := readStat(statsFile)
    	if err != nil {
    		return IOStats{}, err
    	}
    	if len(stats) < 11 {
    		return IOStats{}, fmt.Errorf("found invalid format while reading %v", statsFile)
    	}
    	// refer https://www.kernel.org/doc/Documentation/block/stat.txt
    	iostats = IOStats{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top