• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

giampaolo / psutil / 1928
93%

Build:
DEFAULT BRANCH: master
Ran 16 May 2017 11:50AM UTC
Jobs 1
Files 4
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1928

push

travis-ci

giampaolo
Fix socket to PID translation on FreeBSD. (#1070)

This file was derived from FreeBSD usr.bin/sockstat/sockstat.c. The
logic of socket to PID translation was copied incorrectly. The hash,
that sockstat(1) utility has, is completely internal feature, it isn't
part of FreeBSD API, it is just to speed things up. So, to use this
hash one actually needs to create it: declare array of buckets, populate
it with sockets. In the freebsd_socks.c this wasn't done. This fix
doesn't create the hash, instead it removes remnants of hashing that was
there in sockstat.c. It makes code more simple, but of course slower than
original sockstat(1) in case if machine is running zillions of sockets. I
decided to go this way simply because I am low on time to invest into
psutil, and also because better first provide correct and simple
implementation and then improve it, rather than jump for complexity.

2027 of 2144 relevant lines covered (94.54%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1928.2 16 May 2017 11:50AM UTC 0
94.54
Travis Job 1928.2
Source Files on build 1928
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1928
  • 5b646386 on github
  • Prev Build on master (#1927)
  • Next Build on master (#1929)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc