diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2017-02-04 21:46:29 -0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-04 21:46:29 -0200 |
commit | aa813c756144fa4cf6b57439e9f02859fbf0d81d (patch) | |
tree | 69c16bb1673a2708d4120d18b5d090755f7f251f | |
parent | 6141edc74b769ce70acdd5f28d8bb38b56348467 (diff) | |
parent | 3f6d1262c04135e909fb11edc983e6f8a726259c (diff) |
Merge pull request #593 from kamyarrasta/issue/502sessionid
Issue #502 update Session ID column
-rw-r--r-- | darwin/Platform.c | 4 | ||||
-rw-r--r-- | freebsd/FreeBSDProcess.c | 4 | ||||
-rw-r--r-- | htop.1.in | 2 | ||||
-rw-r--r-- | linux/LinuxProcess.c | 4 | ||||
-rw-r--r-- | unsupported/Platform.c | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/darwin/Platform.c b/darwin/Platform.c index 29934899..1dce8b67 100644 --- a/darwin/Platform.c +++ b/darwin/Platform.c @@ -78,7 +78,7 @@ ProcessFieldData Process_fields[] = { [STATE] = { .name = "STATE", .title = "S ", .description = "Process state (S sleeping, R running, D disk, Z zombie, T traced, W paging)", .flags = 0, }, [PPID] = { .name = "PPID", .title = " PPID ", .description = "Parent process ID", .flags = 0, }, [PGRP] = { .name = "PGRP", .title = " PGRP ", .description = "Process group ID", .flags = 0, }, - [SESSION] = { .name = "SESSION", .title = " SESN ", .description = "Process's session ID", .flags = 0, }, + [SESSION] = { .name = "SESSION", .title = " SID ", .description = "Process's session ID", .flags = 0, }, [TTY_NR] = { .name = "TTY_NR", .title = " TTY ", .description = "Controlling terminal", .flags = 0, }, [TPGID] = { .name = "TPGID", .title = " TPGID ", .description = "Process ID of the fg process group of the controlling terminal", .flags = 0, }, [MINFLT] = { .name = "MINFLT", .title = " MINFLT ", .description = "Number of minor faults which have not required loading a memory page from disk", .flags = 0, }, @@ -166,7 +166,7 @@ ProcessPidColumn Process_pidColumns[] = { { .id = TPGID, .label = "TPGID" }, { .id = TGID, .label = "TGID" }, { .id = PGRP, .label = "PGRP" }, - { .id = SESSION, .label = "SESN" }, + { .id = SESSION, .label = "SID" }, { .id = 0, .label = NULL }, }; diff --git a/freebsd/FreeBSDProcess.c b/freebsd/FreeBSDProcess.c index 22e00043..851a0ef4 100644 --- a/freebsd/FreeBSDProcess.c +++ b/freebsd/FreeBSDProcess.c @@ -61,7 +61,7 @@ ProcessFieldData Process_fields[] = { [STATE] = { .name = "STATE", .title = "S ", .description = "Process state (S sleeping, R running, D disk, Z zombie, T traced, W paging)", .flags = 0, }, [PPID] = { .name = "PPID", .title = " PPID ", .description = "Parent process ID", .flags = 0, }, [PGRP] = { .name = "PGRP", .title = " PGRP ", .description = "Process group ID", .flags = 0, }, - [SESSION] = { .name = "SESSION", .title = " SESN ", .description = "Process's session ID", .flags = 0, }, + [SESSION] = { .name = "SESSION", .title = " SID ", .description = "Process's session ID", .flags = 0, }, [TTY_NR] = { .name = "TTY_NR", .title = " TTY ", .description = "Controlling terminal", .flags = 0, }, [TPGID] = { .name = "TPGID", .title = " TPGID ", .description = "Process ID of the fg process group of the controlling terminal", .flags = 0, }, [MINFLT] = { .name = "MINFLT", .title = " MINFLT ", .description = "Number of minor faults which have not required loading a memory page from disk", .flags = 0, }, @@ -92,7 +92,7 @@ ProcessPidColumn Process_pidColumns[] = { { .id = TPGID, .label = "TPGID" }, { .id = TGID, .label = "TGID" }, { .id = PGRP, .label = "PGRP" }, - { .id = SESSION, .label = "SESN" }, + { .id = SESSION, .label = "SID" }, { .id = 0, .label = NULL }, }; @@ -217,7 +217,7 @@ The parent process ID. .B PGRP The process's group ID. .TP -.B SESSION (SESN) +.B SESSION (SID) The process's session ID. .TP .B TTY_NR (TTY) diff --git a/linux/LinuxProcess.c b/linux/LinuxProcess.c index d0e9acd2..690e91bf 100644 --- a/linux/LinuxProcess.c +++ b/linux/LinuxProcess.c @@ -144,7 +144,7 @@ ProcessFieldData Process_fields[] = { [STATE] = { .name = "STATE", .title = "S ", .description = "Process state (S sleeping, R running, D disk, Z zombie, T traced, W paging)", .flags = 0, }, [PPID] = { .name = "PPID", .title = " PPID ", .description = "Parent process ID", .flags = 0, }, [PGRP] = { .name = "PGRP", .title = " PGRP ", .description = "Process group ID", .flags = 0, }, - [SESSION] = { .name = "SESSION", .title = " SESN ", .description = "Process's session ID", .flags = 0, }, + [SESSION] = { .name = "SESSION", .title = " SID ", .description = "Process's session ID", .flags = 0, }, [TTY_NR] = { .name = "TTY_NR", .title = "TTY ", .description = "Controlling terminal", .flags = 0, }, [TPGID] = { .name = "TPGID", .title = " TPGID ", .description = "Process ID of the fg process group of the controlling terminal", .flags = 0, }, [FLAGS] = { .name = "FLAGS", .title = NULL, .description = NULL, .flags = 0, }, @@ -227,7 +227,7 @@ ProcessPidColumn Process_pidColumns[] = { { .id = TPGID, .label = "TPGID" }, { .id = TGID, .label = "TGID" }, { .id = PGRP, .label = "PGRP" }, - { .id = SESSION, .label = "SESN" }, + { .id = SESSION, .label = "SID" }, { .id = OOM, .label = "OOM" }, { .id = 0, .label = NULL }, }; diff --git a/unsupported/Platform.c b/unsupported/Platform.c index 0df3ef9f..ba844191 100644 --- a/unsupported/Platform.c +++ b/unsupported/Platform.c @@ -38,7 +38,7 @@ ProcessFieldData Process_fields[] = { [STATE] = { .name = "STATE", .title = "S ", .description = "Process state (S sleeping, R running, D disk, Z zombie, T traced, W paging)", .flags = 0, }, [PPID] = { .name = "PPID", .title = " PPID ", .description = "Parent process ID", .flags = 0, }, [PGRP] = { .name = "PGRP", .title = " PGRP ", .description = "Process group ID", .flags = 0, }, - [SESSION] = { .name = "SESSION", .title = " SESN ", .description = "Process's session ID", .flags = 0, }, + [SESSION] = { .name = "SESSION", .title = " SID ", .description = "Process's session ID", .flags = 0, }, [TTY_NR] = { .name = "TTY_NR", .title = " TTY ", .description = "Controlling terminal", .flags = 0, }, [TPGID] = { .name = "TPGID", .title = " TPGID ", .description = "Process ID of the fg process group of the controlling terminal", .flags = 0, }, [MINFLT] = { .name = "MINFLT", .title = " MINFLT ", .description = "Number of minor faults which have not required loading a memory page from disk", .flags = 0, }, |