Skip to content

return stats about amount of currently opened files (related with syscall.NOFILE)

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

moul/openfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d699140 Β· Nov 9, 2022

History

46 Commits
Jul 3, 2020
Nov 9, 2022
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Nov 9, 2020
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Jul 3, 2020
Nov 9, 2020

openfiles

πŸ˜„ openfiles

go.dev reference License GitHub release Docker Metrics Made by Manfred Touron

Go Release GolangCI codecov Go Report Card CodeFactor

Usage

import "moul.io/openfiles"

count, err := openfiles.Count()
fmt.Println(count) // 42

emfile := openfiles.IsTooManyError(err)
fmt.Println(emfile) // true

Install

Using go

$ go get -u moul.io/openfiles

Releases

See https://github.com/moul/openfiles/releases

Contributing

I really welcome contributions. Your input is the most precious material. I'm well aware of that and I thank you in advance. Everyone is encouraged to look at what they can do on their own scale; no effort is too small.

Everything on contribution is sum up here: CONTRIBUTING.md

Contributors ✨

All Contributors

Thanks goes to these wonderful people (emoji key):


Manfred Touron

🚧 πŸ“– ⚠️ πŸ’»

moul-bot

🚧

This project follows the all-contributors specification. Contributions of any kind welcome!

Stargazers over time

Stargazers over time

License

Β© 2020 Manfred Touron

Licensed under the Apache License, Version 2.0 (LICENSE-APACHE) or the MIT license (LICENSE-MIT), at your option. See the COPYRIGHT file for more details.

SPDX-License-Identifier: (Apache-2.0 OR MIT)