Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> devel >> golang-github-containers-psgo-dev
nabia  ] [  nabia-updates  ] [  aramo  ]
[ 原始碼: golang-github-containers-psgo  ]

套件: golang-github-containers-psgo-dev (1.4.0-1)

ps(1) AIX-format compatible Golang library

Psgo is a ps(1) AIX-format compatible golang library extended with various descriptors useful for displaying container-related data.

The idea behind the library is to provide an easy to use way of extracting process-related data, just as ps(1) does. The problem when using ps(1) is that the ps format strings split columns with whitespaces, making the output nearly impossible to parse. It also adds some jitter as we have to fork and execute ps either in the container or filter the output afterwards, further limiting applicability.

This library aims to make things a bit more comfortable, especially for container runtimes, as the API allows to join the mount namespace of a given process and will parse /proc and /dev/ from there.

其他與 golang-github-containers-psgo-dev 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 golang-github-containers-psgo-dev

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 20.8 kB119 kB [文件列表]