Bug 1496156
| Summary: | Remove dependency on net-tools | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | James Hogarth <james.hogarth> |
| Component: | systemtap | Assignee: | Jafeer Uddin <juddin> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 28 | CC: | brolley, dsmith, fche, jistone, juddin, lberk, mjw, scox, wcohen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-05-30 13:09:45 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1496100 | ||
|
Description
James Hogarth
2017-09-26 14:52:31 UTC
We use 'netstat -tn' to enumerate current connections, so as to help identify some likely-unused tcp port numbers. What's the new world order method to do that? This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'. iproute2 contains ss, which seems to act almost exactly like netstat.
So the usage of netstat -atn | awk '{print $4}' can probably simply be replaced by ss -atn | awk '{print $4}'
commit 436ddc6f40596fd81ae9fc8c4ed6139b656b895b removes dependency on net-tools |