mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-11-06 21:07:59 +00:00
ss: show header for --processes/-p
ss by default shows headers for every column but omits it for --processes for no apparent reason. This patch adds the "Process" header. Signed-off-by: Hritik Vijay <hritikxx8@gmail.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
130f549604
commit
5883c6eba5
@ -133,6 +133,7 @@ enum col_id {
|
|||||||
COL_RADDR,
|
COL_RADDR,
|
||||||
COL_RSERV,
|
COL_RSERV,
|
||||||
COL_EXT,
|
COL_EXT,
|
||||||
|
COL_PROC,
|
||||||
COL_MAX
|
COL_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -160,6 +161,7 @@ static struct column columns[] = {
|
|||||||
{ ALIGN_LEFT, "Port", "", 0, 0, 0 },
|
{ ALIGN_LEFT, "Port", "", 0, 0, 0 },
|
||||||
{ ALIGN_RIGHT, "Peer Address:", " ", 0, 0, 0 },
|
{ ALIGN_RIGHT, "Peer Address:", " ", 0, 0, 0 },
|
||||||
{ ALIGN_LEFT, "Port", "", 0, 0, 0 },
|
{ ALIGN_LEFT, "Port", "", 0, 0, 0 },
|
||||||
|
{ ALIGN_LEFT, "Process", "", 0, 0, 0 },
|
||||||
{ ALIGN_LEFT, "", "", 0, 0, 0 },
|
{ ALIGN_LEFT, "", "", 0, 0, 0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user